contrib/bluealsa/Pkgfile

31 lines
799 B
Plaintext
Raw Normal View History

2020-12-30 22:26:16 +01:00
# Description: Bluetooth Audio ALSA Backend (for users in "audio" group)
# URL: https://github.com/Arkq/bluez-alsa
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
# Depends on: bluez fdk-aac sbc
#@ .. via bluez: alsa-lib dbus
name=bluealsa
rname=bluez-alsa
2021-06-20 00:00:03 +02:00
version=3.1.0
release=1
source=(https://github.com/Arkq/${rname}/archive/\
2021-02-08 23:30:38 +01:00
v${version}/${rname}-${version}.tar.gz
2021-03-18 19:03:13 +01:00
bluealsa.rc bluealsa.conf)
2020-12-30 22:26:16 +01:00
build() {
2021-02-08 23:30:38 +01:00
cd ${rname}-${version}
2020-12-30 22:26:16 +01:00
autoreconf --install --symlink
mkdir build && cd build
2021-02-08 23:30:38 +01:00
../configure --prefix=/usr --runstatedir=/run --enable-aac
2020-12-30 22:26:16 +01:00
make all
2021-02-08 23:30:38 +01:00
make DESTDIR="${PKG}" install
2021-03-18 19:03:13 +01:00
install -D -m 0755 "${SRC}"/bluealsa.rc "${PKG}"/etc/rc.d/${name}
2021-02-08 23:30:38 +01:00
install -D -m 0644 "${SRC}"/bluealsa.conf \
"${PKG}"/etc/dbus-1/system.d/${name}.conf
2020-12-30 22:26:16 +01:00
}
# s-sh-mode