Skip to content
Snippets Groups Projects
Commit e44d1211 authored by Bradley Saulteaux's avatar Bradley Saulteaux Committed by Leo
Browse files

testing/bluez-alsa: new aport

https://github.com/Arkq/bluez-alsa
Bluetooth Audio ALSA Backend
parent 0426c18d
No related branches found
No related tags found
No related merge requests found
# Maintainer: Bradley Saulteaux <-@bradso.to>
pkgname=bluez-alsa
pkgver=1.4.0
pkgrel=0
pkgdesc="Bluetooth Audio ALSA Backend"
url="https://github.com/Arkq/bluez-alsa"
arch="all"
license="MIT"
depends="bluez"
subpackages="$pkgname-openrc"
makedepends="automake autoconf libtool alsa-lib-dev bluez-dev glib-dev sbc-dev"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/Arkq/$pkgname/archive/v$pkgver.tar.gz
bluealsa.initd"
prepare() {
default_prepare
autoreconf --install
mkdir build
}
build() {
cd build
../configure --enable-ofono --disable-static
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm755 ../../bluealsa.initd "$pkgdir"/etc/init.d/bluealsa
}
sha512sums="fa4ad21c7b9ac200cdc7628bf0276bbb0beac94066a6c5e69c47a5286f6e13a7dc61caab23acbb14a37c2b97894c425052a09adb8f967038f6fd99557208629f bluez-alsa-1.4.0.tar.gz
7952c75a47ef8bbbd9ea7c8f16e62ff6355db4011a4c3a7c9d084c740cebde945bb443a987169a8e314d422958288fd02704a25d28c9770fcb8a2c050530ab26 bluealsa.initd"
#!/sbin/openrc-run
depend() {
need bluetooth
}
command="/usr/bin/$RC_SVCNAME"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment