summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@infinera.com>2023-06-24 18:10:25 +0200
committerSam James <sam@gentoo.org>2023-06-26 17:47:18 +0100
commite457e653f519717255b2be367af2481f70e14130 (patch)
tree35d3cd44411a96b3529f6f1318921d16ddf4ef80 /media-video
parentmedia-sound/liblc3: Initial ebuild with liblc3 codec (diff)
downloadgentoo-e457e653f519717255b2be367af2481f70e14130.tar.gz
gentoo-e457e653f519717255b2be367af2481f70e14130.tar.bz2
gentoo-e457e653f519717255b2be367af2481f70e14130.zip
media-video/pipewire: Add liblc3 support to 9999
Bug: https://bugs.gentoo.org/881581 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Closes: https://github.com/gentoo/gentoo/pull/31594 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/pipewire/metadata.xml1
-rw-r--r--media-video/pipewire/pipewire-9999.ebuild5
2 files changed, 4 insertions, 2 deletions
diff --git a/media-video/pipewire/metadata.xml b/media-video/pipewire/metadata.xml
index 4401131936e1..9e057760e21a 100644
--- a/media-video/pipewire/metadata.xml
+++ b/media-video/pipewire/metadata.xml
@@ -22,6 +22,7 @@
<flag name="gsettings">Use gsettings (<pkg>dev-libs/glib</pkg>) to read/save used modules (useful for e.g. <pkg>media-sound/paprefs</pkg></flag>
<flag name="jack-client">Install a plugin for running PipeWire as a JACK client</flag>
<flag name="jack-sdk">Use PipeWire as JACK replacement</flag>
+ <flag name="liblc3">Allow loading LC3 plugins via <pkg>media-sound/liblc3</pkg></flag>
<flag name="lv2">Allow loading LV2 plugins via <pkg>media-libs/lv2</pkg></flag>
<flag name="modemmanager">Combined with USE=bluetooth, allows PipeWire to perform telephony on mobile devices.</flag>
<flag name="pipewire-alsa">Replace PulseAudio's ALSA plugin with PipeWire's plugin</flag>
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild
index 33887a9e61c1..f52b45b36321 100644
--- a/media-video/pipewire/pipewire-9999.ebuild
+++ b/media-video/pipewire/pipewire-9999.ebuild
@@ -38,7 +38,7 @@ HOMEPAGE="https://pipewire.org/"
LICENSE="MIT LGPL-2.1+ GPL-2"
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
SLOT="0/0.4"
-IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings jack-client jack-sdk lv2
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings jack-client jack-sdk liblc3 lv2
modemmanager pipewire-alsa readline sound-server ssl system-service systemd test v4l X zeroconf"
# Once replacing system JACK libraries is possible, it's likely that
@@ -111,6 +111,7 @@ RDEPEND="
!media-sound/jack-audio-connection-kit
!media-sound/jack2
)
+ liblc3? ( media-sound/liblc3 )
lv2? ( media-libs/lilv )
modemmanager? ( >=net-misc/modemmanager-1.10.0 )
pipewire-alsa? ( >=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}] )
@@ -206,7 +207,6 @@ multilib_src_configure() {
$(meson_native_use_feature echo-cancel echo-cancel-webrtc) #807889
# Not yet packaged.
# http://www.bluez.org/le-audio-support-in-pipewire/
- -Dbluez5-codec-lc3=disabled
-Dbluez5-codec-lc3plus=disabled
-Dcontrol=enabled # Matches upstream
-Daudiotestsrc=enabled # Matches upstream
@@ -220,6 +220,7 @@ multilib_src_configure() {
-Dsupport=enabled # Miscellaneous/common plugins, such as null sink
-Devl=disabled # Matches upstream
-Dtest=disabled # fakesink and fakesource plugins
+ $(meson_native_use_feature liblc3 bluez5-codec-lc3)
$(meson_native_use_feature lv2)
$(meson_native_use_feature v4l v4l2)
-Dlibcamera=disabled # libcamera is not in Portage tree