This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
1
[alpine-aports] [PATCH] testing/bluez-alsa: new aport
From: Bradley Saulteaux <-@bradso.to>
https://github.com/Arkq/bluez-alsa
Bluetooth Audio ALSA Backend
---
testing/bluez-alsa/APKBUILD | 25 +++++++++++++++++++++++++
testing/bluez-alsa/bluealsa.initd | 7 +++++++
2 files changed, 32 insertions(+)
create mode 100644 testing/bluez-alsa/APKBUILD
create mode 100755 testing/bluez-alsa/bluealsa.initd
diff --git a/testing/bluez-alsa/APKBUILD b/testing/bluez-alsa/APKBUILD
new file mode 100644
index 0000000000..9df5c30c9c
--- /dev/null
+++ b/testing/bluez-alsa/APKBUILD
@@ -0,0 +1,25 @@
+ # 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"
+ 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"
+ build() {
+ autoreconf --install
+ mkdir build && cd build
+ ../configure --enable-ofono
+ 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"
diff --git a/testing/bluez-alsa/bluealsa.initd b/testing/bluez-alsa/bluealsa.initd
new file mode 100755
index 0000000000..01b6d82688
--- /dev/null
+++ b/testing/bluez-alsa/bluealsa.initd
@@ -0,0 +1,7 @@
+ #!/sbin/openrc-run
+ depend() {
+ need bluetooth
+ }
+ command="/usr/bin/$RC_SVCNAME"
+ command_background="yes"
+ pidfile="/run/$RC_SVCNAME.pid"
--
2.22.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
There are static archives present, either remove them or create a
$pkgname-static subpackage
Please look at the warnings that abuild creates and fix them if applicable.
> @@ -0,0 +1,25 @@
> +# Maintainer: Bradley Saulteaux <-@bradso.to >
> +pkgname="bluez-alsa"
Doesn't need to be quoted, just like pkgver
> + autoreconf --install
> + mkdir build && cd build
These go into prepare()
> + make DESTDIR="$pkgdir" install
> + install -Dm755 ../../bluealsa.initd "$pkgdir"/etc/init.d/bluealsa
missing $pkgname-openrc subpackage
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---