summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-01-26 17:53:07 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-01-26 17:54:27 +0100
commitae87abd952dd302f234f3fe5a83a03c2daec3875 (patch)
tree9769eeb6ebadfef343e39e2d839a3f66f3212e68 /media-sound/bluez-alsa
parentmedia-sound/bluez-alsa: Bump to version 2.1.0 (diff)
downloadgentoo-ae87abd952dd302f234f3fe5a83a03c2daec3875.tar.gz
gentoo-ae87abd952dd302f234f3fe5a83a03c2daec3875.tar.bz2
gentoo-ae87abd952dd302f234f3fe5a83a03c2daec3875.zip
media-sound/bluez-alsa: Synced live ebuild
Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/bluez-alsa')
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-9999.ebuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
index 32e9eef4fbc0..fc03fb3b79e0 100644
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,20 +17,26 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="aac debug hcitop ldac ofono static-libs test"
+IUSE="aac debug hcitop ldac ofono static-libs test upower"
RESTRICT="!test? ( test )"
-RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
+# bluez-alsa does not directly link to upower but
+# is using the upower interface via dbus calls.
+RDEPEND="
+ >=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
>=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}]
>=media-libs/sbc-1.2[${MULTILIB_USEDEP}]
>=net-wireless/bluez-5.0[${MULTILIB_USEDEP}]
+ sys-apps/dbus[${MULTILIB_USEDEP}]
sys-libs/readline:0=
aac? ( >=media-libs/fdk-aac-0.1.1:=[${MULTILIB_USEDEP}] )
hcitop? (
dev-libs/libbsd
sys-libs/ncurses:0=
)
- ldac? ( >=media-libs/libldac-2.0.0 )"
+ ldac? ( >=media-libs/libldac-2.0.0 )
+ upower? ( sys-power/upower )
+"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
@@ -49,13 +55,14 @@ multilib_src_configure() {
$(use_enable test)
$(multilib_native_use_enable hcitop)
$(multilib_native_use_enable ldac)
+ $(multilib_native_use_enable upower)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install_all() {
default
- find "${ED}" -name "*.la" -delete || die
+ find "${ED}" -type f -name "*.la" -delete || die
newinitd "${FILESDIR}"/bluealsa-init.d bluealsa
newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa