public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/obs-studio-plugin-webkitgtk] epel9: Use webkit2gtk-4.0 API module for older RHEL
@ 2026-10-14 21:30 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-14 21:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/obs-studio-plugin-webkitgtk
Branch : epel9
Commit : c942d6fa02b88c1e6245bae00889906e8ff253fb
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2023-09-17T08:19:51-04:00
Stats  : +13/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/obs-studio-plugin-webkitgtk/c/c942d6fa02b88c1e6245bae00889906e8ff253fb?branch=epel9

Log:
Use webkit2gtk-4.0 API module for older RHEL

---
diff --git a/obs-studio-plugin-webkitgtk.spec b/obs-studio-plugin-webkitgtk.spec
index d584a88..a4bf330 100644
--- a/obs-studio-plugin-webkitgtk.spec
+++ b/obs-studio-plugin-webkitgtk.spec
@@ -5,7 +5,7 @@
 
 Name:           obs-studio-plugin-webkitgtk
 Version:        0~git%{commitdate}.%{shortcommit}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        OBS Browser source plugin based on WebKitGTK
 
 License:        GPL-2.0-or-later
@@ -18,7 +18,11 @@ BuildRequires:  gcc
 BuildRequires:  pkgconfig(libobs)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
+%if 0%{?rhel} && 0%{?rhel} < 10
+BuildRequires:  pkgconfig(webkit2gtk-4.0)
+%else
 BuildRequires:  pkgconfig(webkit2gtk-4.1)
+%endif
 
 Supplements:    obs-studio%{?_isa}
 
@@ -33,6 +37,11 @@ Provides:       obs-webkitgtk%{?_isa} = %{version}-%{release}
 %prep
 %autosetup -n %{srcname}-%{commit}
 
+%if 0%{?rhel} && 0%{?rhel} < 10
+# Use webkit2gtk-4.0 API module for older RHEL
+sed -e 's/webkit2gtk-4.1/webkit2gtk-4.0/g' -i meson.build
+%endif
+
 
 %build
 %meson
@@ -50,6 +59,9 @@ Provides:       obs-webkitgtk%{?_isa} = %{version}-%{release}
 
 
 %changelog
+* Sat Sep 16 2023 Neal Gompa <ngompa@fedoraproject.org> - 0~git20230910.a2bc475-2
+- Use webkit2gtk-4.0 API module for older RHEL
+
 * Mon Sep 11 2023 Neal Gompa <ngompa@fedoraproject.org> - 0~git20230910.a2bc475-1
 - Update to new git snapshot
 

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

only message in thread, other threads:[~2026-10-14 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 21:30 [rpms/obs-studio-plugin-webkitgtk] epel9: Use webkit2gtk-4.0 API module for older RHEL Neal Gompa

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