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:
commit
2f0f00c473
@ -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
BIN
lilv-0.24.20.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
23
lilv.changes
23
lilv.changes
@ -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>
|
Sat Apr 23 22:17:23 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
34
lilv.spec
34
lilv.spec
@ -21,25 +21,25 @@
|
|||||||
%define sordversion %(pkg-config --modversion sord-0)
|
%define sordversion %(pkg-config --modversion sord-0)
|
||||||
%define serdversion %(pkg-config --modversion serd-0)
|
%define serdversion %(pkg-config --modversion serd-0)
|
||||||
Name: lilv
|
Name: lilv
|
||||||
Version: 0.24.12
|
Version: 0.24.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C library to make use of LV2 plugins
|
Summary: C library to make use of LV2 plugins
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://drobilla.net/software/lilv.html
|
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
|
Source99: lilv-rpmlintrc
|
||||||
Source98: baselibs.conf
|
Source98: baselibs.conf
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python3-sphinx_lv2_theme
|
BuildRequires: python3-sphinx_lv2_theme
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-numpy-devel
|
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRequires: pkgconfig(lv2) >= 1.8.0
|
BuildRequires: pkgconfig(lv2) >= 1.8.0
|
||||||
BuildRequires: pkgconfig(serd-0) >= 0.30.0
|
BuildRequires: pkgconfig(serd-0) >= 0.30.0
|
||||||
@ -76,6 +76,7 @@ This subpackage contains the development files for liblilv.
|
|||||||
%package -n python3-lilv
|
%package -n python3-lilv
|
||||||
Summary: Python 3 bindings for lilv
|
Summary: Python 3 bindings for lilv
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
Requires: liblilv-0-%{sover} = %{version}
|
||||||
|
|
||||||
%description -n python3-lilv
|
%description -n python3-lilv
|
||||||
Lilv is a C library to make use of LV2 plugins in applications.
|
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}
|
echo %{sordversion}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# TODO: The numpy path here is a hack. Check how to properly fix it.
|
%meson -Ddocs=disabled
|
||||||
export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
|
||||||
export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
%meson_build
|
||||||
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}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 ./waf install --destdir=%{?buildroot}
|
%meson_install
|
||||||
if [ %{python3_sitelib} != %{python3_sitearch} ]; then
|
|
||||||
mkdir -p %{buildroot}%{python3_sitearch}
|
|
||||||
mv %{buildroot}%{python3_sitelib}/lilv.py %{buildroot}%{python3_sitearch}/
|
|
||||||
fi
|
|
||||||
# Fix E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/lilv
|
# Fix E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/lilv
|
||||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
||||||
mv %{buildroot}%{_sysconfdir}/bash_completion.d/lilv %{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
|
%postun -n liblilv-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%attr(0755,-,-) %{_bindir}/lilv-bench
|
|
||||||
%attr(0755,-,-) %{_bindir}/lv2bench
|
%attr(0755,-,-) %{_bindir}/lv2bench
|
||||||
%attr(0755,-,-) %{_bindir}/lv2info
|
%attr(0755,-,-) %{_bindir}/lv2info
|
||||||
%attr(0755,-,-) %{_bindir}/lv2ls
|
%attr(0755,-,-) %{_bindir}/lv2ls
|
||||||
%attr(0755,-,-) %{_bindir}/lv2apply
|
%attr(0755,-,-) %{_bindir}/lv2apply
|
||||||
%doc AUTHORS NEWS README.md
|
%doc AUTHORS NEWS README.md
|
||||||
|
%{_mandir}/man1/lv2bench.1%{?ext_man}
|
||||||
%{_mandir}/man1/lv2info.1%{?ext_man}
|
%{_mandir}/man1/lv2info.1%{?ext_man}
|
||||||
%{_mandir}/man1/lv2ls.1%{?ext_man}
|
%{_mandir}/man1/lv2ls.1%{?ext_man}
|
||||||
%{_mandir}/man1/lv2apply.1%{?ext_man}
|
%{_mandir}/man1/lv2apply.1%{?ext_man}
|
||||||
@ -141,6 +127,6 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python3-lilv
|
%files -n python3-lilv
|
||||||
%{python3_sitearch}/lilv.py
|
%{python3_sitelib}/lilv.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user