public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/obs-studio] epel9-next: Disable VPL/QSV plugin on non-x86_64
@ 2026-07-20 19:39 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-07-20 19:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/obs-studio
Branch : epel9-next
Commit : 15dcd56ae3251bab8e0c643c91d1c3d5af6a7510
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2023-09-11T16:57:21-04:00
Stats  : +15/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/obs-studio/c/15dcd56ae3251bab8e0c643c91d1c3d5af6a7510?branch=epel9-next

Log:
Disable VPL/QSV plugin on non-x86_64

---
diff --git a/obs-studio.spec b/obs-studio.spec
index 9a0437b..6fad5bd 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -5,6 +5,13 @@
 %bcond_without lua_scripting
 %endif
 
+%ifarch x86_64
+# VPL/QSV is only available on x86_64
+%bcond_without vpl
+%else
+%bcond_with vpl
+%endif
+
 # VLC is not yet in Fedora
 %bcond_with vlc
 # x264 is not in Fedora
@@ -93,7 +100,9 @@ BuildRequires:  libxkbcommon-devel
 BuildRequires:  luajit-devel
 %endif
 BuildRequires:  mbedtls-devel
+%if %{with vpl}
 BuildRequires:  oneVPL-devel
+%endif
 BuildRequires:  pciutils-devel
 BuildRequires:  pipewire-devel
 BuildRequires:  pipewire-jack-audio-connection-kit-devel
@@ -201,6 +210,12 @@ mv plugins/obs-x264/CMakeLists.txt plugins/obs-x264/CMakeLists.txt.disabled
 touch plugins/obs-x264/CMakeLists.txt
 %endif
 
+%if ! %{with vpl}
+# disable unusable qsv plugin
+mv plugins/obs-qsv11/CMakeLists.txt plugins/obs-qsv11/CMakeLists.txt.disabled
+touch plugins/obs-qsv11/CMakeLists.txt
+%endif
+
 # remove -Werror flag to mitigate FTBFS with ffmpeg 5.1
 sed -e 's|-Werror-implicit-function-declaration||g' -i cmake/Modules/CompilerConfig.cmake
 sed -e '/-Werror/d' -i cmake/Modules/CompilerConfig.cmake

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 19:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 19:39 [rpms/obs-studio] epel9-next: Disable VPL/QSV plugin on non-x86_64 Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox