1 |
commit: 476b0e4d1badc14ab49fef86b09f487b545d0988 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 6 21:37:08 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 6 21:37:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476b0e4d |
7 |
|
8 |
media-video/pipewire: fix automagic lv2 dep |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
media-video/pipewire/metadata.xml | 1 + |
13 |
.../pipewire/{pipewire-0.3.43.ebuild => pipewire-0.3.43-r1.ebuild} | 4 +++- |
14 |
media-video/pipewire/pipewire-9999.ebuild | 4 +++- |
15 |
3 files changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/media-video/pipewire/metadata.xml b/media-video/pipewire/metadata.xml |
18 |
index 0629898f6956..ca29532fdfbe 100644 |
19 |
--- a/media-video/pipewire/metadata.xml |
20 |
+++ b/media-video/pipewire/metadata.xml |
21 |
@@ -27,6 +27,7 @@ |
22 |
<flag name="extra">Build pw-cat/pw-play/pw-record</flag> |
23 |
<flag name="jack-client">Install a plugin for running PipeWire as a JACK client</flag> |
24 |
<flag name="jack-sdk">Use PipeWire as JACK replacement</flag> |
25 |
+ <flag name="lv2">Allow loading LV2 plugins via <pkg>media-libs/lv2</pkg></flag> |
26 |
<flag name="pipewire-alsa">Replace PulseAudio's ALSA plugin with PipeWire's plugin</flag> |
27 |
<flag name="ssl">Enable raop-sink support (needs <pkg>dev-libs/openssl</pkg>)</flag> |
28 |
</use> |
29 |
|
30 |
diff --git a/media-video/pipewire/pipewire-0.3.43.ebuild b/media-video/pipewire/pipewire-0.3.43-r1.ebuild |
31 |
similarity index 98% |
32 |
rename from media-video/pipewire/pipewire-0.3.43.ebuild |
33 |
rename to media-video/pipewire/pipewire-0.3.43-r1.ebuild |
34 |
index 35187723a20e..984f1ef55dcd 100644 |
35 |
--- a/media-video/pipewire/pipewire-0.3.43.ebuild |
36 |
+++ b/media-video/pipewire/pipewire-0.3.43-r1.ebuild |
37 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://pipewire.org/" |
38 |
LICENSE="MIT LGPL-2.1+ GPL-2" |
39 |
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 |
40 |
SLOT="0/0.4" |
41 |
-IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk pipewire-alsa ssl systemd test usb v4l zeroconf" |
42 |
+IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk lv2 pipewire-alsa ssl systemd test usb v4l zeroconf" |
43 |
|
44 |
# Once replacing system JACK libraries is possible, it's likely that |
45 |
# jack-client IUSE will need blocking to avoid users accidentally |
46 |
@@ -72,6 +72,7 @@ RDEPEND=" |
47 |
!media-sound/jack-audio-connection-kit |
48 |
!media-sound/jack2 |
49 |
) |
50 |
+ lv2? ( media-libs/lv2 ) |
51 |
pipewire-alsa? ( |
52 |
>=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}] |
53 |
!media-plugins/alsa-plugins[${MULTILIB_USEDEP},pulseaudio] |
54 |
@@ -172,6 +173,7 @@ multilib_src_configure() { |
55 |
-Dsupport=enabled # Miscellaneous/common plugins, such as null sink |
56 |
-Devl=disabled # Matches upstream |
57 |
-Dtest=disabled # fakesink and fakesource plugins |
58 |
+ $(meson_native_use_feature lv2) |
59 |
$(meson_native_use_feature v4l v4l2) |
60 |
-Dlibcamera=disabled # libcamera is not in Portage tree |
61 |
$(meson_native_use_feature ssl raop) |
62 |
|
63 |
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild |
64 |
index 35187723a20e..984f1ef55dcd 100644 |
65 |
--- a/media-video/pipewire/pipewire-9999.ebuild |
66 |
+++ b/media-video/pipewire/pipewire-9999.ebuild |
67 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://pipewire.org/" |
68 |
LICENSE="MIT LGPL-2.1+ GPL-2" |
69 |
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 |
70 |
SLOT="0/0.4" |
71 |
-IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk pipewire-alsa ssl systemd test usb v4l zeroconf" |
72 |
+IUSE="bluetooth doc echo-cancel extra gstreamer jack-client jack-sdk lv2 pipewire-alsa ssl systemd test usb v4l zeroconf" |
73 |
|
74 |
# Once replacing system JACK libraries is possible, it's likely that |
75 |
# jack-client IUSE will need blocking to avoid users accidentally |
76 |
@@ -72,6 +72,7 @@ RDEPEND=" |
77 |
!media-sound/jack-audio-connection-kit |
78 |
!media-sound/jack2 |
79 |
) |
80 |
+ lv2? ( media-libs/lv2 ) |
81 |
pipewire-alsa? ( |
82 |
>=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}] |
83 |
!media-plugins/alsa-plugins[${MULTILIB_USEDEP},pulseaudio] |
84 |
@@ -172,6 +173,7 @@ multilib_src_configure() { |
85 |
-Dsupport=enabled # Miscellaneous/common plugins, such as null sink |
86 |
-Devl=disabled # Matches upstream |
87 |
-Dtest=disabled # fakesink and fakesource plugins |
88 |
+ $(meson_native_use_feature lv2) |
89 |
$(meson_native_use_feature v4l v4l2) |
90 |
-Dlibcamera=disabled # libcamera is not in Portage tree |
91 |
$(meson_native_use_feature ssl raop) |