public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/obs-studio] epel9-next: Disable VPL/QSV plugin on non-x86_64
Date: Mon, 20 Jul 2026 19:39:39 GMT	[thread overview]
Message-ID: <178457637998.1.8980289548263169782.rpms-obs-studio-15dcd56ae325@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-20 19:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457637998.1.8980289548263169782.rpms-obs-studio-15dcd56ae325@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox