[packages/lv2-mda-plugins] - updated to 1.2.10, now uses meson
qboosh
qboosh at pld-linux.org
Fri Sep 2 17:52:57 CEST 2022
commit 2b4debbe65866985c96ce154560f1fdf8faeb236
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Sep 2 17:53:05 2022 +0200
- updated to 1.2.10, now uses meson
lv2-mda-plugins.spec | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/lv2-mda-plugins.spec b/lv2-mda-plugins.spec
index ede334e..d09d17f 100644
--- a/lv2-mda-plugins.spec
+++ b/lv2-mda-plugins.spec
@@ -1,17 +1,21 @@
Summary: Port of the MDA VST plugins to LV2
Summary(pl.UTF-8): Port wtyczek VST MDA do LV2
Name: lv2-mda-plugins
-Version: 1.2.6
+Version: 1.2.10
Release: 1
License: GPL v3+
Group: Libraries
-Source0: http://download.drobilla.net/mda-lv2-%{version}.tar.bz2
-# Source0-md5: 78712e8e1d2019c8bda6e164d1cd9115
+Source0: http://download.drobilla.net/mda-lv2-%{version}.tar.xz
+# Source0-md5: be5927457805943fc377bd56faae6373
URL: http://drobilla.net/software/mda-lv2/
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: lv2-devel >= 1.16.0
+BuildRequires: meson >= 0.56.0
+BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
-BuildRequires: python >= 2
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires: lv2 >= 1.16.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,30 +31,21 @@ Ten pakiet zawiera port wtyczek VST MDA do LV2.
%setup -q -n mda-lv2-%{version}
%build
-CC="%{__cc}" \
-CXX="%{__cxx}" \
-CFLAGS="%{rpmcflags}" \
-CXXFLAGS="%{rpmcxxflags}" \
-LDFLAGS="%{rpmldflags}" \
-./waf configure \
- --prefix=%{_prefix} \
- --libdir=%{_libdir} \
- --strict
-
-./waf -v
+%meson build
+
+%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
%files
%defattr(644,root,root,755)
-%doc README.md
+%doc NEWS README.md
%dir %{_libdir}/lv2/mda.lv2
%{_libdir}/lv2/mda.lv2/*.ttl
%attr(755,root,root) %{_libdir}/lv2/mda.lv2/*.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lv2-mda-plugins.git/commitdiff/2b4debbe65866985c96ce154560f1fdf8faeb236
More information about the pld-cvs-commit
mailing list