summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-06 21:37:08 +0000
committerSam James <sam@gentoo.org>2022-01-06 21:37:17 +0000
commit476b0e4d1badc14ab49fef86b09f487b545d0988 (patch)
treeb5f998893fa86d61573bf840ce8a11a939f99312
parentdev-php/PEAR-HTTP_Request2: add allarches to metadata (diff)
downloadgentoo-476b0e4d1badc14ab49fef86b09f487b545d0988.tar.gz
gentoo-476b0e4d1badc14ab49fef86b09f487b545d0988.tar.bz2
gentoo-476b0e4d1badc14ab49fef86b09f487b545d0988.zip
media-video/pipewire: fix automagic lv2 dep
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-video/pipewire/metadata.xml1
-rw-r--r--media-video/pipewire/pipewire-0.3.43-r1.ebuild (renamed from media-video/pipewire/pipewire-0.3.43.ebuild)4
-rw-r--r--media-video/pipewire/pipewire-9999.ebuild4
3 files changed, 7 insertions, 2 deletions
diff --git a/media-video/pipewire/metadata.xml b/media-video/pipewire/metadata.xml
index 0629898f6956..ca29532fdfbe 100644
--- a/media-video/pipewire/metadata.xml
+++ b/media-video/pipewire/metadata.xml
@@ -27,6 +27,7 @@
<flag name="extra">Build pw-cat/pw-play/pw-record</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="lv2">Allow loading LV2 plugins via <pkg>media-libs/lv2</pkg></flag>
<flag name="pipewire-alsa">Replace PulseAudio's ALSA plugin with PipeWire's plugin</flag>
<flag name="ssl">Enable raop-sink support (needs <pkg>dev-libs/openssl</pkg>)</flag>
</use>
diff --git a/media-video/pipewire/pipewire-0.3.43.ebuild b/media-video/pipewire/pipewire-0.3.43-r1.ebuild
index 35187723a20e..984f1ef55dcd 100644
--- a/media-video/pipewire/pipewire-0.3.43.ebuild
+++ b/media-video/pipewire/pipewire-0.3.43-r1.ebuild
@@ -21,7 +21,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 doc echo-cancel extra gstreamer jack-client jack-sdk pipewire-alsa ssl systemd test usb v4l zeroconf"
+IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk lv2 pipewire-alsa ssl systemd test usb v4l zeroconf"
# Once replacing system JACK libraries is possible, it's likely that
# jack-client IUSE will need blocking to avoid users accidentally
@@ -72,6 +72,7 @@ RDEPEND="
!media-sound/jack-audio-connection-kit
!media-sound/jack2
)
+ lv2? ( media-libs/lv2 )
pipewire-alsa? (
>=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}]
!media-plugins/alsa-plugins[${MULTILIB_USEDEP},pulseaudio]
@@ -172,6 +173,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 lv2)
$(meson_native_use_feature v4l v4l2)
-Dlibcamera=disabled # libcamera is not in Portage tree
$(meson_native_use_feature ssl raop)
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild
index 35187723a20e..984f1ef55dcd 100644
--- a/media-video/pipewire/pipewire-9999.ebuild
+++ b/media-video/pipewire/pipewire-9999.ebuild
@@ -21,7 +21,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 doc echo-cancel extra gstreamer jack-client jack-sdk pipewire-alsa ssl systemd test usb v4l zeroconf"
+IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk lv2 pipewire-alsa ssl systemd test usb v4l zeroconf"
# Once replacing system JACK libraries is possible, it's likely that
# jack-client IUSE will need blocking to avoid users accidentally
@@ -72,6 +72,7 @@ RDEPEND="
!media-sound/jack-audio-connection-kit
!media-sound/jack2
)
+ lv2? ( media-libs/lv2 )
pipewire-alsa? (
>=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}]
!media-plugins/alsa-plugins[${MULTILIB_USEDEP},pulseaudio]
@@ -172,6 +173,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 lv2)
$(meson_native_use_feature v4l v4l2)
-Dlibcamera=disabled # libcamera is not in Portage tree
$(meson_native_use_feature ssl raop)