Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/bluez-alsa/
Date: Thu, 17 Sep 2020 09:06:46
Message-Id: 1600333597.f18b9d64003901bfe225fdeabdfc5442a933c51e.polynomial-c@gentoo
1 commit: f18b9d64003901bfe225fdeabdfc5442a933c51e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 09:06:16 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 09:06:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f18b9d64
7
8 media-sound/bluez-alsa: Synced live ebuild
9
10 Package-Manager: Portage-3.0.7, Repoman-3.0.1
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, 14 insertions(+), 3 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 35b7533e4c4..3ab8343e381 100644
18 --- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
19 +++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
20 @@ -17,7 +17,7 @@ fi
21
22 LICENSE="MIT"
23 SLOT="0"
24 -IUSE="aac debug hcitop ldac ofono static-libs test upower"
25 +IUSE="aac debug hcitop lame ldac man mpg123 ofono static-libs test unwind upower"
26 RESTRICT="!test? ( test )"
27
28 # bluez-alsa does not directly link to upower but
29 @@ -30,16 +30,23 @@ RDEPEND="
30 sys-apps/dbus[${MULTILIB_USEDEP}]
31 sys-libs/readline:0=
32 aac? ( >=media-libs/fdk-aac-0.1.1:=[${MULTILIB_USEDEP}] )
33 + lame? ( media-sound/lame[${MULTILIB_USEDEP}] )
34 + mpg123? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
35 hcitop? (
36 dev-libs/libbsd
37 sys-libs/ncurses:0=
38 )
39 ldac? ( >=media-libs/libldac-2.0.0 )
40 + ofono? ( net-misc/ofono )
41 + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
42 upower? ( sys-power/upower )
43 "
44 DEPEND="${RDEPEND}
45 test? ( dev-libs/check )"
46 -BDEPEND="virtual/pkgconfig"
47 +BDEPEND="
48 + virtual/pkgconfig
49 + man? ( app-text/pandoc )
50 +"
51
52 src_prepare() {
53 default
54 @@ -51,12 +58,16 @@ multilib_src_configure() {
55 --enable-rfcomm
56 $(use_enable aac)
57 $(use_enable debug)
58 - $(use_enable ofono)
59 + $(use_enable lame mp3lame)
60 + $(use_enable man manpages)
61 + $(use_enable mpg123)
62 $(use_enable static-libs static)
63 $(use_enable test)
64 $(multilib_native_use_enable hcitop)
65 $(multilib_native_use_enable ldac)
66 + $(multilib_native_use_enable ofono)
67 $(multilib_native_use_enable upower)
68 + $(use_with unwind libunwind)
69 )
70 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
71 }