bluealsa: dropped
This commit is contained in:
parent
2487c41fdd
commit
80fa44a2d1
@ -1,20 +0,0 @@
|
|||||||
drwxr-xr-x root/root etc/
|
|
||||||
drwxr-xr-x root/root etc/dbus-1/
|
|
||||||
drwxr-xr-x root/root etc/dbus-1/system.d/
|
|
||||||
-rw-r--r-- root/root etc/dbus-1/system.d/bluealsa.conf
|
|
||||||
drwxr-xr-x root/root etc/rc.d/
|
|
||||||
-rwxr-xr-x root/root etc/rc.d/bluealsa
|
|
||||||
drwxr-xr-x root/root usr/
|
|
||||||
drwxr-xr-x root/root usr/bin/
|
|
||||||
-rwxr-xr-x root/root usr/bin/bluealsa
|
|
||||||
-rwxr-xr-x root/root usr/bin/bluealsa-aplay
|
|
||||||
drwxr-xr-x root/root usr/etc/
|
|
||||||
drwxr-xr-x root/root usr/etc/alsa/
|
|
||||||
drwxr-xr-x root/root usr/etc/alsa/conf.d/
|
|
||||||
-rw-r--r-- root/root usr/etc/alsa/conf.d/20-bluealsa.conf
|
|
||||||
drwxr-xr-x root/root usr/lib/
|
|
||||||
drwxr-xr-x root/root usr/lib/alsa-lib/
|
|
||||||
-rw-r--r-- root/root usr/lib/alsa-lib/libasound_module_ctl_bluealsa.a
|
|
||||||
-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_bluealsa.so
|
|
||||||
-rw-r--r-- root/root usr/lib/alsa-lib/libasound_module_pcm_bluealsa.a
|
|
||||||
-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_bluealsa.so
|
|
@ -1,7 +0,0 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
|
||||||
RWSagIOpLGJF39P6gLKCCgcLjS1saAgP6rDGrQ0Y05kOiTqwDgKXFbRMJFURabzmnVDmyT2gF0YdY3APsU7sOe87RyRh4mgRtww=
|
|
||||||
SHA256 (Pkgfile) = 250d02f5b73d41bc169411f78dbacfa2f5058e103649373c0f13abce50570694
|
|
||||||
SHA256 (.footprint) = 9c576e67e952e963436875ee972f0f74353a6f94cdeb8a0ca08e7f1dc2707d3f
|
|
||||||
SHA256 (bluez-alsa-4.0.0.tar.gz) = ce5e060e61669d61d44f5f9bad34a7b88378376e9d49d31482406a68127a6b29
|
|
||||||
SHA256 (bluealsa.rc) = d95c7bd6e13eb29782c0a2f164dd21c34de5a0c733775819d4fbb60ea9dc1780
|
|
||||||
SHA256 (bluealsa.conf) = 85751bb2dbda79b22ce4572e2165dcb0843e292676a781db2c2a5bcc60f840b0
|
|
@ -1,41 +0,0 @@
|
|||||||
# 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
|
|
||||||
# Optional: lame libbsd libldac mpg123 python3-docutils
|
|
||||||
|
|
||||||
#@ .. via bluez: alsa-lib dbus
|
|
||||||
|
|
||||||
name=bluealsa
|
|
||||||
rname=bluez-alsa
|
|
||||||
version=4.0.0
|
|
||||||
release=2
|
|
||||||
source=(https://github.com/Arkq/${rname}/archive/\
|
|
||||||
v${version}/${rname}-${version}.tar.gz
|
|
||||||
bluealsa.rc bluealsa.conf)
|
|
||||||
|
|
||||||
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 ${cnf}
|
|
||||||
make all
|
|
||||||
make DESTDIR="${PKG}" install
|
|
||||||
|
|
||||||
install -D -m 0755 "${SRC}"/bluealsa.rc "${PKG}"/etc/rc.d/${name}
|
|
||||||
install -D -m 0644 "${SRC}"/bluealsa.conf \
|
|
||||||
"${PKG}"/etc/dbus-1/system.d/${name}.conf
|
|
||||||
|
|
||||||
rm -rf "${PKG}"/usr/lib/alsa-lib/*.la
|
|
||||||
}
|
|
||||||
|
|
||||||
# s-sh-mode
|
|
@ -1,19 +0,0 @@
|
|||||||
<!-- This configuration file specifies the required security policies
|
|
||||||
for BlueALSA core daemon to work. -->
|
|
||||||
|
|
||||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
||||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
||||||
<busconfig>
|
|
||||||
|
|
||||||
<!-- ../system.conf have denied everything, so we just punch some holes -->
|
|
||||||
|
|
||||||
<policy user="root">
|
|
||||||
<allow own_prefix="org.bluealsa"/>
|
|
||||||
<allow send_destination="org.bluealsa"/>
|
|
||||||
</policy>
|
|
||||||
|
|
||||||
<policy group="audio">
|
|
||||||
<allow send_destination="org.bluealsa"/>
|
|
||||||
</policy>
|
|
||||||
|
|
||||||
</busconfig>
|
|
@ -1,40 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#@ bluez-alsa startup script.
|
|
||||||
#@ Likely requires <- bluetoothd [<- dbus]
|
|
||||||
|
|
||||||
RD=/run
|
|
||||||
PID=${RD}/bluealsa.pid
|
|
||||||
|
|
||||||
SSD=/sbin/start-stop-daemon
|
|
||||||
PROG=/usr/bin/bluealsa
|
|
||||||
OPTS="-p a2dp-sink -p a2dp-source -c AAC"
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
start)
|
|
||||||
exec "${SSD}" --start --background --make-pidfile --pidfile "${PID}" \
|
|
||||||
--exec "${PROG}" -- ${OPTS}
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
exec "${SSD}" --stop --remove-pidfile --retry 10 --pidfile "${PID}" \
|
|
||||||
--exec "${PROG}"
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
"${SSD}" --status --pidfile "${PID}" --exec "${PROG}" &&
|
|
||||||
"${0}" stop
|
|
||||||
exec "${0}" start
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
"${SSD}" --status --pidfile "${PID}" --exec "${PROG}"
|
|
||||||
e=${?}
|
|
||||||
case ${e} in
|
|
||||||
0) echo "${PROG} is running with pid $(cat ${PID})";;
|
|
||||||
1) echo "${PROG} is not running but the pid file ${PID} exists";;
|
|
||||||
3) echo "${PROG} is not running";;
|
|
||||||
4) echo "Unable to determine the program status";;
|
|
||||||
esac
|
|
||||||
exit ${e}
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "usage: ${0} start|stop|restart|status"
|
|
||||||
;;
|
|
||||||
esac
|
|
Loading…
Reference in New Issue
Block a user