[packages/wlroots] use new meson macros
atler
atler at pld-linux.org
Thu Feb 20 14:13:07 CET 2025
commit d47d4346c41efbfa73975ee5e9918c748635df67
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 20 13:18:39 2025 +0100
use new meson macros
wlroots.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/wlroots.spec b/wlroots.spec
index 96df9ab..ca9039d 100644
--- a/wlroots.spec
+++ b/wlroots.spec
@@ -29,7 +29,7 @@ BuildRequires: meson >= 0.59.0
BuildRequires: ninja
BuildRequires: pixman-devel >= 0.42.0
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.042
BuildRequires: udev-devel
BuildRequires: wayland-devel >= 1.22
BuildRequires: wayland-protocols >= 1.32
@@ -134,16 +134,16 @@ Statyczna biblioteka wlroots.
%patch -P0 -p1
%build
-%meson build \
+%meson \
%{!?with_static_libs:--default-library=shared} \
-Dexamples=false \
-Dxwayland=enabled
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
+%meson_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wlroots.git/commitdiff/d47d4346c41efbfa73975ee5e9918c748635df67
More information about the pld-cvs-commit
mailing list