commit:     8229ee340cdba6b83f3100c1718f854b284a5b54
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sun Feb 27 06:55:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 00:30:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8229ee34

media-sound/pulseaudio: Add USE=aptx dependency on gst-plugins-openaptx

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pulseaudio/metadata.xml              | 3 +++
 media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/metadata.xml 
b/media-sound/pulseaudio/metadata.xml
index 01abb59241bf..fff0ae344a5d 100644
--- a/media-sound/pulseaudio/metadata.xml
+++ b/media-sound/pulseaudio/metadata.xml
@@ -78,6 +78,9 @@
       Build with support for gstreamer including ability to use bluetooth 
codecs.
       For bluetooth codecs see USE ldac and aptx.
     </flag>
+    <flag name="aptx">
+      aptX (HD) over Bluetooth (many Android compatible headphones), requires 
<pkg>media-plugins/gst-plugins-openaptx</pkg>.
+    </flag>
     <flag name="ldac">
       LDAC over Bluetooth (primarily Sony headphones), requires 
<pkg>media-plugins/gst-plugins-ldac</pkg>.
     </flag>

diff --git a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild 
b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
index 7089233c71d2..21060b033fd1 100644
--- a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
@@ -31,7 +31,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin +asyncns bluetooth dbus +daemon doc elogind equalizer 
+gdbm
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus +daemon doc elogind 
equalizer +gdbm
 gstreamer +glib gtk ipv6 jack ldac lirc native-headset ofono-headset +orc oss 
selinux sox ssl systemd
 system-wide tcpd test +udev +webrtc-aec +X zeroconf"
 
@@ -162,6 +162,7 @@ RDEPEND="
                bluetooth? (
                        gstreamer? (
                                ldac? ( media-plugins/gst-plugins-ldac )
+                               aptx? ( media-plugins/gst-plugins-openaptx )
                        )
                )
        )

Reply via email to