aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bluez-alsa/APKBUILD
blob: b403096a97d22845f157452cc73649ec70a17268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Bradley Saulteaux <-@bradso.to>
pkgname=bluez-alsa
pkgver=2.0.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
	dbus-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Arkq/bluez-alsa/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="21152be594421cd00056e94065dcf767ca01f7b040117974315f97aab45db020264e33dabddac7fee12834a4ada9073b9ff680c25d8775b47604cb0bec638a7b  bluez-alsa-2.0.0.tar.gz
7952c75a47ef8bbbd9ea7c8f16e62ff6355db4011a4c3a7c9d084c740cebde945bb443a987169a8e314d422958288fd02704a25d28c9770fcb8a2c050530ab26  bluealsa.initd"