[packages/slv2] Update for lv2-1.16

jajcus jajcus at pld-linux.org
Mon Feb 4 10:51:37 CET 2019


commit fc0b122cda47fad2646c7e3a087dd7269279479a
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Feb 4 10:51:06 2019 +0100

    Update for lv2-1.16
    
    Release: 9

 lv2core.patch | 12 ++++++++++++
 slv2.spec     |  8 +++++---
 2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/slv2.spec b/slv2.spec
index 9420b70..31febce 100644
--- a/slv2.spec
+++ b/slv2.spec
@@ -2,17 +2,18 @@ Summary:	LV2 host library to make LV2 plugin use as simple as possible
 Summary(pl.UTF-8):	Biblioteka hosta LV2 ułatwiająca korzystanie z wtyczek LV2
 Name:		slv2
 Version:	0.6.6
-Release:	8
+Release:	9
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://download.drobilla.net/%{name}-%{version}.tar.bz2
 # Source0-md5:	b8e8e0e82dd04324fcd533e8acd1ce85
 Patch0:		link.patch
+Patch1:		lv2core.patch
 URL:		http://drobilla.net/software/slv2/
 BuildRequires:	doxygen
 BuildRequires:	jack-audio-connection-kit-devel >= 0.107.0
 BuildRequires:	libraptor2-devel >= 2.0
-BuildRequires:	lv2core-devel >= 1.0
+BuildRequires:	lv2-devel >= 1.16
 BuildRequires:	pkgconfig
 BuildRequires:	python
 BuildRequires:	python-modules
@@ -43,7 +44,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki SLV2
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	libraptor2-devel >= 2.0
-Requires:	lv2core-devel >= 1.0
+Requires:	lv2-devel >= 1.16
 Requires:	redland-devel >= 1.0.13
 
 %description devel
@@ -81,6 +82,7 @@ Dokumentacja API SLV2 w formacie HTML.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 sed -i 's|/lib/|/%{_lib}/|g' src/world.c
 sed -i "s|/lib'|/%{_lib}'|" autowaf.py
 
diff --git a/lv2core.patch b/lv2core.patch
new file mode 100644
index 0000000..f60bb43
--- /dev/null
+++ b/lv2core.patch
@@ -0,0 +1,12 @@
+diff -dur slv2-0.6.6.orig/wscript slv2-0.6.6/wscript
+--- slv2-0.6.6.orig/wscript	2019-02-04 10:25:37.000000000 +0100
++++ slv2-0.6.6/wscript	2019-02-04 10:26:05.000000000 +0100
+@@ -48,7 +48,7 @@
+ def configure(conf):
+ 	autowaf.configure(conf)
+ 	autowaf.check_tool(conf, 'compiler_cc')
+-	autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', atleast_version='1.0', mandatory=True)
++	autowaf.check_pkg(conf, 'lv2', uselib_store='LV2CORE', atleast_version='1.0', mandatory=True)
+ 	autowaf.check_pkg(conf, 'redland', uselib_store='REDLAND', atleast_version='1.0.6', mandatory=True)
+ 	autowaf.check_pkg(conf, 'raptor2', uselib_store='RAPTOR', mandatory=True)
+ 	autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/slv2.git/commitdiff/fc0b122cda47fad2646c7e3a087dd7269279479a



More information about the pld-cvs-commit mailing list