[packages/a2jmidid] - switched from waf to meson
qboosh
qboosh at pld-linux.org
Sat Feb 10 19:10:32 CET 2024
commit c74265152ae6700387affbd1a6977c793090e19f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 10 18:48:31 2024 +0100
- switched from waf to meson
a2jmidid.spec | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/a2jmidid.spec b/a2jmidid.spec
index 4bc95f2..9893c47 100644
--- a/a2jmidid.spec
+++ b/a2jmidid.spec
@@ -11,7 +11,10 @@ URL: https://a2jmidid.ladish.org/
BuildRequires: alsa-lib-devel
BuildRequires: dbus-devel
BuildRequires: jack-audio-connection-kit-devel
-BuildRequires: python
+BuildRequires: meson >= 0.50.0
+BuildRequires: ninja >= 1.5
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -28,21 +31,14 @@ MIDI JACK.
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' a2j_control
%build
-CC="%{__cc}" \
-CXX="%{__cxx}" \
-CPP="%{__cpp}" \
-CFLAGS="%{rpmcflags}" \
-CXXFLAGS="%{rpmcxxflags}" \
-LINKFLAGS="%{rpmldflags}" \
-./waf configure \
- --prefix="%{_prefix}"
+%meson build
-./waf build -vv
+%ninja_build -C build
%install
rm -rf $RPM_BUILD_ROOT
-./waf install --destdir=$RPM_BUILD_ROOT
+%ninja_install -C build
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/a2jmidid.git/commitdiff/c74265152ae6700387affbd1a6977c793090e19f
More information about the pld-cvs-commit
mailing list