mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-28 18:01:21 +02:00
testing/alsa-tools: new aport
This commit is contained in:
parent
c90160e441
commit
a16615aa34
44
testing/alsa-tools/APKBUILD
Normal file
44
testing/alsa-tools/APKBUILD
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
||||||
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||||
|
pkgname=alsa-tools
|
||||||
|
pkgver=1.1.7
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Advanced tools for certain sound cards"
|
||||||
|
url="https://www.alsa-project.org"
|
||||||
|
arch="all"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
makedepends="fltk-dev gtk+2.0-dev gtk+3.0-dev alsa-lib-dev bash autoconf automake
|
||||||
|
libtool"
|
||||||
|
options="!check" # No tests
|
||||||
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-gui:_gui"
|
||||||
|
source="ftp://ftp.alsa-project.org/pub/tools/alsa-tools-$pkgver.tar.bz2"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# Remove qlo10k1 package, only works with Qt2/Qt3
|
||||||
|
sed 's/qlo10k1//' -i Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make configure CONFIGURE_ARGS="--prefix=/usr"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
|
cp -r "$pkgdir"/usr/local/* "$pkgdir"/usr/
|
||||||
|
rm -r "$pkgdir"/usr/local
|
||||||
|
}
|
||||||
|
|
||||||
|
_gui() {
|
||||||
|
pkgdesc="$pkgdesc (GUI tools)"
|
||||||
|
|
||||||
|
mkdir -p "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/echomixer "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/envy24control "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/hdajackretask "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/hdspconf "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/hdspmixer "$subpkgdir"/usr/bin
|
||||||
|
mv "$pkgdir"/usr/bin/rmedigicontrol "$subpkgdir"/usr/bin
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="d715fa5b909fb33ffce252b4ae9f027dc7c1a509253d52bda6ecbc5e0a38e7d30ab8486b14114b226424217812a0edf66e7ec11f7674e44c77a14e4dfb16889c alsa-tools-1.1.7.tar.bz2"
|
Loading…
x
Reference in New Issue
Block a user