summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-02-27 09:55:01 +0300
committerSam James <sam@gentoo.org>2022-03-18 00:30:02 +0000
commitd2c69cb217f17d3f74bc4bb09d9e4aef6eeab8f2 (patch)
treef7b28c1baf88381cf7145dbfe2ded4bc56e3ac66 /media-sound/pulseaudio
parentmedia-sound/pulseaudio-daemon: Add USE=ldac dependency on gst-plugins-ldac (diff)
downloadgentoo-d2c69cb217f17d3f74bc4bb09d9e4aef6eeab8f2.tar.gz
gentoo-d2c69cb217f17d3f74bc4bb09d9e4aef6eeab8f2.tar.bz2
gentoo-d2c69cb217f17d3f74bc4bb09d9e4aef6eeab8f2.zip
media-sound/pulseaudio: Add USE=ldac dependency on gst-plugins-ldac
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/pulseaudio')
-rw-r--r--media-sound/pulseaudio/metadata.xml3
-rw-r--r--media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild10
2 files changed, 11 insertions, 2 deletions
diff --git a/media-sound/pulseaudio/metadata.xml b/media-sound/pulseaudio/metadata.xml
index fb206e7f5fbd..01abb59241bf 100644
--- a/media-sound/pulseaudio/metadata.xml
+++ b/media-sound/pulseaudio/metadata.xml
@@ -78,5 +78,8 @@
Build with support for gstreamer including ability to use bluetooth codecs.
For bluetooth codecs see USE ldac and aptx.
</flag>
+ <flag name="ldac">
+ LDAC over Bluetooth (primarily Sony headphones), requires <pkg>media-plugins/gst-plugins-ldac</pkg>.
+ </flag>
</use>
</pkgmetadata>
diff --git a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
index ac37ff695614..7089233c71d2 100644
--- a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
@@ -29,11 +29,10 @@ LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
SLOT="0"
# +alsa-plugin as discussed in bug #519530
-# TODO: Deal with bluez5-gstreamer - requires ldacenc and rtpldacpay gstreamer elements
# 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
-gstreamer +glib gtk ipv6 jack lirc native-headset ofono-headset +orc oss selinux sox ssl systemd
+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 )"
@@ -159,6 +158,13 @@ RDEPEND="
acct-group/audio
acct-group/pulse-access
)
+ daemon? (
+ bluetooth? (
+ gstreamer? (
+ ldac? ( media-plugins/gst-plugins-ldac )
+ )
+ )
+ )
"
# This is a PDEPEND to avoid a circular dep