SHA256
1
0
forked from pool/lilv

Accepting request 1083824 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1083824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lilv?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2023-05-02 14:18:29 +00:00 committed by Git OBS Bridge
commit 2f0f00c473
4 changed files with 36 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061
size 427404

BIN
lilv-0.24.20.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Dec 26 11:45:08 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz>
- 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 <rpm@fthiessen.de>

View File

@ -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