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>
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 )
src_configure() {
econf \
$(use_enable aac) \
- $(use_enable debug)
+ $(use_enable debug) \
+ $(use_enable hcitop)
}
src_install() {
}
start_pre() {
- checkpath -q -D -m 0700 -o :audio /var/run/bluealsa
+ checkpath -q -D -m 0770 -o :audio /var/run/bluealsa
}
<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>