summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-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>