From 649fd7193fc6a37e208cc507b8c4e283da40ebc658c1063e15805f612e844014 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 1 May 2023 07:08:19 +0000 Subject: [PATCH] Accepting request 1083645 from home:kill_it:branches:multimedia:libs - Update to 0.24.20 * Switch to meson 0.24.20 changes: * Adopt REUSE machine-readable licensing standard * Update project metadata 0.24.18 changes: * Allow programs to be used from subproject * Fix default LV2_PATH 0.24.16 changes: * Fix fallback flock() detection on MacOS * Switch to meson build system 0.24.14 changes: * Fix build issues with newer toolchains * Fix unused parameter warnings * Update zix tree OBS-URL: https://build.opensuse.org/request/show/1083645 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=43 --- lilv-0.24.12.tar.bz2 | 3 --- lilv-0.24.20.tar.xz | 3 +++ lilv.changes | 23 +++++++++++++++++++++++ lilv.spec | 34 ++++++++++------------------------ 4 files changed, 36 insertions(+), 27 deletions(-) delete mode 100644 lilv-0.24.12.tar.bz2 create mode 100644 lilv-0.24.20.tar.xz diff --git a/lilv-0.24.12.tar.bz2 b/lilv-0.24.12.tar.bz2 deleted file mode 100644 index 8c2842d..0000000 --- a/lilv-0.24.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061 -size 427404 diff --git a/lilv-0.24.20.tar.xz b/lilv-0.24.20.tar.xz new file mode 100644 index 0000000..a130fe0 --- /dev/null +++ b/lilv-0.24.20.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fb082b9b8b286ea92bbb71bde6b75624cecab6df0cc639ee75a2a096212eebc +size 118460 diff --git a/lilv.changes b/lilv.changes index 7be6b0d..0022dde 100644 --- a/lilv.changes +++ b/lilv.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Dec 26 11:45:08 UTC 2022 - Konstantin Voinov + +- Update to 0.24.20 + * Switch to meson + + 0.24.20 changes: + * Adopt REUSE machine-readable licensing standard + * Update project metadata + + 0.24.18 changes: + * Allow programs to be used from subproject + * Fix default LV2_PATH + + 0.24.16 changes: + * Fix fallback flock() detection on MacOS + * Switch to meson build system + + 0.24.14 changes: + * Fix build issues with newer toolchains + * Fix unused parameter warnings + * Update zix tree + ------------------------------------------------------------------- Sat Apr 23 22:17:23 UTC 2022 - Ferdinand Thiessen diff --git a/lilv.spec b/lilv.spec index 47fa95f..7a888bf 100644 --- a/lilv.spec +++ b/lilv.spec @@ -21,25 +21,25 @@ %define sordversion %(pkg-config --modversion sord-0) %define serdversion %(pkg-config --modversion serd-0) Name: lilv -Version: 0.24.12 +Version: 0.24.20 Release: 0 Summary: C library to make use of LV2 plugins License: ISC Group: Development/Libraries/C and C++ URL: https://drobilla.net/software/lilv.html -Source0: https://download.drobilla.net/lilv-%{version}.tar.bz2 +Source0: https://download.drobilla.net/lilv-%{version}.tar.xz Source99: lilv-rpmlintrc Source98: baselibs.conf BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz +BuildRequires: meson BuildRequires: pkgconfig %if %{with docs} BuildRequires: python3-Sphinx BuildRequires: python3-sphinx_lv2_theme %endif BuildRequires: python3-devel -BuildRequires: python3-numpy-devel BuildRequires: swig BuildRequires: pkgconfig(lv2) >= 1.8.0 BuildRequires: pkgconfig(serd-0) >= 0.30.0 @@ -76,6 +76,7 @@ This subpackage contains the development files for liblilv. %package -n python3-lilv Summary: Python 3 bindings for lilv Group: Development/Libraries/Python +Requires: liblilv-0-%{sover} = %{version} %description -n python3-lilv Lilv is a C library to make use of LV2 plugins in applications. @@ -86,27 +87,12 @@ This subpackage contains the Python 3 bindings for lilv. echo %{sordversion} %build -# TODO: The numpy path here is a hack. Check how to properly fix it. -export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/' -export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/' -python3 ./waf configure \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --docdir=%{_defaultdocdir} \ - --configdir=%{_sysconfdir} \ -%if %{with docs} - --docs \ -%endif - --test -# waf only understands -j, so do not use smp_mflags -python3 ./waf build -v %{?_smp_mflags} +%meson -Ddocs=disabled + +%meson_build %install -python3 ./waf install --destdir=%{?buildroot} -if [ %{python3_sitelib} != %{python3_sitearch} ]; then - mkdir -p %{buildroot}%{python3_sitearch} - mv %{buildroot}%{python3_sitelib}/lilv.py %{buildroot}%{python3_sitearch}/ -fi +%meson_install # Fix E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/lilv mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ mv %{buildroot}%{_sysconfdir}/bash_completion.d/lilv %{buildroot}%{_datadir}/bash-completion/completions/ @@ -116,12 +102,12 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d %postun -n liblilv-0-%{sover} -p /sbin/ldconfig %files -%attr(0755,-,-) %{_bindir}/lilv-bench %attr(0755,-,-) %{_bindir}/lv2bench %attr(0755,-,-) %{_bindir}/lv2info %attr(0755,-,-) %{_bindir}/lv2ls %attr(0755,-,-) %{_bindir}/lv2apply %doc AUTHORS NEWS README.md +%{_mandir}/man1/lv2bench.1%{?ext_man} %{_mandir}/man1/lv2info.1%{?ext_man} %{_mandir}/man1/lv2ls.1%{?ext_man} %{_mandir}/man1/lv2apply.1%{?ext_man} @@ -141,6 +127,6 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d %endif %files -n python3-lilv -%{python3_sitearch}/lilv.py +%{python3_sitelib}/lilv.py %changelog