Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/bluez-alsa/files/, media-sound/bluez-alsa/
Date: Mon, 29 Apr 2019 00:36:21
Message-Id: 1556498170.6ef7c69333e13ef4d5369b0dde81216aa05a14b5.polynomial-c@gentoo
1 commit: 6ef7c69333e13ef4d5369b0dde81216aa05a14b5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 29 00:35:47 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 29 00:36:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef7c693
7
8 media-sound/bluez-alsa: Added systemd unit file
9
10 Thanks-to: Chris Mayo <aklhfex <AT> gmail.com>
11 Closes: https://bugs.gentoo.org/677928
12 Package-Manager: Portage-2.3.65, Repoman-2.3.12
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 3 ++-
16 media-sound/bluez-alsa/files/bluealsa.service | 10 ++++++++++
17 2 files changed, 12 insertions(+), 1 deletion(-)
18
19 diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
20 index cc736065095..0e5b0d27ae8 100644
21 --- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
22 +++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
23 @@ -2,7 +2,7 @@
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 -inherit autotools multilib-minimal
28 +inherit autotools multilib-minimal systemd
29
30 DESCRIPTION="Bluetooth Audio ALSA Backend"
31 HOMEPAGE="https://github.com/Arkq/bluez-alsa"
32 @@ -58,6 +58,7 @@ multilib_src_install_all() {
33
34 newinitd "${FILESDIR}"/bluealsa-init.d bluealsa
35 newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa
36 + systemd_dounit "${FILESDIR}"/bluealsa.service
37 }
38
39 pkg_postinst() {
40
41 diff --git a/media-sound/bluez-alsa/files/bluealsa.service b/media-sound/bluez-alsa/files/bluealsa.service
42 new file mode 100644
43 index 00000000000..12451ccb618
44 --- /dev/null
45 +++ b/media-sound/bluez-alsa/files/bluealsa.service
46 @@ -0,0 +1,10 @@
47 +[Unit]
48 +Description=Bluetooth Audio ALSA Backend
49 +Requisite=dbus.service
50 +After=bluetooth.service dbus.service
51 +
52 +[Service]
53 +ExecStart=/usr/bin/bluealsa
54 +
55 +[Install]
56 +WantedBy=bluetooth.target