[packages/gtk-webkit4] - load rubygems for getoptlong, release 5
qboosh
qboosh at pld-linux.org
Tue Dec 1 17:43:04 CET 2026
commit c5869a411175e9fa03f54fac668df3bc6bf4b45f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 1 17:42:27 2026 +0100
- load rubygems for getoptlong, release 5
gtk-webkit4.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index acc0218..c749f1b 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -27,7 +27,7 @@ Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3
Name: gtk-webkit4
# 2.50.x is the last with webkit2gtk-4.0 library (gtk+3/libsoup-2 variant); other variants continuation in gtk-webkit4.1.spec
Version: 2.50.6
-Release: 4
+Release: 5
License: BSD-like
Group: X11/Libraries
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -109,6 +109,7 @@ BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 2.029
BuildRequires: ruby >= 1:2.5
BuildRequires: ruby-modules >= 1:2.5
+BuildRequires: ruby-rubygems
%if "%{ruby_version}" >= "3.0"
# ruby-getoptlong or ruby-bundled-gems
BuildRequires: rubygem(getoptlong)
@@ -206,6 +207,8 @@ Dokumentacja API portu WebKitu do GTK+ 3.
%patch -P5 -p1
%build
+# PLD ruby has rubygems disabled and getoptlong for 3.x is provided by bundled gems package
+export RUBYOPT="-rrubygems"
CXXFLAGS="%{rpmcxxflags} -DNDEBUG %{?with_lowmem:--param ggc-min-expand=20 --param ggc-min-heapsize=65536}"
%cmake -B build-soup2 \
-DENABLE_GEOLOCATION=ON \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/c5869a411175e9fa03f54fac668df3bc6bf4b45f
More information about the pld-cvs-commit
mailing list