commit: 0dcd4b29f28560dc1edc953ac22f764adf4a005e
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 12:48:00 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 13:28:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dcd4b29
media-sound/bluez-alsa: Revbump to fix access to /var/run/bluezalsa
This fixes Gentoo bug #597526.
Added "hcitop" USE flag to live ebuild and adjust dependencies
accordingly. Thanks to Aleksei Timofeyev for reporting this via
e-mail.
Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../{bluez-alsa-1.1.0.ebuild => bluez-alsa-1.1.0-r1.ebuild} | 0
media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 11 ++++++++---
media-sound/bluez-alsa/files/bluealsa-init.d | 2 +-
media-sound/bluez-alsa/metadata.xml | 3 +++
4 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/media-sound/bluez-alsa/bluez-alsa-1.1.0.ebuild
b/media-sound/bluez-alsa/bluez-alsa-1.1.0-r1.ebuild
similarity index 100%
rename from media-sound/bluez-alsa/bluez-alsa-1.1.0.ebuild
rename to media-sound/bluez-alsa/bluez-alsa-1.1.0-r1.ebuild
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
index 35d35a0..630c8af 100644
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
@@ -18,12 +18,16 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="aac debug"
+IUSE="aac debug hcitop"
RDEPEND=">=dev-libs/glib-2.16[dbus]
>=media-libs/alsa-lib-1.0
>=media-libs/sbc-1.2
- >=net-wireless/bluez-5"
+ >=net-wireless/bluez-5
+ hcitop? (
+ dev-libs/libbsd
+ sys-libs/ncurses:0=
+ )"
DEPEND="${RDEPEND}
net-libs/ortp
aac? ( >=media-libs/fdk-aac-0.1.1 )
@@ -37,7 +41,8 @@ src_prepare() {
src_configure() {
econf \
$(use_enable aac) \
- $(use_enable debug)
+ $(use_enable debug) \
+ $(use_enable hcitop)
}
src_install() {
diff --git a/media-sound/bluez-alsa/files/bluealsa-init.d
b/media-sound/bluez-alsa/files/bluealsa-init.d
index 1e2b2a7..1b61e83 100644
--- a/media-sound/bluez-alsa/files/bluealsa-init.d
+++ b/media-sound/bluez-alsa/files/bluealsa-init.d
@@ -14,5 +14,5 @@ depend() {
}
start_pre() {
- checkpath -q -D -m 0700 -o :audio /var/run/bluealsa
+ checkpath -q -D -m 0770 -o :audio /var/run/bluealsa
}
diff --git a/media-sound/bluez-alsa/metadata.xml
b/media-sound/bluez-alsa/metadata.xml
index 515507b..d35dea0 100644
--- a/media-sound/bluez-alsa/metadata.xml
+++ b/media-sound/bluez-alsa/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<remote-id type="github">Arkq/bluez-alsa</remote-id>
</upstream>
+ <use>
+ <flag name="hcitop">Enable top-like monitoring tool for HCI</flag>
+ </use>
</pkgmetadata>