[packages/wpe-webkit] - load rubygems for getoptlong, release 7
qboosh
qboosh at pld-linux.org
Tue Dec 1 19:48:02 CET 2026
commit 03c4a127f26d432835d352f39caa77d25036289c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 1 19:48:10 2026 +0100
- load rubygems for getoptlong, release 7
wpe-webkit.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/wpe-webkit.spec b/wpe-webkit.spec
index 517bc17..3670a46 100644
--- a/wpe-webkit.spec
+++ b/wpe-webkit.spec
@@ -20,7 +20,7 @@ Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do WPE
Name: wpe-webkit
# keep 2.44.x here for API 1.0; for 2.46+ with API 1.1 & 2.0 see wpe-webkit1.1.spec
Version: 2.44.4
-Release: 6
+Release: 7
License: BSD-like
Group: X11/Libraries
Source0: https://wpewebkit.org/releases/wpewebkit-%{version}.tar.lz
@@ -82,6 +82,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)
@@ -168,6 +169,8 @@ Dokumentacja API portu WebKitu do WPE.
%patch -P4 -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/wpe-webkit.git/commitdiff/03c4a127f26d432835d352f39caa77d25036289c
More information about the pld-cvs-commit
mailing list