1 |
commit: 4664467787ca26dc8ec56918e9619bfa7681b954 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 19:09:44 2021 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 20:08:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46644677 |
7 |
|
8 |
media-sound/pulseaudio-modules-bt: Port to cmake.utils |
9 |
|
10 |
Closes: https://bugs.gentoo.org/783408 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
.../pulseaudio-modules-bt-1.4.ebuild | 24 +++++++++++----------- |
15 |
1 file changed, 12 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild |
18 |
index 56a66ff8e9e..9139708288d 100644 |
19 |
--- a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild |
20 |
+++ b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild |
21 |
@@ -1,8 +1,8 @@ |
22 |
-# Copyright 2019-2020 Gentoo Authors |
23 |
+# Copyright 2019-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
-inherit cmake-utils readme.gentoo-r1 |
28 |
+inherit cmake readme.gentoo-r1 |
29 |
|
30 |
DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth" |
31 |
HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt" |
32 |
@@ -51,6 +51,14 @@ load-module module-bluetooth-discover |
33 |
.endif |
34 |
" |
35 |
|
36 |
+src_prepare() { |
37 |
+ cmake_src_prepare |
38 |
+ |
39 |
+ # pulseaudio headers needed to build |
40 |
+ rmdir pa/ || die |
41 |
+ ln -s ../pulseaudio-${PULSE_VER}/ pa || die |
42 |
+} |
43 |
+ |
44 |
src_configure() { |
45 |
local mycmakeargs=( |
46 |
-DCODEC_AAC_FDK=$(usex fdk "ON" "OFF") |
47 |
@@ -60,19 +68,11 @@ src_configure() { |
48 |
-DNATIVE_HEADSET=$(usex native-headset "ON" "OFF") |
49 |
-DOFONO_HEADSET=$(usex ofono-headset "ON" "OFF") |
50 |
) |
51 |
- cmake-utils_src_configure |
52 |
-} |
53 |
- |
54 |
-src_prepare() { |
55 |
- cmake-utils_src_prepare |
56 |
- |
57 |
- # pulseaudio headers needed to build |
58 |
- rmdir pa/ || die |
59 |
- ln -s ../pulseaudio-${PULSE_VER}/ pa || die |
60 |
+ cmake_src_configure |
61 |
} |
62 |
|
63 |
src_install() { |
64 |
- cmake-utils_src_install |
65 |
+ cmake_src_install |
66 |
readme.gentoo_create_doc |
67 |
} |