summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-01 02:43:56 +0000
committerDavid Robillard <d@drobilla.net>2008-10-01 02:43:56 +0000
commita6f5b04414bd6ffce5f0aae0be9216e0b2fe2fad (patch)
tree618a0fb696387e89e1b743d00fd5a8db9d28dda2
parentd0d8f509e62f1786b3271790cc283d90850f8ef4 (diff)
downloadingen-a6f5b04414bd6ffce5f0aae0be9216e0b2fe2fad.tar.gz
ingen-a6f5b04414bd6ffce5f0aae0be9216e0b2fe2fad.tar.bz2
ingen-a6f5b04414bd6ffce5f0aae0be9216e0b2fe2fad.zip
Integrate patchage into build system.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1569 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index 5a997e9f..7c8a3f23 100644
--- a/wscript
+++ b/wscript
@@ -6,7 +6,7 @@ import Params
INGEN_VERSION = '0.5.1'
# Variables for 'waf dist'
-VERSION = '0.0.0'
+APPNAME = 'ingen'
VERSION = INGEN_VERSION
# Mandatory variables
@@ -27,6 +27,8 @@ def configure(conf):
conf.check_pkg('glibmm-2.4', destvar='GLIBMM', vnum='2.16.0', mandatory=True)
if not conf.env['HAVE_GTHREAD']:
conf.check_pkg('gthread-2.0', destvar='GTHREAD', vnum='2.16.0', mandatory=True)
+ if not conf.env['HAVE_GTKMM']:
+ conf.check_pkg('gtkmm-2.4', destvar='GTKMM', vnum='2.11.12', mandatory=False)
if not conf.env['HAVE_JACK']:
conf.check_pkg('jack', destvar='JACK', vnum='0.107.0', mandatory=True)
if not conf.env['HAVE_SLV2']:
@@ -45,7 +47,7 @@ def configure(conf):
conf.check_pkg('liblo', destvar='LIBLO', vnum='0.25', mandatory=False)
if not conf.env['HAVE_REDLANDMM']:
conf.check_pkg('redlandmm', destvar='REDLANDMM', vnum='0.0.0', mandatory=False)
- conf.env['INGEN_VERSION'] = VERSION
+ conf.env['INGEN_VERSION'] = INGEN_VERSION
conf.write_config_header('waf-config.h')
conf.env.append_value('CCFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"')
conf.env.append_value('CXXFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"')