Skip to content

Commit

Permalink
media-sound/bluez-alsa: Revbump to fix access to /var/run/bluezalsa
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Lars Wendler committed Oct 19, 2016
1 parent b7c7800 commit 0dcd4b2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
11 changes: 8 additions & 3 deletions media-sound/bluez-alsa/bluez-alsa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -37,7 +41,8 @@ src_prepare() {
src_configure() {
econf \
$(use_enable aac) \
$(use_enable debug)
$(use_enable debug) \
$(use_enable hcitop)
}

src_install() {
Expand Down
2 changes: 1 addition & 1 deletion media-sound/bluez-alsa/files/bluealsa-init.d
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 3 additions & 0 deletions media-sound/bluez-alsa/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 0dcd4b2

Please sign in to comment.