[packages/gtk+3] use new meson macros
atler
atler at pld-linux.org
Wed Mar 5 22:59:09 CET 2025
commit 87b99e3a52d6d9eb974b7bcb63f8bc1f1d9eba19
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Mar 5 22:49:22 2025 +0100
use new meson macros
gtk+3.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk+3.spec b/gtk+3.spec
index 521425b..516b6f3 100644
--- a/gtk+3.spec
+++ b/gtk+3.spec
@@ -64,7 +64,7 @@ BuildRequires: perl-base
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpmbuild(macros) >= 2.042
BuildRequires: sed >= 4.0
BuildRequires: sqlite3-devel
%{?with_sysprof:BuildRequires: sysprof-devel >= 3.33.2}
@@ -295,7 +295,7 @@ cp -a demos examples _examples
%build
CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}"
-%meson build \
+%meson \
%{!?with_static_libs:--default-library=shared} \
-Dprint_backends=file,lpr%{?with_cups:,cups}%{?with_papi:,papi} \
-Dcloudproviders=%{__true_false cloudproviders} \
@@ -307,14 +307,14 @@ CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}"
-Dx11_backend=true \
-Dxinerama=yes
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/engines
install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/theming-engines
-%ninja_install -C build
+%meson_install
touch $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/gtk.immodules
install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk+3.git/commitdiff/c00ba7700a08800315e831ffd14fe7db332c0f6d
More information about the pld-cvs-commit
mailing list