commit e146a3d75709c383d52e324bd036dce105b91db5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Nov 15 22:19:49 2023 +0000
fix
obs-studio-freeworld.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/obs-studio-freeworld.spec b/obs-studio-freeworld.spec
index 506ab85..6013aec 100644
--- a/obs-studio-freeworld.spec
+++ b/obs-studio-freeworld.spec
@@ -218,6 +218,12 @@ sed -e '\|set(CMAKE_INSTALL_RPATH
"${CMAKE_INSTALL_PREFIX}/${OBS_LIBRARY_DESTINA
# touch the missing submodules
touch plugins/obs-browser/CMakeLists.txt
+%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