From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 368DD138334 for ; Mon, 29 Apr 2019 00:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39D0AE0841; Mon, 29 Apr 2019 00:36:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B406E0841 for ; Mon, 29 Apr 2019 00:36:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98CCF342C19 for ; Mon, 29 Apr 2019 00:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4231955B for ; Mon, 29 Apr 2019 00:36:17 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1556498170.6ef7c69333e13ef4d5369b0dde81216aa05a14b5.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/bluez-alsa/files/, media-sound/bluez-alsa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/bluez-alsa/bluez-alsa-9999.ebuild media-sound/bluez-alsa/files/bluealsa.service X-VCS-Directories: media-sound/bluez-alsa/files/ media-sound/bluez-alsa/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 6ef7c69333e13ef4d5369b0dde81216aa05a14b5 X-VCS-Branch: master Date: Mon, 29 Apr 2019 00:36:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d2bd194-6675-4505-8db6-a1855f13e842 X-Archives-Hash: b3cd2439dc6654ca94b6ef3d7ffc2385 commit: 6ef7c69333e13ef4d5369b0dde81216aa05a14b5 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 29 00:35:47 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 29 00:36:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef7c693 media-sound/bluez-alsa: Added systemd unit file Thanks-to: Chris Mayo gmail.com> Closes: https://bugs.gentoo.org/677928 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 3 ++- media-sound/bluez-alsa/files/bluealsa.service | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild index cc736065095..0e5b0d27ae8 100644 --- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild +++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools multilib-minimal +inherit autotools multilib-minimal systemd DESCRIPTION="Bluetooth Audio ALSA Backend" HOMEPAGE="https://github.com/Arkq/bluez-alsa" @@ -58,6 +58,7 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/bluealsa-init.d bluealsa newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa + systemd_dounit "${FILESDIR}"/bluealsa.service } pkg_postinst() { diff --git a/media-sound/bluez-alsa/files/bluealsa.service b/media-sound/bluez-alsa/files/bluealsa.service new file mode 100644 index 00000000000..12451ccb618 --- /dev/null +++ b/media-sound/bluez-alsa/files/bluealsa.service @@ -0,0 +1,10 @@ +[Unit] +Description=Bluetooth Audio ALSA Backend +Requisite=dbus.service +After=bluetooth.service dbus.service + +[Service] +ExecStart=/usr/bin/bluealsa + +[Install] +WantedBy=bluetooth.target