commit: 1cac2f38740cf2fa60f555a22fbba569ec776f31 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 28 07:09:46 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 28 07:10:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cac2f38
media-video/simplescreenrecorder: fix pipewire automagic Wire it up as USE=screencast. Quoting a warning message in MainWindow.cpp: > SimpleScreenRecorder is able to record Wayland sessions using the > PipeWire backend, provided that your Wayland compositor supports it Closes: https://bugs.gentoo.org/956511 Signed-off-by: Sam James <sam <AT> gentoo.org> .../simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild | 4 +++- media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild index 2b6dbaf09cda..dcd50a277e38 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264" +IUSE="+asm jack mp3 opengl pulseaudio theora screencast v4l vorbis vpx x264" REQUIRED_USE="abi_x86_32? ( opengl )" @@ -39,6 +39,7 @@ RDEPEND=" mp3? ( media-video/ffmpeg[lame(-)] ) opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] ) pulseaudio? ( media-libs/libpulse ) + screencast? ( media-video/pipewire:= ) v4l? ( media-libs/libv4l ) " DEPEND="${RDEPEND}" @@ -70,6 +71,7 @@ multilib_src_configure() { -DENABLE_X86_ASM="$(usex asm)" -DWITH_OPENGL_RECORDING="$(usex opengl)" -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)" + -DWITH_PIPEWIRE="$(multilib_native_usex screencast)" -DWITH_JACK="$(multilib_native_usex jack)" -DWITH_GLINJECT="$(usex opengl)" -DWITH_V4L2="$(multilib_native_usex v4l)" diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild index 895f6b6ccbb4..068793e17dff 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild @@ -20,7 +20,7 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264" +IUSE="+asm jack mp3 opengl pulseaudio theora screencast v4l vorbis vpx x264" REQUIRED_USE="abi_x86_32? ( opengl )" @@ -38,6 +38,7 @@ RDEPEND=" mp3? ( media-video/ffmpeg[lame(-)] ) opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] ) pulseaudio? ( media-libs/libpulse ) + screencast? ( media-video/pipewire:= ) v4l? ( media-libs/libv4l ) " DEPEND="${RDEPEND}" @@ -67,6 +68,7 @@ multilib_src_configure() { -DENABLE_X86_ASM="$(usex asm)" -DWITH_OPENGL_RECORDING="$(usex opengl)" -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)" + -DWITH_PIPEWIRE="$(multilib_native_usex screencast)" -DWITH_JACK="$(multilib_native_usex jack)" -DWITH_GLINJECT="$(usex opengl)" -DWITH_V4L2="$(multilib_native_usex v4l)"
