diff options
author | Steffen Nurpmeso <steffen@sdaoden.eu> | 2021-07-19 15:35:27 +0200 |
---|---|---|
committer | Steffen Nurpmeso <steffen@sdaoden.eu> | 2021-07-19 15:37:09 +0200 |
commit | 717a59a6aa69ebb706b6989569df9529a3a7e91c (patch) | |
tree | 8a2748db9654f3b0551c01e74f648c1d9c992a35 | |
parent | 89559c6f73fd99cc727b4652b7467e38bb1579ae (diff) | |
download | contrib-717a59a6aa69ebb706b6989569df9529a3a7e91c.tar.gz contrib-717a59a6aa69ebb706b6989569df9529a3a7e91c.tar.xz |
bluealsa: add optional dependencies (Arkadiusz Bokowy)..
In return he reverted a changeset in the upcoming release that
avoids hard dependency on libbsd. Thanks!
-rw-r--r-- | bluealsa/.signature | 4 | ||||
-rw-r--r-- | bluealsa/Pkgfile | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/bluealsa/.signature b/bluealsa/.signature index afc4f2552..f594d96cc 100644 --- a/bluealsa/.signature +++ b/bluealsa/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3z3t/66GoZV7C7fGoBwICztpv89maUhpjqIcXV1IRoH25nJHt10tpr3rP6u4aTQaq/C+hyLbhy5lie2PQJ70lwk= -SHA256 (Pkgfile) = c5268210e4a4d9d27873e64b6a7216112a3c221bf46f9675fbeb98f6cd53468a +RWSagIOpLGJF358xiOzywGS2cVXaCxYUJsfn8aeR8QU1uUuc8jsfyukDa4JxXafJdszzF/sfVpBLYYW/P/VgQUtCi847DoYHwwQ= +SHA256 (Pkgfile) = b6b487d88d0b11ef4cc5b21cc45cae6474fe3aa935f6a64c79f1db74ad3669fd SHA256 (.footprint) = a1ec2cab3b6db9ed7c973fec4a346d4cc1f1a489618664a156bfa4f19d1d49bd SHA256 (bluez-alsa-3.1.0.tar.gz) = d9a878d9fd7f18842c9c8ed83bc96cab684753c90f2751d575a3cdd776ec78a5 SHA256 (bluealsa.rc) = 2d16433ea5be38ca5d14d628c8ef12022d8c18dd509d49e7fc8460550fbb3efa diff --git a/bluealsa/Pkgfile b/bluealsa/Pkgfile index a92457eb1..d92969e9a 100644 --- a/bluealsa/Pkgfile +++ b/bluealsa/Pkgfile @@ -2,13 +2,14 @@ # URL: https://github.com/Arkq/bluez-alsa # Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu # Depends on: bluez fdk-aac sbc +# Optional: lame libbsd libldac mpg123 python3-docutils #@ .. via bluez: alsa-lib dbus name=bluealsa rname=bluez-alsa version=3.1.0 -release=1 +release=2 source=(https://github.com/Arkq/${rname}/archive/\ v${version}/${rname}-${version}.tar.gz bluealsa.rc bluealsa.conf) @@ -16,9 +17,17 @@ v${version}/${rname}-${version}.tar.gz build() { cd ${rname}-${version} + cnf=--enable-aac + prt-get isinst libbsd >/dev/null 2>&1 && cnf=${cnf}' --enable-hcitop' + prt-get isinst lame >/dev/null 2>&1 && cnf=${cnf}' --enable-lame' + prt-get isinst libldac >/dev/null 2>&1 && cnf=${cnf}' --enable-ldac' + prt-get isinst mpg123 >/dev/null 2>&1 && cnf=${cnf}' --enable-mpg123' + prt-get isinst python3-docutils >/dev/null 2>&1 && + cnf=${cnf}' --enable-manpages' + autoreconf --install --symlink mkdir build && cd build - ../configure --prefix=/usr --runstatedir=/run --enable-aac + ../configure --prefix=/usr --runstatedir=/run ${cnf} make all make DESTDIR="${PKG}" install |