1 |
commit: ae87abd952dd302f234f3fe5a83a03c2daec3875 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 26 16:53:07 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 26 16:54:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae87abd9 |
7 |
|
8 |
media-sound/bluez-alsa: Synced live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 17 ++++++++++++----- |
14 |
1 file changed, 12 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
17 |
index 32e9eef4fbc..fc03fb3b79e 100644 |
18 |
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
19 |
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
@@ -17,20 +17,26 @@ fi |
27 |
|
28 |
LICENSE="MIT" |
29 |
SLOT="0" |
30 |
-IUSE="aac debug hcitop ldac ofono static-libs test" |
31 |
+IUSE="aac debug hcitop ldac ofono static-libs test upower" |
32 |
RESTRICT="!test? ( test )" |
33 |
|
34 |
-RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}] |
35 |
+# bluez-alsa does not directly link to upower but |
36 |
+# is using the upower interface via dbus calls. |
37 |
+RDEPEND=" |
38 |
+ >=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}] |
39 |
>=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}] |
40 |
>=media-libs/sbc-1.2[${MULTILIB_USEDEP}] |
41 |
>=net-wireless/bluez-5.0[${MULTILIB_USEDEP}] |
42 |
+ sys-apps/dbus[${MULTILIB_USEDEP}] |
43 |
sys-libs/readline:0= |
44 |
aac? ( >=media-libs/fdk-aac-0.1.1:=[${MULTILIB_USEDEP}] ) |
45 |
hcitop? ( |
46 |
dev-libs/libbsd |
47 |
sys-libs/ncurses:0= |
48 |
) |
49 |
- ldac? ( >=media-libs/libldac-2.0.0 )" |
50 |
+ ldac? ( >=media-libs/libldac-2.0.0 ) |
51 |
+ upower? ( sys-power/upower ) |
52 |
+" |
53 |
DEPEND="${RDEPEND}" |
54 |
BDEPEND="virtual/pkgconfig" |
55 |
|
56 |
@@ -49,13 +55,14 @@ multilib_src_configure() { |
57 |
$(use_enable test) |
58 |
$(multilib_native_use_enable hcitop) |
59 |
$(multilib_native_use_enable ldac) |
60 |
+ $(multilib_native_use_enable upower) |
61 |
) |
62 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
63 |
} |
64 |
|
65 |
multilib_src_install_all() { |
66 |
default |
67 |
- find "${ED}" -name "*.la" -delete || die |
68 |
+ find "${ED}" -type f -name "*.la" -delete || die |
69 |
|
70 |
newinitd "${FILESDIR}"/bluealsa-init.d bluealsa |
71 |
newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa |