1
0
forked from ports/contrib

bluealsa: add optional dependencies (Arkadiusz Bokowy)..

In return he reverted a changeset in the upcoming release that
avoids hard dependency on libbsd.  Thanks!
This commit is contained in:
Steffen Nurpmeso 2021-07-19 15:35:27 +02:00
parent 89559c6f73
commit 717a59a6aa
2 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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