commit:     b02a87b6fe1e3d1edd2f1a957923a733511c6b09
Author:     Vladimir Shupilov <alliancetrooper <AT> proton <DOT> me>
AuthorDate: Fri Feb  2 13:19:38 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 13:43:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02a87b6

media-sound/bluez-alsa: fix openrc daemon start

Closes: https://bugs.gentoo.org/921681
Signed-off-by: Vladimir Shupilov <alliancetrooper <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/35145
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{bluez-alsa-4.1.1.ebuild => bluez-alsa-4.1.1-r1.ebuild}           | 4 ++--
 media-sound/bluez-alsa/files/bluealsa-conf.d-2-r1                     | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-sound/bluez-alsa/bluez-alsa-4.1.1.ebuild 
b/media-sound/bluez-alsa/bluez-alsa-4.1.1-r1.ebuild
similarity index 96%
rename from media-sound/bluez-alsa/bluez-alsa-4.1.1.ebuild
rename to media-sound/bluez-alsa/bluez-alsa-4.1.1-r1.ebuild
index c08d719a53b2..cb9a309aedd6 100644
--- a/media-sound/bluez-alsa/bluez-alsa-4.1.1.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-4.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -90,7 +90,7 @@ multilib_src_install_all() {
        find "${ED}" -type f -name "*.la" -delete || die
 
        newinitd "${FILESDIR}"/bluealsa-init.d bluealsa
-       newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa
+       newconfd "${FILESDIR}"/bluealsa-conf.d-2-r1 bluealsa
        #systemd_dounit "${FILESDIR}"/bluealsa.service
 
        # Add config file to alsa datadir as well to preserve changes in /etc

diff --git a/media-sound/bluez-alsa/files/bluealsa-conf.d-2-r1 
b/media-sound/bluez-alsa/files/bluealsa-conf.d-2-r1
new file mode 100644
index 000000000000..ff1dd4cb1cd9
--- /dev/null
+++ b/media-sound/bluez-alsa/files/bluealsa-conf.d-2-r1
@@ -0,0 +1,4 @@
+# Config file for /etc/init.d/bluealsa
+
+# Allow additional options to be set
+BLUEALSA_CONF="-S -p a2dp-source -p a2dp-sink"

Reply via email to