4 VERSION_MAJOR_MINOR
= ".".join(VERSION
.split(".")[0:2])
11 opt
.tool_options('compiler_cc')
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
)
36 bld
.add_subdirs('jackpanel')