1 |
commit: 63c71bc43e8f10e5c3cfca31cf64716b00c34da6 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 30 10:35:12 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 30 11:22:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c71bc4 |
7 |
|
8 |
media-sound/pulseaudio-modules-bt: Add info about extra configuration needed |
9 |
|
10 |
User will need to ensure that default.pa still loads needed modules, this is |
11 |
needed because as we need to build pulseaudio with USE -bluetooth to not |
12 |
collide, the newly generated default.pa file with remove that needed lines. |
13 |
|
14 |
See https://github.com/EHfive/pulseaudio-modules-bt/issues/33 |
15 |
|
16 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
17 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
18 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
19 |
|
20 |
.../pulseaudio-modules-bt-9999.ebuild | 30 +++++++++++++++++++++- |
21 |
1 file changed, 29 insertions(+), 1 deletion(-) |
22 |
|
23 |
diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild |
24 |
index 23b537c2088..3e6f061a1f3 100644 |
25 |
--- a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild |
26 |
+++ b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild |
27 |
@@ -3,7 +3,7 @@ |
28 |
|
29 |
EAPI=7 |
30 |
|
31 |
-inherit git-r3 cmake-utils |
32 |
+inherit git-r3 cmake-utils readme.gentoo-r1 |
33 |
|
34 |
DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth (alongside SBC and native+ofono headset)" |
35 |
HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt" |
36 |
@@ -32,3 +32,31 @@ BDEPEND="" |
37 |
|
38 |
CMAKE_MAKEFILE_GENERATOR="emake" |
39 |
mycmakeargs=( -DFORCE_NOT_BUILD_LDAC=ON ) |
40 |
+ |
41 |
+DISABLE_AUTOFORMATTING="no" |
42 |
+DOC_CONTENTS=" |
43 |
+After getting media-sound/pulseaudio merged without its bluetooth |
44 |
+support (to not collide with this) you may have removed the loading |
45 |
+of bluetooth modules in default.pa config file, leading to failure |
46 |
+to use your bluetooth device (see |
47 |
+https://github.com/EHfive/pulseaudio-modules-bt/issues/33). |
48 |
+Please ensure you have this lines present in your /etc/pulse/default.pa |
49 |
+file: |
50 |
+ |
51 |
+.ifexists module-bluetooth-policy.so |
52 |
+load-module module-bluetooth-policy |
53 |
+.endif |
54 |
+ |
55 |
+.ifexists module-bluetooth-discover.so |
56 |
+load-module module-bluetooth-discover |
57 |
+.endif |
58 |
+" |
59 |
+ |
60 |
+src_install() { |
61 |
+ cmake-utils_src_install |
62 |
+ readme.gentoo_create_doc |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ readme.gentoo_print_elog |
67 |
+} |