1 |
commit: 6d06f1f17739c5d5b3d5f23a9f1339ffc1f8afef |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 2 11:28:07 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 11:28:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d06f1f1 |
7 |
|
8 |
media-sound/bluez-alsa: Sync with upstream changes. |
9 |
|
10 |
Thanks-to: Arkadiusz Bokowy |
11 |
Closes: https://bugs.gentoo.org/659838 |
12 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
13 |
|
14 |
media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 20 ++++++++++---------- |
15 |
media-sound/bluez-alsa/files/bluealsa-conf.d-2 | 4 ++++ |
16 |
2 files changed, 14 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
19 |
index 8b3787db68d..186e2b9681c 100644 |
20 |
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
21 |
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild |
22 |
@@ -1,8 +1,8 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
-inherit autotools eutils multilib-minimal |
29 |
+EAPI=7 |
30 |
+inherit autotools multilib-minimal |
31 |
|
32 |
DESCRIPTION="Bluetooth Audio ALSA Backend" |
33 |
HOMEPAGE="https://github.com/Arkq/bluez-alsa" |
34 |
@@ -29,7 +29,6 @@ RDEPEND=">=dev-libs/glib-2.16[dbus,${MULTILIB_USEDEP}] |
35 |
sys-libs/ncurses:0= |
36 |
)" |
37 |
DEPEND="${RDEPEND} |
38 |
- net-libs/ortp |
39 |
virtual/pkgconfig" |
40 |
|
41 |
src_prepare() { |
42 |
@@ -38,19 +37,20 @@ src_prepare() { |
43 |
} |
44 |
|
45 |
multilib_src_configure() { |
46 |
- ECONF_SOURCE="${S}" \ |
47 |
- econf \ |
48 |
- $(use_enable aac) \ |
49 |
- $(use_enable debug) \ |
50 |
+ local myeconfargs=( |
51 |
+ $(use_enable aac) |
52 |
+ $(use_enable debug) |
53 |
$(multilib_native_use_enable hcitop) |
54 |
+ ) |
55 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
56 |
} |
57 |
|
58 |
multilib_src_install_all() { |
59 |
default |
60 |
- prune_libtool_files --modules |
61 |
+ find "${ED}" -name "*.la" -delete || die |
62 |
|
63 |
newinitd "${FILESDIR}"/bluealsa-init.d bluealsa |
64 |
- newconfd "${FILESDIR}"/bluealsa-conf.d bluealsa |
65 |
+ newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa |
66 |
} |
67 |
|
68 |
pkg_postinst() { |
69 |
|
70 |
diff --git a/media-sound/bluez-alsa/files/bluealsa-conf.d-2 b/media-sound/bluez-alsa/files/bluealsa-conf.d-2 |
71 |
new file mode 100644 |
72 |
index 00000000000..29d52f4a1fc |
73 |
--- /dev/null |
74 |
+++ b/media-sound/bluez-alsa/files/bluealsa-conf.d-2 |
75 |
@@ -0,0 +1,4 @@ |
76 |
+# Config file for /etc/init.d/bluealsa |
77 |
+ |
78 |
+# Allow additional options to be set |
79 |
+BLUEALSA_CONF="" |