commit: e6f0b8e44a3e6c41b643b9d99aea83986cfe2a8e Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> AuthorDate: Mon Jul 17 21:21:58 2023 +0000 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> CommitDate: Mon Jul 17 21:45:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f0b8e4
media-video/obs-studio: add USE="qsv" Closes: https://bugs.gentoo.org/910361 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> media-video/obs-studio/metadata.xml | 1 + media-video/obs-studio/obs-studio-9999.ebuild | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/media-video/obs-studio/metadata.xml b/media-video/obs-studio/metadata.xml index 0d746963a49f..9b0f681b3e6d 100644 --- a/media-video/obs-studio/metadata.xml +++ b/media-video/obs-studio/metadata.xml @@ -17,6 +17,7 @@ <flag name="fdk">Build with LibFDK AAC support.</flag> <flag name="pipewire">Build with PipeWire support.</flag> <flag name="python">Build with scripting support for Python 3.</flag> + <flag name="qsv">Build with Intel Quick Sync Video support.</flag> <flag name="speex">Build with Speex noise suppression filter support.</flag> <flag name="ssl">Build with TLS/SSL support for RTMPS connections.</flag> <flag name="vlc">Build with VLC media source support.</flag> diff --git a/media-video/obs-studio/obs-studio-9999.ebuild b/media-video/obs-studio/obs-studio-9999.ebuild index 2ece905bf742..d6aec2b41846 100644 --- a/media-video/obs-studio/obs-studio-9999.ebuild +++ b/media-video/obs-studio/obs-studio-9999.ebuild @@ -43,7 +43,7 @@ LICENSE="Boost-1.0 GPL-2+ MIT Unlicense" SLOT="0" IUSE=" +alsa browser decklink fdk jack lua nvenc pipewire pulseaudio - python speex +ssl truetype v4l vlc wayland websocket + python qsv speex +ssl truetype v4l vlc wayland websocket " REQUIRED_USE=" browser? ( || ( alsa pulseaudio ) ) @@ -109,6 +109,7 @@ DEPEND=" pipewire? ( media-video/pipewire:= ) pulseaudio? ( media-libs/libpulse ) python? ( ${PYTHON_DEPS} ) + qsv? ( media-libs/oneVPL ) speex? ( media-libs/speexdsp ) ssl? ( net-libs/mbedtls:= ) truetype? ( @@ -189,6 +190,7 @@ src_configure() { -DENABLE_NEW_MPEGTS_OUTPUT=OFF # Requires librist and libsrt. -DENABLE_PIPEWIRE=$(usex pipewire) -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_QSV11=$(usex qsv) -DENABLE_RTMPS=$(usex ssl ON OFF) # Needed for bug 880861 -DENABLE_SPEEXDSP=$(usex speex) -DENABLE_V4L2=$(usex v4l)
