- Add lilv-0.16.0-python_bindings.patch
- The minimum sord version is now 0.12.0 - The documentation directory is now versioned OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=8
This commit is contained in:
parent
ccd3d902cd
commit
dea7483b83
44
lilv-0.16.0-python_bindings.patch
Normal file
44
lilv-0.16.0-python_bindings.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Index: lilv/lilvmm.hpp
|
||||||
|
===================================================================
|
||||||
|
--- lilv/lilvmm.hpp (revision 5091)
|
||||||
|
+++ lilv/lilvmm.hpp (revision 5092)
|
||||||
|
@@ -49,6 +49,11 @@
|
||||||
|
return lilv_ ## prefix ## _ ## name(me, a1, a2); \
|
||||||
|
}
|
||||||
|
|
||||||
|
+#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \
|
||||||
|
+ inline RT name(T1 a1, T2 a2, T3 a3) { \
|
||||||
|
+ return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
#define LILV_WRAP2_VOID(prefix, name, T1, a1, T2, a2) \
|
||||||
|
inline void name(T1 a1, T2 a2) { lilv_ ## prefix ## _ ## name(me, a1, a2); }
|
||||||
|
|
||||||
|
@@ -139,6 +144,27 @@
|
||||||
|
LILV_WRAP0(Node, nodes, get_first);
|
||||||
|
};
|
||||||
|
|
||||||
|
+struct UI {
|
||||||
|
+ inline UI(const LilvUI* c_obj) : me(c_obj) {}
|
||||||
|
+ LILV_WRAP_CONVERSION(const LilvUI);
|
||||||
|
+
|
||||||
|
+ LILV_WRAP0(const LilvNode*, ui, get_uri);
|
||||||
|
+ LILV_WRAP0(const LilvNode*, ui, get_bundle_uri);
|
||||||
|
+ LILV_WRAP0(const LilvNode*, ui, get_binary_uri);
|
||||||
|
+ LILV_WRAP0(const LilvNodes*, ui, get_classes);
|
||||||
|
+ /*LILV_WRAP3(bool, ui, is_supported,
|
||||||
|
+ LilvUISupportedFunc, supported_func,
|
||||||
|
+ const LilvNode*, container_type,
|
||||||
|
+ const LilvNode**, ui_type);*/
|
||||||
|
+ LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri);
|
||||||
|
+
|
||||||
|
+ const LilvUI* me;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+struct UIs {
|
||||||
|
+ LILV_WRAP_COLL(UIs, UI, uis);
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
struct Port {
|
||||||
|
inline Port(const LilvPlugin* p, const LilvPort* c_obj)
|
||||||
|
: parent(p), me(c_obj)
|
@ -20,6 +20,9 @@ Thu Sep 5 21:06:32 UTC 2013 - reddwarf@opensuse.org
|
|||||||
* lilvmm.hpp: Add several missing methods
|
* lilvmm.hpp: Add several missing methods
|
||||||
* Update to waf 1.7.8 and autowaf r90 (install docs to versioned directory)
|
* Update to waf 1.7.8 and autowaf r90 (install docs to versioned directory)
|
||||||
- Remove lilv-0.14.4-build_compare.patch, applied upstream
|
- Remove lilv-0.14.4-build_compare.patch, applied upstream
|
||||||
|
- Add lilv-0.16.0-python_bindings.patch
|
||||||
|
- The minimum sord version is now 0.12.0
|
||||||
|
- The documentation directory is now versioned
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 26 23:11:36 UTC 2012 - reddwarf@opensuse.org
|
Sun Aug 26 23:11:36 UTC 2012 - reddwarf@opensuse.org
|
||||||
|
@ -26,6 +26,8 @@ License: ISC
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://drobilla.net/software/lilv/
|
Url: http://drobilla.net/software/lilv/
|
||||||
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
||||||
|
# From upstream SVN, remove with next version
|
||||||
|
Patch0: lilv-0.16.0-python_bindings.patch
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
@ -34,7 +36,7 @@ BuildRequires: python-devel
|
|||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRequires: pkgconfig(lv2) >= 1.0.0
|
BuildRequires: pkgconfig(lv2) >= 1.0.0
|
||||||
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
||||||
BuildRequires: pkgconfig(sord-0) >= 0.8.0
|
BuildRequires: pkgconfig(sord-0) >= 0.12.0
|
||||||
BuildRequires: pkgconfig(sratom-0) >= 0.2.0
|
BuildRequires: pkgconfig(sratom-0) >= 0.2.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -64,6 +66,7 @@ Python bindings for lilv.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS='%{optflags}'
|
export CFLAGS='%{optflags}'
|
||||||
@ -108,7 +111,7 @@ fi
|
|||||||
%{_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/
|
%{_defaultdocdir}/lilv-0/
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files -n python-lilv
|
%files -n python-lilv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user