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:00 +0000
commitd222cf5f3c83ae337cddf681bad16a9b977775e5 (patch)
tree466b32d57b2ff15fb1eadb2bcbed2d02b0459dc0 /media-sound/pulseaudio-daemon
parentmedia-sound/pulseaudio-daemon: Enable bluez5-gstreamer (diff)
downloadgentoo-d222cf5f3c83ae337cddf681bad16a9b977775e5.tar.gz
gentoo-d222cf5f3c83ae337cddf681bad16a9b977775e5.tar.bz2
gentoo-d222cf5f3c83ae337cddf681bad16a9b977775e5.zip
media-sound/pulseaudio-daemon: 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-daemon')
-rw-r--r--media-sound/pulseaudio-daemon/metadata.xml3
-rw-r--r--media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild8
2 files changed, 9 insertions, 2 deletions
diff --git a/media-sound/pulseaudio-daemon/metadata.xml b/media-sound/pulseaudio-daemon/metadata.xml
index df06edf344b4..4becd557166d 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -66,5 +66,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-daemon/pulseaudio-daemon-15.99.1.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index 81f33c619506..dce91187153f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -30,10 +30,9 @@ 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 elogind equalizer +gdbm gstreamer +glib gtk ipv6 jack lirc
+IUSE="+alsa +alsa-plugin +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 )"
@@ -125,6 +124,11 @@ RDEPEND="
acct-group/audio
acct-group/pulse-access
)
+ bluetooth? (
+ gstreamer? (
+ ldac? ( media-plugins/gst-plugins-ldac )
+ )
+ )
"
# This is a PDEPEND to avoid a circular dep