Accepting request 130641 from home:RedDwarf
- Update to 0.14.2 * Fix dynmanifest support * Add lilv_plugin_get_extension_data * Use path variables in pkgconfig files * Install man page to DATADIR (e.g. PREFIX/share/man, not PREFIX/man) * Make Lilv::uri_to_path static inline (fix linking errors) * Use correct URI for dcterms:replaces (for hiding old plugins): "http://purl.org/dc/terms/replaces" * Fix compilation on BSD * Only load dynmanifest libraries once per bundle, not once per plugin * Fix lilv_world_find_nodes to work with wildcard subjects * Add lilv_plugin_get_related to get resources related to plugins that are not directly rdfs:seeAlso linked (e.g. presets) * Add lilv_world_load_resource for related resources (e.g. presets) * Print presets in lv2info * Remove locale smashing kludges and use new serd functions for converting nodes to/from numbers. * Add LilvState API for handling plugin state. This makes it simple to save and restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. * Update old references to lv2_list (now lv2ls) * Support compilation as C++ under MSVC++. * Remove use of wordexp. * Add lilv_plugin_get_port_by_designation() and lilv_port_get_index() as an improved generic alternative to lilv_plugin_get_latency_port_index(). * Add lilv_plugin_get_project() and get author information from project if it is not given directly on the plugin. * Remove glib dependency * Add lv2core as a pkg-config dependency (for lv2.h header include) OBS-URL: https://build.opensuse.org/request/show/130641 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=3
This commit is contained in:
parent
62c6d03fa8
commit
43e26455e9
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,5 +21,3 @@
|
|||||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
## Specific LFS patterns
|
|
||||||
lv2_shaded_blue.svg filter=lfs diff=lfs merge=lfs -text
|
|
||||||
|
3
lilv-0.14.2.tar.bz2
Normal file
3
lilv-0.14.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9dfe73ed20b0db8f8933e6f981a0e6502c318324301b069ad27bce8e5c793a3d
|
||||||
|
size 176739
|
@ -1,77 +0,0 @@
|
|||||||
Index: wscript
|
|
||||||
===================================================================
|
|
||||||
--- wscript.orig 2011-06-03 18:51:51.976991193 +0200
|
|
||||||
+++ wscript 2011-06-03 18:56:04.153991150 +0200
|
|
||||||
@@ -9,7 +9,7 @@ import waflib.Logs as Logs
|
|
||||||
|
|
||||||
# Version of this package (even if built as a child)
|
|
||||||
LILV_VERSION = '0.4.2'
|
|
||||||
-LILV_MAJOR_VERSION = '0'
|
|
||||||
+LILV_MAJOR_VERSION = ''
|
|
||||||
|
|
||||||
# Library version (UNIX style major, minor, micro)
|
|
||||||
# major increment <=> incompatible changes
|
|
||||||
@@ -70,7 +70,9 @@ def configure(conf):
|
|
||||||
atleast_version='2.0.0', mandatory=True)
|
|
||||||
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD',
|
|
||||||
atleast_version='2.0.0', mandatory=False)
|
|
||||||
- autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
|
|
||||||
+ autowaf.check_pkg(conf, 'sord', uselib_store='SORD',
|
|
||||||
+ atleast_version='0.4.0', mandatory=True)
|
|
||||||
+ autowaf.check_pkg(conf, 'serd', uselib_store='SERD',
|
|
||||||
atleast_version='0.4.0', mandatory=True)
|
|
||||||
autowaf.check_pkg(conf, 'jack', uselib_store='JACK',
|
|
||||||
atleast_version='0.107.0', mandatory=False)
|
|
||||||
@@ -129,7 +131,7 @@ def configure(conf):
|
|
||||||
conf.env['BUILD_UTILS'] = not Options.options.no_utils
|
|
||||||
conf.env['BASH_COMPLETION'] = not Options.options.no_bash_completion
|
|
||||||
|
|
||||||
- conf.env['LIB_LILV'] = ['lilv-%s' % LILV_MAJOR_VERSION]
|
|
||||||
+ conf.env['LIB_LILV'] = ['lilv%s' % LILV_MAJOR_VERSION]
|
|
||||||
|
|
||||||
if conf.is_defined('HAVE_JACK') and not Options.options.no_jack:
|
|
||||||
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/event/event.h',
|
|
||||||
@@ -197,14 +199,14 @@ def build(bld):
|
|
||||||
source = lib_source,
|
|
||||||
includes = ['.', './src'],
|
|
||||||
name = 'liblilv',
|
|
||||||
- target = 'lilv-%s' % LILV_MAJOR_VERSION,
|
|
||||||
+ target = 'lilv%s' % LILV_MAJOR_VERSION,
|
|
||||||
vnum = LILV_LIB_VERSION,
|
|
||||||
install_path = '${LIBDIR}',
|
|
||||||
cflags = libflags + [
|
|
||||||
'-DLILV_SHARED',
|
|
||||||
'-DLILV_INTERNAL' ],
|
|
||||||
linkflags = linkflags)
|
|
||||||
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
|
|
||||||
+ autowaf.use_lib(bld, obj, 'SERD SORD LV2CORE GLIB')
|
|
||||||
|
|
||||||
if bld.env['BUILD_TESTS']:
|
|
||||||
# Static library (for unit test code coverage)
|
|
||||||
@@ -216,14 +218,14 @@ def build(bld):
|
|
||||||
install_path = '',
|
|
||||||
cflags = [ '-fprofile-arcs', '-ftest-coverage', '-DLILV_INTERNAL' ],
|
|
||||||
linkflags = linkflags)
|
|
||||||
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
|
|
||||||
+ autowaf.use_lib(bld, obj, 'SERD SORD LV2CORE GLIB')
|
|
||||||
|
|
||||||
# Unit test program
|
|
||||||
obj = bld(features = 'c cprogram',
|
|
||||||
source = 'test/lilv_test.c',
|
|
||||||
includes = ['.', './src'],
|
|
||||||
use = 'liblilv_static',
|
|
||||||
- uselib = 'SORD SERD LV2CORE',
|
|
||||||
+ uselib = 'SERD SORD LV2CORE',
|
|
||||||
linkflags = linkflags + ['-lgcov'],
|
|
||||||
target = 'test/lilv_test',
|
|
||||||
install_path = '',
|
|
||||||
Index: lilv.pc.in
|
|
||||||
===================================================================
|
|
||||||
--- lilv.pc.in.orig 2011-06-03 19:13:54.000000000 +0200
|
|
||||||
+++ lilv.pc.in 2011-06-03 19:14:48.072991013 +0200
|
|
||||||
@@ -7,4 +7,4 @@ Name: Lilv
|
|
||||||
Version: @LILV_VERSION@
|
|
||||||
Description: Simple C library for hosting LV2 plugins
|
|
||||||
Libs: -L${libdir} -l@LIB_LILV@ -ldl
|
|
||||||
-Cflags: -I${includedir}/lilv-@LILV_MAJOR_VERSION@
|
|
||||||
+Cflags: -I${includedir}/lilv
|
|
@ -1,11 +0,0 @@
|
|||||||
Index: lilv.pc.in
|
|
||||||
===================================================================
|
|
||||||
--- lilv.pc.in.orig 2011-06-06 22:57:35.000000000 +0200
|
|
||||||
+++ lilv.pc.in 2011-06-06 23:00:04.880949663 +0200
|
|
||||||
@@ -6,5 +6,5 @@ includedir=@includedir@
|
|
||||||
Name: Lilv
|
|
||||||
Version: @LILV_VERSION@
|
|
||||||
Description: Simple C library for hosting LV2 plugins
|
|
||||||
-Libs: -L${libdir} -l@LIB_LILV@ -ldl
|
|
||||||
+Libs: -L${libdir} -l@LIB_LILV@ -ldl -lserd -lsord
|
|
||||||
Cflags: -I${includedir}/lilv
|
|
@ -1,45 +0,0 @@
|
|||||||
Index: serd-0.4.2/wscript
|
|
||||||
===================================================================
|
|
||||||
--- serd-0.4.2/wscript.orig 2011-06-03 18:51:51.952991193 +0200
|
|
||||||
+++ serd-0.4.2/wscript 2011-06-03 18:59:52.762991134 +0200
|
|
||||||
@@ -10,7 +10,7 @@ import waflib.Logs as Logs, waflib.Optio
|
|
||||||
|
|
||||||
# Version of this package (even if built as a child)
|
|
||||||
SERD_VERSION = '0.4.2'
|
|
||||||
-SERD_MAJOR_VERSION = '0'
|
|
||||||
+SERD_MAJOR_VERSION = ''
|
|
||||||
|
|
||||||
# Library version (UNIX style major, minor, micro)
|
|
||||||
# major increment <=> incompatible changes
|
|
||||||
@@ -53,10 +53,10 @@ def configure(conf):
|
|
||||||
autowaf.define(conf, 'SERD_VERSION', SERD_VERSION)
|
|
||||||
conf.write_config_header('serd-config.h', remove=False)
|
|
||||||
|
|
||||||
- conf.env['INCLUDES_SERD'] = ['%s/serd-%s' % (conf.env['INCLUDEDIR'],
|
|
||||||
+ conf.env['INCLUDES_SERD'] = ['%s/serd%s' % (conf.env['INCLUDEDIR'],
|
|
||||||
SERD_MAJOR_VERSION)]
|
|
||||||
conf.env['LIBPATH_SERD'] = [conf.env['LIBDIR']]
|
|
||||||
- conf.env['LIB_SERD'] = ['serd-%s' % SERD_MAJOR_VERSION];
|
|
||||||
+ conf.env['LIB_SERD'] = ['serd%s' % SERD_MAJOR_VERSION];
|
|
||||||
|
|
||||||
autowaf.display_msg(conf, "Utilities", str(conf.env['BUILD_UTILS']))
|
|
||||||
autowaf.display_msg(conf, "Unit tests", str(conf.env['BUILD_TESTS']))
|
|
||||||
@@ -85,7 +85,7 @@ def build(bld):
|
|
||||||
obj.source = lib_source
|
|
||||||
obj.includes = ['.', './src']
|
|
||||||
obj.name = 'libserd'
|
|
||||||
- obj.target = 'serd-%s' % SERD_MAJOR_VERSION
|
|
||||||
+ obj.target = 'serd%s' % SERD_MAJOR_VERSION
|
|
||||||
obj.vnum = SERD_LIB_VERSION
|
|
||||||
obj.install_path = '${LIBDIR}'
|
|
||||||
obj.cflags = [ '-fvisibility=hidden', '-DSERD_SHARED', '-DSERD_INTERNAL' ]
|
|
||||||
Index: serd-0.4.2/serd.pc.in
|
|
||||||
===================================================================
|
|
||||||
--- serd-0.4.2/serd.pc.in.orig 2011-05-26 01:50:40.000000000 +0200
|
|
||||||
+++ serd-0.4.2/serd.pc.in 2011-06-03 19:12:32.480991006 +0200
|
|
||||||
@@ -7,4 +7,4 @@ Name: Serd
|
|
||||||
Version: @SERD_VERSION@
|
|
||||||
Description: Lightweight RDF syntax library
|
|
||||||
Libs: -L${libdir} -l@LIB_SERD@
|
|
||||||
-Cflags: -I${includedir}/serd-@SERD_MAJOR_VERSION@
|
|
||||||
+Cflags: -I${includedir}/serd
|
|
@ -1,62 +0,0 @@
|
|||||||
Index: sord-0.4.2/wscript
|
|
||||||
===================================================================
|
|
||||||
--- sord-0.4.2/wscript.orig 2011-05-26 02:20:19.000000000 +0200
|
|
||||||
+++ sord-0.4.2/wscript 2011-06-06 15:23:51.975953812 +0200
|
|
||||||
@@ -7,7 +7,7 @@ import waflib.Logs as Logs, waflib.Optio
|
|
||||||
|
|
||||||
# Version of this package (even if built as a child)
|
|
||||||
SORD_VERSION = '0.4.2'
|
|
||||||
-SORD_MAJOR_VERSION = '0'
|
|
||||||
+SORD_MAJOR_VERSION = ''
|
|
||||||
|
|
||||||
# Library version (UNIX style major, minor, micro)
|
|
||||||
# major increment <=> incompatible changes
|
|
||||||
@@ -42,7 +42,7 @@ def configure(conf):
|
|
||||||
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB',
|
|
||||||
atleast_version='2.0.0', mandatory=True)
|
|
||||||
|
|
||||||
- autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
|
|
||||||
+ autowaf.check_pkg(conf, 'serd', uselib_store='SERD',
|
|
||||||
atleast_version='0.4.0', mandatory=True)
|
|
||||||
|
|
||||||
conf.env['BUILD_TESTS'] = Options.options.build_tests
|
|
||||||
@@ -66,15 +66,15 @@ def configure(conf):
|
|
||||||
|
|
||||||
conf.env['INCLUDES_SORD'] = ['${includedir}/sord-%s' % SORD_MAJOR_VERSION]
|
|
||||||
if not conf.env['INCLUDES_SERD']:
|
|
||||||
- fallback('INCLUDES_SERD', ['${includedir}/serd-0'])
|
|
||||||
+ fallback('INCLUDES_SERD', ['${includedir}/serd'])
|
|
||||||
|
|
||||||
conf.env['LIBPATH_SORD'] = [conf.env['LIBDIR']]
|
|
||||||
if not conf.env['LIBPATH_SERD']:
|
|
||||||
fallback('LIBPATH_SERD', conf.env['LIBPATH_SORD'])
|
|
||||||
|
|
||||||
- conf.env['LIB_SORD'] = ['sord-%s' % SORD_MAJOR_VERSION];
|
|
||||||
+ conf.env['LIB_SORD'] = ['sord%s' % SORD_MAJOR_VERSION];
|
|
||||||
if not conf.env['LIB_SERD']:
|
|
||||||
- fallback('LIB_SERD', 'serd-0')
|
|
||||||
+ fallback('LIB_SERD', 'serd')
|
|
||||||
|
|
||||||
autowaf.display_msg(conf, "Utilities", bool(conf.env['BUILD_UTILS']))
|
|
||||||
autowaf.display_msg(conf, "Unit tests", bool(conf.env['BUILD_TESTS']))
|
|
||||||
@@ -97,7 +97,7 @@ def build(bld):
|
|
||||||
includes = ['.', './src'],
|
|
||||||
export_includes = ['.'],
|
|
||||||
name = 'libsord',
|
|
||||||
- target = 'sord-%s' % SORD_MAJOR_VERSION,
|
|
||||||
+ target = 'sord%s' % SORD_MAJOR_VERSION,
|
|
||||||
vnum = SORD_LIB_VERSION,
|
|
||||||
install_path = '${LIBDIR}',
|
|
||||||
libs = [ 'm' ],
|
|
||||||
Index: sord-0.4.2/sord.pc.in
|
|
||||||
===================================================================
|
|
||||||
--- sord-0.4.2/sord.pc.in.orig 2011-05-26 01:46:00.000000000 +0200
|
|
||||||
+++ sord-0.4.2/sord.pc.in 2011-06-06 15:27:52.597953776 +0200
|
|
||||||
@@ -6,5 +6,5 @@ includedir=@includedir@
|
|
||||||
Name: Sord
|
|
||||||
Version: @SORD_VERSION@
|
|
||||||
Description: A lightweight C library for storing RDF statements in memory.
|
|
||||||
-Libs: -L@LIBPATH_SERD@ -l@LIB_SERD@ -L${libdir} -lsord-@SORD_MAJOR_VERSION@
|
|
||||||
-Cflags: -I@INCLUDES_SERD@ -I${includedir}/sord-@SORD_MAJOR_VERSION@
|
|
||||||
+Libs: -L${libdir} -l@LIB_SERD@ -L${libdir} -lsord
|
|
||||||
+Cflags: -I${includedir}/serd-/ -I${includedir}/sord-/
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d1526647ebdca658145042a00438f29e1ffddc7f8f7fff8f92e8bb567fddb67d
|
|
||||||
size 152440
|
|
46
lilv.changes
46
lilv.changes
@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 9 15:03:57 UTC 2012 - reddwarf@opensuse.org
|
||||||
|
|
||||||
|
- Update to 0.14.2
|
||||||
|
* Fix dynmanifest support
|
||||||
|
* Add lilv_plugin_get_extension_data
|
||||||
|
* Use path variables in pkgconfig files
|
||||||
|
* Install man page to DATADIR (e.g. PREFIX/share/man, not PREFIX/man)
|
||||||
|
* Make Lilv::uri_to_path static inline (fix linking errors)
|
||||||
|
* Use correct URI for dcterms:replaces (for hiding old plugins):
|
||||||
|
"http://purl.org/dc/terms/replaces"
|
||||||
|
* Fix compilation on BSD
|
||||||
|
* Only load dynmanifest libraries once per bundle, not once per plugin
|
||||||
|
* Fix lilv_world_find_nodes to work with wildcard subjects
|
||||||
|
* Add lilv_plugin_get_related to get resources related to plugins that
|
||||||
|
are not directly rdfs:seeAlso linked (e.g. presets)
|
||||||
|
* Add lilv_world_load_resource for related resources (e.g. presets)
|
||||||
|
* Print presets in lv2info
|
||||||
|
* Remove locale smashing kludges and use new serd functions for converting
|
||||||
|
nodes to/from numbers.
|
||||||
|
* Add LilvState API for handling plugin state. This makes it simple to
|
||||||
|
save and restore plugin state both in memory and on disk, as well as
|
||||||
|
save presets in a host-sharable way since the disk format is identical
|
||||||
|
to the LV2 presets format.
|
||||||
|
* Update old references to lv2_list (now lv2ls)
|
||||||
|
* Support compilation as C++ under MSVC++.
|
||||||
|
* Remove use of wordexp.
|
||||||
|
* Add lilv_plugin_get_port_by_designation() and lilv_port_get_index() as an
|
||||||
|
improved generic alternative to lilv_plugin_get_latency_port_index().
|
||||||
|
* Add lilv_plugin_get_project() and get author information from project if
|
||||||
|
it is not given directly on the plugin.
|
||||||
|
* Remove glib dependency
|
||||||
|
* Add lv2core as a pkg-config dependency (for lv2.h header include)
|
||||||
|
* Obey prefix when installing bash completion script
|
||||||
|
* Support integer minimum, maximum, and default port values in
|
||||||
|
lilv_plugin_get_port_ranges_float
|
||||||
|
* Add ability to build static library
|
||||||
|
* Fix building python bindings
|
||||||
|
* Make free methods tolerate being called on NULL
|
||||||
|
* Remove lv2jack (replaced by jalv)
|
||||||
|
* Fix parsing extra plugin data files in other bundles
|
||||||
|
* Fix lilv_ui_is_supported when Lilv is built independently
|
||||||
|
- Split serd and sord to different packages
|
||||||
|
- Package python bindings
|
||||||
|
- Remove patches changing the soname
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 1 10:13:23 UTC 2011 - davejplater@gmail.com
|
Wed Jun 1 10:13:23 UTC 2011 - davejplater@gmail.com
|
||||||
|
|
||||||
|
312
lilv.spec
312
lilv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package [lilv]
|
# spec file for package lilv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,258 +15,104 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
%define soname 0
|
||||||
|
|
||||||
Name: lilv
|
Name: lilv
|
||||||
Version: 0.4.2
|
Version: 0.14.2
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: A simple yet powerful C API for using LV2 plugins
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
||||||
|
License: ISC
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
License: MIT
|
Url: http://drobilla.net/software/lilv/
|
||||||
URL: http://drobilla.net/software/lilv/
|
Source0: http://download.drobilla.net/lilv-0.14.2.tar.bz2
|
||||||
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
BuildRequires: doxygen
|
||||||
Source1: http://download.drobilla.net/sord-%{version}.tar.bz2
|
BuildRequires: gcc-c++
|
||||||
Source2: http://download.drobilla.net/serd-%{version}.tar.bz2
|
BuildRequires: graphviz
|
||||||
Source3: lv2_shaded_blue.svg
|
BuildRequires: pkg-config
|
||||||
Patch0: lilv-0.4.2-lserd.patch
|
BuildRequires: python-devel
|
||||||
Patch1: lilv-0.4.2-serdlib.patch
|
BuildRequires: swig
|
||||||
Patch2: lilv-0.4.2-sordlib.patch
|
BuildRequires: pkgconfig(lv2) >= 1.0.0
|
||||||
Patch3: lilv-0.4.2-pc.patch
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
||||||
#Icon: lv2_shaded_blue.svg
|
BuildRequires: pkgconfig(sord-0) >= 0.8.0
|
||||||
BuildRequires: python-base glib2-devel
|
BuildRequires: pkgconfig(sratom-0) >= 0.2.0
|
||||||
BuildRequires: doxygen graphviz fdupes
|
|
||||||
BuildRequires: lv2core-devel jack-devel
|
|
||||||
BuildRequires: gcc-c++ pkg-config
|
|
||||||
BuildRequires: swig python-devel
|
|
||||||
#BuildRequires: hicolor-icon-theme
|
|
||||||
#Requires:
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lilv is a library to make the use of LV2 plugins as simple as
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
||||||
possible for applications. Lilv is the successor to SLV2,
|
|
||||||
rewritten to be significantly faster and have minimal
|
|
||||||
dependencies. Lilv is Free Software (using an extremely
|
|
||||||
liberal “MIT-style” license) written in C99 using Serd and
|
|
||||||
Sord, and is known to work on GNU/Linux, Mac OS X, and
|
|
||||||
Windows 7 with MingW. This package contains the tools.
|
|
||||||
|
|
||||||
%package devel
|
%package -n liblilv-0-%{soname}
|
||||||
Summary: Development files for %{name}
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n liblilv-0-%{soname}
|
||||||
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
||||||
|
|
||||||
|
%package -n liblilv-0-devel
|
||||||
|
Summary: Development files for liblilv
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: liblilv-0-%{soname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description -n liblilv-0-devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
Development files for liblilv.
|
||||||
developing apps with LV2 plugin support. This package contains the
|
|
||||||
documentation, packageconfig and header files.
|
|
||||||
|
|
||||||
%package -n liblilv0
|
%package -n python-lilv
|
||||||
Summary: A simple yet powerful C API for using LV2 plugins
|
Summary: Python bindings for lilv
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/Python
|
||||||
|
|
||||||
%description -n liblilv0
|
%description -n python-lilv
|
||||||
Liblilv is a library to make the use of LV2 plugins as simple as
|
Python bindings for lilv.
|
||||||
possible for applications. Lilv is the successor to SLV2,
|
|
||||||
rewritten to be significantly faster and have minimal
|
|
||||||
dependencies.
|
|
||||||
|
|
||||||
%package -n libserd0
|
|
||||||
Summary: Lightweight RDF syntax library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libserd0
|
|
||||||
Libserd is a lightweight RDF syntax library used by livl.
|
|
||||||
|
|
||||||
%package -n libsord0
|
|
||||||
Summary: Lightweight C lib for storing RDF statements
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libsord0
|
|
||||||
Libsord is a lightweight C library that is used by lilv for storing
|
|
||||||
RDF statements in memory.
|
|
||||||
|
|
||||||
%define buildir %{_builddir}/%{name}-%{version}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#chmod --verbose 0644 %%{S:0}
|
%setup -q
|
||||||
#chmod --verbose 0644 %%{S:1}
|
|
||||||
#chmod --verbose 0644 %%{S:2}
|
|
||||||
chmod --verbose 0644 %{S:3}
|
|
||||||
%setup -q -a 1 -a 2
|
|
||||||
%patch0
|
|
||||||
%patch1
|
|
||||||
%patch2
|
|
||||||
%patch3
|
|
||||||
|
|
||||||
# Create serd .pc file with macros for the build
|
|
||||||
echo "prefix=%{buildir}/serd-%{version}">serd.pc
|
|
||||||
echo "exec_prefix=\${prefix}">>serd.pc
|
|
||||||
echo "libdir=%{buildir}/serd-%{version}/build">>serd.pc
|
|
||||||
echo "includedir=%{buildir}/serd-%{version}">>serd.pc
|
|
||||||
echo "">>serd.pc
|
|
||||||
echo "Name: Serd">>serd.pc
|
|
||||||
echo "Version: %{version}">>serd.pc
|
|
||||||
echo "Description: Lightweight RDF syntax library">>serd.pc
|
|
||||||
echo "Libs: -L\${libdir} -lserd">>serd.pc
|
|
||||||
echo "Cflags: -I\${includedir}">>serd.pc
|
|
||||||
echo "">>serd.pc
|
|
||||||
|
|
||||||
# Create sord .pc file with macros for the build
|
|
||||||
echo "prefix=%{buildir}/sord-%{version}">sord.pc
|
|
||||||
echo "exec_prefix=\${prefix}">>sord.pc
|
|
||||||
echo "libdir=%{buildir}/sord-%{version}/build">>sord.pc
|
|
||||||
echo "includedir=%{buildir}/sord-%{version}">>sord.pc
|
|
||||||
echo "">>sord.pc
|
|
||||||
echo "Name: Sord">>sord.pc
|
|
||||||
echo "Version: %{version}">>sord.pc
|
|
||||||
echo "Description: A lightweight C library for storing RDF statements in memory.">>sord.pc
|
|
||||||
echo "Libs: -L%{buildir}/serd-%{version}/build -lserd -L\${libdir} -lsord">>sord.pc
|
|
||||||
echo "Cflags: -I\${includedir}">>sord.pc
|
|
||||||
echo "">>sord.pc
|
|
||||||
export PKG_CONFIG_PATH=${PWD}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS='%{optflags}'
|
||||||
# Use a bash function for the three builds.
|
export CXXFLAGS='%{optflags}'
|
||||||
wafbuild() {
|
./waf configure \
|
||||||
export DEFAULT_LV2_PATH=%{_libdir}/lv2
|
--prefix=%{_prefix} \
|
||||||
export PKG_CONFIG_PATH=%{_builddir}/lilv-%{version}
|
--libdir=%{_libdir} \
|
||||||
export LIBPATH_SERD=%{buildir}/serd-%{version}/build
|
--docdir=%{_defaultdocdir} \
|
||||||
export LIBPATH_SORD=%{buildir}/sord-%{version}/build
|
--configdir=%{_sysconfdir} \
|
||||||
export CFLAGS="%{optflags}"
|
--bindings \
|
||||||
export CXXFLAGS="%{optflags}"
|
--docs
|
||||||
|
# waf only understands -j, so do not use smp_mflags
|
||||||
./waf configure --prefix=%{_prefix} \
|
./waf build -v %{?jobs:-j%jobs}
|
||||||
--datadir=%{_datadir}/%{name} \
|
|
||||||
--includedir=%{_includedir} \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--docdir=%{_docdir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--datadir=%{_datadir} \
|
|
||||||
--download \
|
|
||||||
--docs $1 $2
|
|
||||||
|
|
||||||
if test $? != 0; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
./waf build -v %{?jobs:-j%{jobs}}
|
|
||||||
if test $? != 0; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
/sbin/ldconfig -vn build/
|
|
||||||
}
|
|
||||||
|
|
||||||
pushd serd-%{version}
|
|
||||||
wafbuild "" ""
|
|
||||||
popd
|
|
||||||
pushd sord-%{version}
|
|
||||||
wafbuild "" ""
|
|
||||||
popd
|
|
||||||
wafbuild --default-lv2-path=%{_libdir}/lv2 --bindings
|
|
||||||
unset PKG_CONFIG_PATH
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd serd-%{version}
|
./waf install --destdir=%{?buildroot}
|
||||||
./waf install --destdir=%{buildroot}
|
if [ %{python_sitelib} != %{python_sitearch} ]; then
|
||||||
popd
|
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
||||||
pushd sord-%{version}
|
fi
|
||||||
./waf install --destdir=%{buildroot}
|
|
||||||
popd
|
|
||||||
./waf install --destdir=%{buildroot}
|
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
||||||
chmod -c 0755 %{buildroot}%{_libdir}/*.so.%{version}
|
|
||||||
|
|
||||||
documents="AUTHORS ChangeLog COPYING README"
|
%post -n liblilv-0-%{soname} -p /sbin/ldconfig
|
||||||
for i in ${documents}; do
|
|
||||||
cp $i %{buildroot}%{_docdir}/%{name}/
|
|
||||||
cp serd-%{version}/$i %{buildroot}%{_docdir}/serd/
|
|
||||||
cp sord-%{version}/$i %{buildroot}%{_docdir}/sord/
|
|
||||||
done
|
|
||||||
#mkdir -p %%{_datadir}/icons/hicolor/scalable/apps
|
|
||||||
#install -m 0644 %%{S:3} %%{_datadir}/icons/hicolor/scalable/apps/
|
|
||||||
|
|
||||||
%fdupes -s %{buildroot}%{_docdir}
|
%postun -n liblilv-0-%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
#%%post
|
|
||||||
# %%icon_theme_cache_post()
|
|
||||||
|
|
||||||
#%%postun
|
|
||||||
# %%icon_theme_cache_postun()
|
|
||||||
|
|
||||||
%post -n liblilv0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n liblilv0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libserd0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libserd0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libsord0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libsord0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(0644,root,root,0755)
|
||||||
%{_bindir}/lilv-bench
|
%attr(0755,-,-) %{_bindir}/lilv-bench
|
||||||
%{_bindir}/lv2info
|
%attr(0755,-,-) %{_bindir}/lv2info
|
||||||
%{_bindir}/lv2ls
|
%attr(0755,-,-) %{_bindir}/lv2ls
|
||||||
%{_bindir}/serdi
|
%{_mandir}/man1/lv2info.1*
|
||||||
%{_bindir}/sordi
|
%{_mandir}/man1/lv2ls.1*
|
||||||
%{_mandir}/man1/*
|
%{_sysconfdir}/bash_completion.d/lilv
|
||||||
|
|
||||||
|
%files -n liblilv-0-%{soname}
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc AUTHORS COPYING NEWS README
|
||||||
|
%{_libdir}/liblilv-0.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n liblilv-0-devel
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{_libdir}/liblilv-0.so
|
||||||
|
%{_includedir}/lilv-0/
|
||||||
|
%{_libdir}/pkgconfig/lilv-0.pc
|
||||||
|
%{_defaultdocdir}/lilv/
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
#%%{_datadir}/icons/hicolor/scalable/apps/lv2_shaded_blue.svg
|
|
||||||
%config %{_sysconfdir}/bash_completion.d/%{name}
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_docdir}/%{name}
|
|
||||||
%dir %{_docdir}/serd
|
|
||||||
%dir %{_docdir}/sord
|
|
||||||
%{_docdir}/%{name}/*
|
|
||||||
%{_docdir}/serd/*
|
|
||||||
%{_docdir}/sord/*
|
|
||||||
%dir %{_includedir}/lilv-
|
|
||||||
%dir %{_includedir}/serd-
|
|
||||||
%dir %{_includedir}/sord-
|
|
||||||
%dir %{_includedir}/lilv-/lilv
|
|
||||||
%dir %{_includedir}/serd-/serd
|
|
||||||
%dir %{_includedir}/sord-/sord
|
|
||||||
%{_includedir}/lilv-/lilv/lilv.h
|
|
||||||
%{_includedir}/lilv-/lilv/lilvmm.hpp
|
|
||||||
%{_includedir}/serd-/serd/serd.h
|
|
||||||
%{_includedir}/sord-/sord/sord.h
|
|
||||||
%{_includedir}/sord-/sord/sordmm.hpp
|
|
||||||
#%%{_includedir}/*
|
|
||||||
%{_libdir}/lib%{name}.so
|
|
||||||
%{_libdir}/libserd.so
|
|
||||||
%{_libdir}/libsord.so
|
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
|
||||||
%{_libdir}/pkgconfig/serd.pc
|
|
||||||
%{_libdir}/pkgconfig/sord.pc
|
|
||||||
|
|
||||||
%files -n liblilv0
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/liblilv.so.0
|
|
||||||
%{_libdir}/liblilv.so.0.4.2
|
|
||||||
|
|
||||||
%files -n libserd0
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libserd.so.0
|
|
||||||
%{_libdir}/libserd.so.0.4.2
|
|
||||||
|
|
||||||
%files -n libsord0
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libsord.so.0
|
|
||||||
%{_libdir}/libsord.so.0.4.2
|
|
||||||
|
|
||||||
|
%files -n python-lilv
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{python_sitearch}/lilv.py
|
||||||
|
%{python_sitearch}/_lilv.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f9fb572e2256ade3bd53767e37d609e821e1ec6b0423caf6ff7e5a2274cedf0c
|
|
||||||
size 23960
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:97d8dcb1b81461985765194471e3beb17f00fdcd774af4bddd4ffab5dcf0002f
|
|
||||||
size 278652
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f0de2b6fe1a322e51f74f4957e2ba36165bde993891e9646aec2b063c8b5c0db
|
|
||||||
size 271741
|
|
Loading…
x
Reference in New Issue
Block a user