summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-13 02:47:19 +0000
committerDavid Robillard <d@drobilla.net>2015-09-13 02:47:19 +0000
commit1eea83ed8193ae18c3e7b5e152e7e0808511b746 (patch)
tree0cb8e5ac5aee299f4b9349c4b7aaf0428ecc758f /wscript
parentefa94682fd223a084687cdcf0f626d56325de0e0 (diff)
downloadsuil-1eea83ed8193ae18c3e7b5e152e7e0808511b746.tar.gz
suil-1eea83ed8193ae18c3e7b5e152e7e0808511b746.tar.bz2
suil-1eea83ed8193ae18c3e7b5e152e7e0808511b746.zip
Require LV2 1.6.0.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5727 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript24
1 files changed, 11 insertions, 13 deletions
diff --git a/wscript b/wscript
index 4479a1f..a5f0141 100644
--- a/wscript
+++ b/wscript
@@ -60,9 +60,7 @@ def configure(conf):
mandatory = False)):
conf.env.NODELETE_FLAGS = ['-Wl,-z,nodelete']
- autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0', uselib_store='LV2')
- autowaf.check_pkg(conf, 'lv2', atleast_version='1.6.0',
- uselib_store='LV2_1_6_0', mandatory=False)
+ autowaf.check_pkg(conf, 'lv2', atleast_version='1.6.0', uselib_store='LV2')
if not Options.options.no_gtk:
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',
@@ -183,7 +181,7 @@ def build(bld):
install_path = '${LIBDIR}',
cflags = cflags,
lib = lib,
- uselib = 'LV2 LV2_1_6_0')
+ uselib = 'LV2')
# Static library
if bld.env.BUILD_STATIC:
@@ -198,7 +196,7 @@ def build(bld):
install_path = '${LIBDIR}',
cflags = cflags,
lib = lib,
- uselib = 'LV2 LV2_1_6_0')
+ uselib = 'LV2')
if bld.env.SUIL_WITH_GTK2_IN_QT4:
obj = bld(features = 'cxx cxxshlib',
@@ -209,7 +207,7 @@ def build(bld):
install_path = module_dir,
cflags = cflags,
lib = modlib)
- autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2')
if bld.env.SUIL_WITH_GTK2_IN_QT5:
obj = bld(features = 'cxx cxxshlib',
@@ -220,7 +218,7 @@ def build(bld):
install_path = module_dir,
cflags = cflags,
lib = modlib)
- autowaf.use_lib(bld, obj, 'GTK2 QT5 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 QT5 LV2')
if bld.env.SUIL_WITH_QT4_IN_GTK2:
obj = bld(features = 'cxx cxxshlib',
@@ -232,7 +230,7 @@ def build(bld):
cflags = cflags,
lib = modlib,
linkflags = bld.env.NODELETE_FLAGS)
- autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2')
if bld.env.SUIL_WITH_X11_IN_GTK2:
obj = bld(features = 'c cshlib',
@@ -244,7 +242,7 @@ def build(bld):
cflags = cflags,
lib = modlib + ['X11'],
linkflags = bld.env.NODELETE_FLAGS)
- autowaf.use_lib(bld, obj, 'GTK2 GTK2_X11 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 GTK2_X11 LV2')
if bld.env.SUIL_WITH_COCOA_IN_GTK2:
obj = bld(features = 'cxx cshlib',
@@ -256,7 +254,7 @@ def build(bld):
cflags = cflags,
lib = modlib,
linkflags = ['-framework', 'Cocoa'])
- autowaf.use_lib(bld, obj, 'GTK2 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 LV2')
if bld.env.SUIL_WITH_WIN_IN_GTK2:
obj = bld(features = 'cxx cxxshlib',
@@ -268,7 +266,7 @@ def build(bld):
cflags = cflags,
lib = modlib,
linkflags = bld.env.NODELETE_FLAGS)
- autowaf.use_lib(bld, obj, 'GTK2 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'GTK2 LV2')
if bld.env.SUIL_WITH_X11_IN_QT4:
obj = bld(features = 'cxx cxxshlib',
@@ -279,7 +277,7 @@ def build(bld):
install_path = module_dir,
cflags = cflags,
lib = modlib)
- autowaf.use_lib(bld, obj, 'QT4 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'QT4 LV2')
if bld.env.SUIL_WITH_X11_IN_QT5:
obj = bld(features = 'cxx cxxshlib',
@@ -290,7 +288,7 @@ def build(bld):
install_path = module_dir,
cflags = cflags,
lib = modlib)
- autowaf.use_lib(bld, obj, 'QT5 LV2 LV2_1_6_0')
+ autowaf.use_lib(bld, obj, 'QT5 LV2')
# Documentation
autowaf.build_dox(bld, 'SUIL', SUIL_VERSION, top, out)