[packages/ncmpc] use new meson macros
atler
atler at pld-linux.org
Fri Feb 21 02:04:04 CET 2025
commit 66a32eb50f5053fd805b32d601d4c4d1c9c58a18
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 20 23:55:40 2025 +0100
use new meson macros
ncmpc.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ncmpc.spec b/ncmpc.spec
index 9e25fed..b5e228e 100644
--- a/ncmpc.spec
+++ b/ncmpc.spec
@@ -18,7 +18,7 @@ BuildRequires: ncurses-devel
BuildRequires: ninja
BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.042
BuildRequires: sphinx-pdg
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -47,7 +47,7 @@ playlistami i sterowania MPD za pomocą pilota.
%{__sed} -i -e '1 s,#!.*env python3,#!%{__python3},' lyrics/*.py
%build
-%meson build \
+%meson \
-Dchat_screen=true \
-Dcolors=true \
-Ddocumentation=enabled \
@@ -62,12 +62,12 @@ playlistami i sterowania MPD za pomocą pilota.
-Dsong_screen=true \
-Dlirc=disabled
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
-%ninja_install -j1 -C build
+%meson_install -j1
rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ncmpc.git/commitdiff/1d0d710a797e90bc9a8904e512e854c0416bd6fd
More information about the pld-cvs-commit
mailing list