Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-modules-bt/
Date: Sun, 31 Jul 2022 03:40:33
Message-Id: 1659238798.f2540638ea52a8ab8dd087caad671b3322295698.sam@gentoo
1 commit: f2540638ea52a8ab8dd087caad671b3322295698
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 03:39:58 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 03:39:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2540638
7
8 media-sound/pulseaudio-modules-bt: drop 1.4
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-sound/pulseaudio-modules-bt/Manifest | 1 -
13 .../pulseaudio-modules-bt-1.4.ebuild | 81 ----------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/media-sound/pulseaudio-modules-bt/Manifest b/media-sound/pulseaudio-modules-bt/Manifest
17 index 5558a7f3df34..555774eddc07 100644
18 --- a/media-sound/pulseaudio-modules-bt/Manifest
19 +++ b/media-sound/pulseaudio-modules-bt/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST pulseaudio-13.0.tar.xz 1901768 BLAKE2B 651a80f54525f196bcb036d893fedd4d9f34e10459918281397a45f498c31bff0d0c836f4e64aab5ac2612ffd5a0cab1a41ea710bbee5fd34dfc9ea1236deea9 SHA512 d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bde6cf2be68765d8f761452dbe1486fb10c739e40b1e67ed75787bbd24ac0c
22 DIST pulseaudio-15.0.tar.xz 1521760 BLAKE2B a6f7b74fdcfe7f2a993eafb9f465946915a24b6801d3077971b9377290d6c70b3f8640a800abd09d5901db96a20349f31b1beedd9da2249f69b591fb8392f489 SHA512 352ef20384c76c631c0faa73b08e2318902a433712e0c086a5ac7a0ae58873c8d4be8f35879bdec71a93b19ae8e2ba073cacac4d56215bcf58375a0cd9d88833
23 DIST pulseaudio-modules-bt-1.4.tar.gz 87558 BLAKE2B 98b21d8fced5b88d59e45ca4fa2505d3606616a8a09dd95eb91e30b0d31c8a0ec7e52e4c2fd1b601130f69a997871064849fa0c8847ec0686fb42a2ccd7ac43b SHA512 390b6ad0931b464a546c6624bec38cc5b6da7084e4defe2045f4164b0c910a9dd6d4327466eb0e53fcfbc78c995cf2e3634a75b67ee2a14f38ed18e31b5d2bce
24
25 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
26 deleted file mode 100644
27 index b1b9841188e7..000000000000
28 --- a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild
29 +++ /dev/null
30 @@ -1,81 +0,0 @@
31 -# Copyright 2019-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit cmake readme.gentoo-r1
36 -
37 -DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth"
38 -HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt"
39 -
40 -PULSE_VER="13.0"
41 -SRC_URI="
42 - https://github.com/EHfive/pulseaudio-modules-bt/archive/v${PV}.tar.gz -> ${P}.tar.gz
43 - https://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PULSE_VER}.tar.xz
44 -"
45 -
46 -LICENSE="GPL-3"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="fdk +ffmpeg +ldac +native-headset ofono-headset"
50 -
51 -DEPEND="
52 - fdk? ( media-libs/fdk-aac:0= )
53 - ffmpeg? ( media-video/ffmpeg )
54 - media-libs/sbc
55 - ldac? ( media-libs/libldac )
56 - >=net-wireless/bluez-5
57 - >=sys-apps/dbus-1.0.0
58 - ofono-headset? ( >=net-misc/ofono-1.13 )
59 - ( >=media-sound/pulseaudio-${PULSE_VER}[-bluetooth(-)] <media-sound/pulseaudio-15.99.1 )
60 -"
61 -# Ordinarily media-libs/libldac should be in DEPEND too, but for now upstream repo is using a ldac submodule instead.
62 -RDEPEND="${DEPEND}"
63 -BDEPEND=""
64 -
65 -DISABLE_AUTOFORMATTING="no"
66 -DOC_CONTENTS="
67 -After getting media-sound/pulseaudio merged without its bluetooth
68 -support (to not collide with this) you may have removed the loading
69 -of bluetooth modules in default.pa config file, leading to failure
70 -to use your bluetooth device (see
71 -https://github.com/EHfive/pulseaudio-modules-bt/issues/33).
72 -Please ensure you have this lines present in your /etc/pulse/default.pa
73 -file:
74 -
75 -.ifexists module-bluetooth-policy.so
76 -load-module module-bluetooth-policy
77 -.endif
78 -
79 -.ifexists module-bluetooth-discover.so
80 -load-module module-bluetooth-discover
81 -.endif
82 -"
83 -
84 -src_prepare() {
85 - cmake_src_prepare
86 -
87 - # pulseaudio headers needed to build
88 - rmdir pa/ || die
89 - ln -s ../pulseaudio-${PULSE_VER}/ pa || die
90 -}
91 -
92 -src_configure() {
93 - local mycmakeargs=(
94 - -DCODEC_AAC_FDK=$(usex fdk "ON" "OFF")
95 - -DCODEC_APTX_FF=$(usex ffmpeg "ON" "OFF")
96 - -DCODEC_APTX_HD_FF=$(usex ffmpeg "ON" "OFF")
97 - -DCODEC_LDAC=$(usex ldac "ON" "OFF")
98 - -DNATIVE_HEADSET=$(usex native-headset "ON" "OFF")
99 - -DOFONO_HEADSET=$(usex ofono-headset "ON" "OFF")
100 - )
101 - cmake_src_configure
102 -}
103 -
104 -src_install() {
105 - cmake_src_install
106 - readme.gentoo_create_doc
107 -}
108 -
109 -pkg_postinst() {
110 - readme.gentoo_print_elog
111 -}