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-plugin-webkitgtk] epel9: Use webkit2gtk-4.0 API module for older RHEL
Date: Wed, 14 Oct 2026 21:30:38 GMT	[thread overview]
Message-ID: <179201343879.1.8253012871624700311.rpms-obs-studio-plugin-webkitgtk-c942d6fa02b8@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-14 21:30 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=179201343879.1.8253012871624700311.rpms-obs-studio-plugin-webkitgtk-c942d6fa02b8@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