commit: 6dce51ceabf27b0d9322b3ddfc8dffaaae2fd775
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:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dce51ce
media-sound/pulseaudio-daemon: Add USE=aptx dependency on gst-plugins-openaptx
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/pulseaudio-daemon/metadata.xml | 3 +++
media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/media-sound/pulseaudio-daemon/metadata.xml
b/media-sound/pulseaudio-daemon/metadata.xml
index 4becd557166d..0a4437e23510 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -66,6 +66,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-daemon/pulseaudio-daemon-15.99.1.ebuild
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index dce91187153f..71655e65efbd 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -32,7 +32,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 elogind equalizer +gdbm
gstreamer +glib gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus 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"
RESTRICT="!test? ( test )"
@@ -127,6 +127,7 @@ RDEPEND="
bluetooth? (
gstreamer? (
ldac? ( media-plugins/gst-plugins-ldac )
+ aptx? ( media-plugins/gst-plugins-openaptx )
)
)
"