summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-02-27 09:55:02 +0300
committerSam James <sam@gentoo.org>2022-03-18 00:30:05 +0000
commit8229ee340cdba6b83f3100c1718f854b284a5b54 (patch)
tree262e3dadc051ef18d53c68388c70a6638af7b895
parentmedia-sound/pulseaudio-daemon: Add USE=aptx dependency on gst-plugins-openaptx (diff)
downloadgentoo-8229ee340cdba6b83f3100c1718f854b284a5b54.tar.gz
gentoo-8229ee340cdba6b83f3100c1718f854b284a5b54.tar.bz2
gentoo-8229ee340cdba6b83f3100c1718f854b284a5b54.zip
media-sound/pulseaudio: Add USE=aptx dependency on gst-plugins-openaptx
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24369 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-sound/pulseaudio/metadata.xml3
-rw-r--r--media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild3
2 files changed, 5 insertions, 1 deletions
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 )
)
)
)