aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alsa-plugins/APKBUILD
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2017-12-20 10:31:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-12-25 12:03:10 +0000
commitb5160264114be7ce67a4ac59f785cff9bef79533 (patch)
tree1826f7d06330e58ea8d6953e96e598eae225a640 /testing/alsa-plugins/APKBUILD
parente66b22a1aba5433f2257a7c78ba4c3b23238ba40 (diff)
downloadaports-b5160264114be7ce67a4ac59f785cff9bef79533.tar.bz2
aports-b5160264114be7ce67a4ac59f785cff9bef79533.tar.xz
testing/alsa-plugins: Separate a52 plugin, add jack plugin.
Diffstat (limited to 'testing/alsa-plugins/APKBUILD')
-rw-r--r--testing/alsa-plugins/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/testing/alsa-plugins/APKBUILD b/testing/alsa-plugins/APKBUILD
index 4ab0a6ac57..9673adbe52 100644
--- a/testing/alsa-plugins/APKBUILD
+++ b/testing/alsa-plugins/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=alsa-plugins
pkgver=1.1.5
-pkgrel=0
+pkgrel=1
pkgdesc="Alsa Plugins"
url="http://www.alsa-project.org"
arch="all"
license="GPL"
-makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev"
-subpackages="$pkgname-lavcrate $pkgname-pulse"
+makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev jack-dev"
+subpackages="$pkgname-lavcrate $pkgname-pulse $pkgname-a52 $pkgname-jack"
source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
prepare() {
@@ -33,19 +33,29 @@ check(){
lavcrate() {
pkgdesc="FFmpeg samplerate conversion plugins for alsa"
- depends="alsa-lib ffmpeg-libs"
mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/lib/alsa-lib/*lavcrate* "$subpkgdir"/usr/lib/alsa-lib/
}
pulse() {
pkgdesc="Pulseaudio support plugins for alsa-only applications"
- depends="alsa-lib pulseaudio-libs"
mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/lib/alsa-lib/*pulse.so "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/share "$subpkgdir"/usr/
}
+a52() {
+ pkgdesc="Converts S16 linear sound format to A52 compressed format and sends it to an SPDIF output"
+ mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
+ mv "$pkgdir"/usr/lib/alsa-lib/*a52.so "$subpkgdir"/usr/lib/alsa-lib/
+}
+
+jack() {
+ pkgdesc="Allows native ALSA applications to work with jackd"
+ mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
+ mv "$pkgdir"/usr/lib/alsa-lib/*jack.so "$subpkgdir"/usr/lib/alsa-lib/
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install