Accepting request 538933 from multimedia:libs
Revert devel package name to original, causes unresolvables. - Switch to python3 - Run spec cleaner - Rename devel subpackage - Update to version 0.24.2 - Remove patch lilv-python-bindings-fix.diff it's now incorporated by upstream. - Upstream changes: Fix saving state to paths that contain URI delimiters Fix comparison of restored states with paths Add new hand-crafted Pythonic bindings with full test coverage. Add lv2apply utility for applying plugins to audio files Add lilv_world_get_symbol() Add lilv_state_set_metadata() for adding state banks/comments /etc (based on patch from Hanspeter Portner) Fix crash when state contains non-POD properties Fix crash if NULL predicate passed to lilv_world_find_nodes() Fix state file versioning Unload contained resources when bundle is unloaded Do not instantiate plugin when data fails to parse Support re-loading plugins Replace bundles if bundle with newer plugin version is loaded Fix loading dyn-manifest from bundles with spaces in path Check lv2:binary predicate for UIs Add LILV_URI_ATOM_PORT and LILV_URI_CV_PORT defines Fix documentation installation Fix outdated comment references to lilv_uri_to_path() OBS-URL: https://build.opensuse.org/request/show/538933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lilv?expand=0&rev=12
This commit is contained in:
commit
e2ed8cc2b2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cd279321223ef11ca01551767d3c16d68cb31f689e02320a0b2e37b4f7d17ab4
|
|
||||||
size 217207
|
|
3
lilv-0.24.2.tar.bz2
Normal file
3
lilv-0.24.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7ec65b1c1f1734ded3a6c051bbaf50f996a0b8b77e814a33a34e42bce50a522
|
||||||
|
size 244764
|
File diff suppressed because one or more lines are too long
40
lilv.changes
40
lilv.changes
@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 4 10:56:58 UTC 2017 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Revert devel package name to original, causes unresolvables.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 3 12:55:41 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Switch to python3
|
||||||
|
- Run spec cleaner
|
||||||
|
- Rename devel subpackage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 3 08:38:36 UTC 2017 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.24.2
|
||||||
|
- Remove patch lilv-python-bindings-fix.diff it's now incorporated
|
||||||
|
by upstream.
|
||||||
|
- Upstream changes:
|
||||||
|
Fix saving state to paths that contain URI delimiters
|
||||||
|
Fix comparison of restored states with paths
|
||||||
|
Add new hand-crafted Pythonic bindings with full test
|
||||||
|
coverage.
|
||||||
|
Add lv2apply utility for applying plugins to audio files
|
||||||
|
Add lilv_world_get_symbol()
|
||||||
|
Add lilv_state_set_metadata() for adding state banks/comments
|
||||||
|
/etc (based on patch from Hanspeter Portner)
|
||||||
|
Fix crash when state contains non-POD properties
|
||||||
|
Fix crash if NULL predicate passed to lilv_world_find_nodes()
|
||||||
|
Fix state file versioning
|
||||||
|
Unload contained resources when bundle is unloaded
|
||||||
|
Do not instantiate plugin when data fails to parse
|
||||||
|
Support re-loading plugins
|
||||||
|
Replace bundles if bundle with newer plugin version is loaded
|
||||||
|
Fix loading dyn-manifest from bundles with spaces in path
|
||||||
|
Check lv2:binary predicate for UIs
|
||||||
|
Add LILV_URI_ATOM_PORT and LILV_URI_CV_PORT defines
|
||||||
|
Fix documentation installation
|
||||||
|
Fix outdated comment references to lilv_uri_to_path()
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 2 01:11:33 UTC 2017 - jengelh@inai.de
|
Thu Feb 2 01:11:33 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
49
lilv.spec
49
lilv.spec
@ -18,9 +18,8 @@
|
|||||||
|
|
||||||
%define sover 0
|
%define sover 0
|
||||||
%define sordversion %(pkg-config --modversion sord-0)
|
%define sordversion %(pkg-config --modversion sord-0)
|
||||||
|
|
||||||
Name: lilv
|
Name: lilv
|
||||||
Version: 0.22.0
|
Version: 0.24.2
|
||||||
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
|
||||||
@ -29,24 +28,21 @@ Url: http://drobilla.net/software/lilv/
|
|||||||
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
||||||
Source98: baselibs.conf
|
Source98: baselibs.conf
|
||||||
Source99: lilv-rpmlintrc
|
Source99: lilv-rpmlintrc
|
||||||
# Patch backported from v 0.22.1 http://dev.drobilla.net/changeset/5759
|
|
||||||
Patch0: lilv-python-bindings-fix.diff
|
|
||||||
|
|
||||||
# lilv 0.22 require new API of sord 0.13
|
# lilv 0.22 require new API of sord 0.13
|
||||||
# Since sord sover unchanged from 0.12, explicitly require here.
|
# Since sord sover unchanged from 0.12, explicitly require here.
|
||||||
|
Requires(pre): liblilv-0-%{sover} = %{version}
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-numpy-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.14.0
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
||||||
|
BuildRequires: pkgconfig(sndfile)
|
||||||
BuildRequires: pkgconfig(sord-0) >= 0.13
|
BuildRequires: pkgconfig(sord-0) >= 0.13
|
||||||
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
||||||
Requires(pre): liblilv-0-%{sover} = %{version}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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.
|
||||||
@ -69,69 +65,66 @@ Requires: liblilv-0-%{sover} = %{version}
|
|||||||
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.
|
||||||
This subpackage contains the development files for liblilv.
|
This subpackage contains the development files for liblilv.
|
||||||
|
|
||||||
%package -n python-lilv
|
%package -n python3-lilv
|
||||||
Summary: Python bindings for lilv
|
Summary: Python 3 bindings for lilv
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
|
||||||
%description -n python-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.
|
||||||
This subpackage contains the Python bindings for lilv.
|
This subpackage contains the Python 3 bindings for lilv.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
echo %{sordversion}
|
echo %{sordversion}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# TODO: The numpy path here is a hack. Check how to properly fix it.
|
# TODO: The numpy path here is a hack. Check how to properly fix it.
|
||||||
export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
||||||
export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
||||||
./waf configure \
|
python3 ./waf configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--docdir=%{_defaultdocdir} \
|
--docdir=%{_defaultdocdir} \
|
||||||
--configdir=%{_sysconfdir} \
|
--configdir=%{_sysconfdir} \
|
||||||
|
--test \
|
||||||
--bindings \
|
--bindings \
|
||||||
--docs
|
--docs
|
||||||
# waf only understands -j, so do not use smp_mflags
|
# waf only understands -j, so do not use smp_mflags
|
||||||
./waf build -v %{?jobs:-j%jobs}
|
python3 ./waf build -v %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./waf install --destdir=%{?buildroot}
|
python3 ./waf install --destdir=%{?buildroot}
|
||||||
if [ %{python_sitelib} != %{python_sitearch} ]; then
|
if [ %{python3_sitelib} != %{python3_sitearch} ]; then
|
||||||
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
mkdir -p %{buildroot}%{python3_sitearch}
|
||||||
|
mv %{buildroot}%{python3_sitelib}/lilv.py %{buildroot}%{python3_sitearch}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n liblilv-0-%{sover} -p /sbin/ldconfig
|
%post -n liblilv-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n liblilv-0-%{sover} -p /sbin/ldconfig
|
%postun -n liblilv-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%attr(0755,-,-) %{_bindir}/lilv-bench
|
%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
|
||||||
%{_mandir}/man1/lv2info.1*
|
%{_mandir}/man1/lv2info.1*
|
||||||
%{_mandir}/man1/lv2ls.1*
|
%{_mandir}/man1/lv2ls.1*
|
||||||
|
%{_mandir}/man1/lv2apply.1*
|
||||||
%{_sysconfdir}/bash_completion.d/lilv
|
%{_sysconfdir}/bash_completion.d/lilv
|
||||||
|
|
||||||
%files -n liblilv-0-%{sover}
|
%files -n liblilv-0-%{sover}
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
%{_libdir}/liblilv-0.so.%{sover}*
|
%{_libdir}/liblilv-0.so.%{sover}*
|
||||||
|
|
||||||
%files -n liblilv-0-devel
|
%files -n liblilv-0-devel
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_libdir}/liblilv-0.so
|
%{_libdir}/liblilv-0.so
|
||||||
%{_includedir}/lilv-0/
|
%{_includedir}/lilv-0/
|
||||||
%{_libdir}/pkgconfig/lilv-0.pc
|
%{_libdir}/pkgconfig/lilv-0.pc
|
||||||
%{_defaultdocdir}/lilv-0/
|
%{_defaultdocdir}/lilv-0/
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files -n python-lilv
|
%files -n python3-lilv
|
||||||
%defattr(0644,root,root,0755)
|
%{python3_sitearch}/lilv.py
|
||||||
%{python_sitearch}/lilv.py
|
|
||||||
%{python_sitearch}/_lilv.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user