summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-07-06 19:12:37 -0600
committerJoonas Niilola <juippis@gentoo.org>2024-07-27 10:06:43 +0300
commitabcbc1fa9dd58c1f9eda4f303111610a5f47230f (patch)
treeed774359397b254a658e895578c7d596610d20ac /gui-apps
parentgui-apps/wf-recorder: add myself as a maintainer (diff)
downloadgentoo-abcbc1fa9dd58c1f9eda4f303111610a5f47230f.tar.gz
gentoo-abcbc1fa9dd58c1f9eda4f303111610a5f47230f.tar.bz2
gentoo-abcbc1fa9dd58c1f9eda4f303111610a5f47230f.zip
gui-apps/wf-recorder: sync live
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Closes: https://github.com/gentoo/gentoo/pull/37463 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/wf-recorder/metadata.xml1
-rw-r--r--gui-apps/wf-recorder/wf-recorder-9999.ebuild7
2 files changed, 6 insertions, 2 deletions
diff --git a/gui-apps/wf-recorder/metadata.xml b/gui-apps/wf-recorder/metadata.xml
index b0e517678689..8b327b880ce5 100644
--- a/gui-apps/wf-recorder/metadata.xml
+++ b/gui-apps/wf-recorder/metadata.xml
@@ -14,5 +14,6 @@
</upstream>
<use>
<flag name="pulseaudio">Enable support for audio capture via PulseAudio</flag>
+ <flag name="pipewire">Enable support for audio capture via <pkg>media-video/pipewire</pkg>.</flag>
</use>
</pkgmetadata>
diff --git a/gui-apps/wf-recorder/wf-recorder-9999.ebuild b/gui-apps/wf-recorder/wf-recorder-9999.ebuild
index 3a7ded597607..8dd520dcaa2e 100644
--- a/gui-apps/wf-recorder/wf-recorder-9999.ebuild
+++ b/gui-apps/wf-recorder/wf-recorder-9999.ebuild
@@ -18,12 +18,14 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="pulseaudio"
+IUSE="pipewire pulseaudio"
DEPEND="
dev-libs/wayland
- media-libs/mesa[wayland]
+ media-libs/mesa[opengl,wayland]
media-video/ffmpeg[pulseaudio?,x264]
+ x11-libs/libdrm
+ pipewire? ( media-video/pipewire:= )
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="${DEPEND}"
@@ -36,6 +38,7 @@ BDEPEND="
src_configure() {
local emesonargs=(
$(meson_feature pulseaudio pulse)
+ $(meson_feature pipewire)
)
meson_src_configure
}