Update build requires and macros

i9f changed/i9f/webkitgtk-2.44.3-2.el9.inferit
Arkady L. Shane 6 months ago
parent 3201017086
commit 9ccfe0bc22
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -33,7 +33,7 @@
Name: webkitgtk Name: webkitgtk
Version: 2.44.3 Version: 2.44.3
Release: %autorelease Release: %autorelease.inferit
Summary: GTK web content engine library Summary: GTK web content engine library
License: LGPLv2 License: LGPLv2
@ -52,7 +52,12 @@ ExcludeArch: %{ix86}
BuildRequires: bison BuildRequires: bison
BuildRequires: bubblewrap BuildRequires: bubblewrap
BuildRequires: cmake
# We need cmake new version cmake and macro %%limit_build
# to avoid missing debuginfo files
BuildRequires: cmake >= 3.28
BuildRequires: epel-rpm-macros >= 9-14.el9.inferit
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gettext BuildRequires: gettext
@ -335,7 +340,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
%global _dwz_max_die_limit_aarch64 250000000 %global _dwz_max_die_limit_aarch64 250000000
# Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough. # Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough.
%global _find_debuginfo_opts -j15 -m 32768 %global _find_debuginfo_opts %limit_build -m 32768
# Reduce debuginfo verbosity 32-bit builds to reduce memory consumption even more. # Reduce debuginfo verbosity 32-bit builds to reduce memory consumption even more.
# https://bugs.webkit.org/show_bug.cgi?id=140176 # https://bugs.webkit.org/show_bug.cgi?id=140176
@ -419,16 +424,16 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkitgtk-6.0 %define _vpath_builddir %{_vendor}-%{_target_os}-build/webkitgtk-6.0
export NINJA_STATUS="[1/3][%f/%t %es] " export NINJA_STATUS="[1/3][%f/%t %es] "
%cmake_build -j15 %cmake_build %limit_build -m 3072
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1 %define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1
export NINJA_STATUS="[2/3][%f/%t %es] " export NINJA_STATUS="[2/3][%f/%t %es] "
%cmake_build -j15 %cmake_build %limit_build -m 3072
%if %{with api40} %if %{with api40}
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0 %define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0
export NINJA_STATUS="[3/3][%f/%t %es] " export NINJA_STATUS="[3/3][%f/%t %es] "
%cmake_build -j15 %cmake_build %limit_build -m 3072
%endif %endif
%install %install
@ -619,7 +624,7 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%endif %endif
%changelog %changelog
* Sun Aug 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.44.3-2 * Sun Aug 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.44.3-2.inferit
- Rebuilt for MSVSphere 9.4 - Rebuilt for MSVSphere 9.4
- Build w/o api40 - Build w/o api40

Loading…
Cancel
Save