summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-19 14:48:00 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-19 15:28:38 +0200
commit0dcd4b29f28560dc1edc953ac22f764adf4a005e (patch)
tree591543eae22fb2274364564665ad8c11096c3b2c
parentx11-drivers/xf86-input-libinput: Version bump to 0.22.0. (diff)
downloadgentoo-0dcd4b29f28560dc1edc953ac22f764adf4a005e.tar.gz
gentoo-0dcd4b29f28560dc1edc953ac22f764adf4a005e.tar.bz2
gentoo-0dcd4b29f28560dc1edc953ac22f764adf4a005e.zip
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@gentoo.org>
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-1.1.0-r1.ebuild (renamed from media-sound/bluez-alsa/bluez-alsa-1.1.0.ebuild)0
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-9999.ebuild11
-rw-r--r--media-sound/bluez-alsa/files/bluealsa-init.d2
-rw-r--r--media-sound/bluez-alsa/metadata.xml3
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
index 20e4c0d30b5e..20e4c0d30b5e 100644
--- a/media-sound/bluez-alsa/bluez-alsa-1.1.0.ebuild
+++ b/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 35d35a0ce666..630c8af31a98 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 1e2b2a70ab46..1b61e83faf03 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 515507bad52a..d35dea0f11fb 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>