aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pulseaudio
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-09 23:08:38 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-09 23:08:45 +0200
commitaa2cfae64b6f7ee6cc088efa6d39533899a87c60 (patch)
treea47e6dea55fab7016c961c8652457899a140cee1 /testing/pulseaudio
parent14111dc8c37598d45072b49f07c0fc021ad10cc6 (diff)
downloadaports-aa2cfae64b6f7ee6cc088efa6d39533899a87c60.tar.bz2
aports-aa2cfae64b6f7ee6cc088efa6d39533899a87c60.tar.xz
testing/pulseaudio: add and split modules/libs
Diffstat (limited to 'testing/pulseaudio')
-rw-r--r--testing/pulseaudio/APKBUILD51
1 files changed, 47 insertions, 4 deletions
diff --git a/testing/pulseaudio/APKBUILD b/testing/pulseaudio/APKBUILD
index 2ed95a4228..e07f5701ef 100644
--- a/testing/pulseaudio/APKBUILD
+++ b/testing/pulseaudio/APKBUILD
@@ -2,17 +2,18 @@
# Maintainer:
pkgname=pulseaudio
pkgver=6.0
-pkgrel=2
+pkgrel=3
pkgdesc="A featureful, general-purpose sound server"
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
arch="all"
license="LGPL"
depends=""
-depends_dev="libcap-dev json-c-dev libsndfile-dev dbus-dev
- alsa-lib-dev tdb-dev"
+depends_dev="libcap-dev json-c-dev libsndfile-dev dbus-dev alsa-lib-dev tdb-dev
+ speexdsp-dev sbc-dev bluez-dev jack-dev avahi-dev openssl-dev udev-dev"
makedepends="$depends_dev m4 intltool libtool"
install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-bluez
+ $pkgname-alsa $pkgname-utils $pkgname-jack $pkgname-zeroconf"
source="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.tar.xz
0001-padsp-Make-it-compile-on-musl.patch
$pkgname.initd
@@ -39,6 +40,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
+ --disable-bluez4 \
|| return 1
make || return 1
}
@@ -59,10 +61,51 @@ libs() {
"$subpkgdir"/etc/pulse || return 1
mv "$pkgdir"/usr/lib/pulseaudio \
"$subpkgdir"/usr/lib/ || return 1
+ mv "$pkgdir"/usr/lib/libpulse.so.0* \
+ "$pkgdir"/usr/lib/libpulse-simple.so.0* \
+ "$subpkgdir"/usr/lib/ || return 1
mv "$pkgdir"/etc/pulse/client.conf \
"$subpkgdir"/etc/pulse/ || return 1
}
+bluez() {
+ pkgdesc="Pulseaudio bluetooth support"
+ mkdir -p "$subpkgdir"/usr/lib/pulse-$pkgver/modules
+ mv "$pkgdir"/usr/lib/pulse-$pkgver/modules/*bluez*.so \
+ "$pkgdir"/usr/lib/pulse-$pkgver/modules/*bluetooth*.so \
+ "$subpkgdir"/usr/lib/pulse-$pkgver/modules/ || return 1
+}
+
+alsa() {
+ pkgdesc="Pulseaudio alsa support"
+ mkdir -p "$subpkgdir"/usr/lib/pulse-$pkgver/modules
+ mv "$pkgdir"/usr/lib/pulse-$pkgver/modules/*alsa*.so \
+ "$subpkgdir"/usr/lib/pulse-$pkgver/modules/ || return 1
+}
+
+utils() {
+ pkgdesc="Pulseaudio utilities"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/pa* \
+ "$subpkgdir"/usr/bin/ || return 1
+}
+
+jack() {
+ pkgdesc="Pulseaudio jack support"
+ mkdir -p "$subpkgdir"/usr/lib/pulse-$pkgver/modules
+ mv "$pkgdir"/usr/lib/pulse-$pkgver/modules/*jack*.so \
+ "$subpkgdir"/usr/lib/pulse-$pkgver/modules/ || return 1
+}
+
+zeroconf() {
+ pkgdesc="Pulseaudio zeroconf support"
+ mkdir -p "$subpkgdir"/usr/lib/pulse-$pkgver/modules
+ mv "$pkgdir"/usr/lib/pulse-$pkgver/modules/*avahi*.so \
+ "$pkgdir"/usr/lib/pulse-$pkgver/modules/*zeroconf*.so \
+ "$pkgdir"/usr/lib/pulse-$pkgver/modules/*raop*.so \
+ "$subpkgdir"/usr/lib/pulse-$pkgver/modules/ || return 1
+}
+
md5sums="b691e83b7434c678dffacfa3a027750e pulseaudio-6.0.tar.xz
ac9d7f4c6cca22d349aaa7649d47a6e3 0001-padsp-Make-it-compile-on-musl.patch
884cb9a843361844904e8c85542e72fb pulseaudio.initd