Dave Plater
543995b499
New package lilv replaces slv2 for building apps that can use the LV2 plugin system OBS-URL: https://build.opensuse.org/request/show/72808 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=1
46 lines
2.0 KiB
Diff
46 lines
2.0 KiB
Diff
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
|