* Display: factored out into own file, added samplerate and buffer_size popup menus
[jackpanel.git] / wscript
blob1c76cdda483f056f9f0c8979578e702574521397
1 #!/usr/bin/env python
3 VERSION = "0.0.1"
4 VERSION_MAJOR_MINOR = ".".join(VERSION.split(".")[0:2])
5 APPNAME = "jackpanel"
7 srcdir = '.'
8 blddir = 'build'
10 def set_options(opt):
11 opt.tool_options('compiler_cc')
13 def configure(conf):
14 conf.check_tool('compiler_cc cc')
15 conf.check_tool('vala')
17 min_vala_version = (0, 5, 7)
18 if conf.env['VALAC_VERSION'] < min_vala_version:
19 conf.fatal('Your vala compiler version ' + str(conf.env['VALAC_VERSION']) +
20 ' is too old. The project requires at least version 0.5.7' );
22 conf.check_cfg(package='prolooks', uselib_store='PROLOOKS', atleast_version='0.0.1', mandatory=1, args='--cflags --libs')
23 conf.check_cfg(package='jack', uselib_store='JACK', atleast_version='0.116.2', mandatory=1, args='--cflags --libs')
25 conf.env['CCFLAGS'] = '-I./default -O0 -g -std=c99'
27 conf.define('PACKAGE', APPNAME)
28 conf.define('PACKAGE_NAME', APPNAME)
29 conf.define('PACKAGE_STRING', APPNAME + '-' + VERSION)
30 conf.define('PACKAGE_VERSION', APPNAME + '-' + VERSION)
32 conf.define('VERSION', VERSION)
33 conf.define('VERSION_MAJOR_MINOR', VERSION_MAJOR_MINOR)
35 def build(bld):
36 bld.add_subdirs('jackpanel')
38 def shutdown():
39 pass