[packages/scrcpy] use new meson macros
atler
atler at pld-linux.org
Thu Feb 13 20:43:32 CET 2025
commit c7ecb06caf3199ab20a6dcbb38ff5d8bc24df33c
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 13 20:29:14 2025 +0100
use new meson macros
scrcpy.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/scrcpy.spec b/scrcpy.spec
index 98082b3..7822e9b 100644
--- a/scrcpy.spec
+++ b/scrcpy.spec
@@ -16,7 +16,7 @@ BuildRequires: meson >= 0.48
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.042
Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk-update-icon-cache
Requires: SDL2 >= 2.0.5
@@ -52,15 +52,15 @@ zsh-completion for scrcpy.
cp -p %{SOURCE1} %{name}-server
%build
-%meson build \
+%meson \
-Dprebuilt_server=%{name}-server
-%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/scrcpy.git/commitdiff/5de632cbc020b305a0f807536de2b2e9726109fc
More information about the pld-cvs-commit
mailing list