From f87b2217c0108e263669d2c5a80b87bab41f0002 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Apr 2011 22:01:11 +0000 Subject: Fix Python whitespace (PEP8) git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3195 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 84 ++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ed946a6..11c11c0 100644 --- a/wscript +++ b/wscript @@ -15,54 +15,54 @@ top = '.' out = 'build' def options(opt): - autowaf.set_options(opt) + autowaf.set_options(opt) def configure(conf): - autowaf.configure(conf) - autowaf.display_header('Machina Configuration') - conf.load('compiler_cxx') - autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', - atleast_version='2.14.0', mandatory=True) - autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', - atleast_version='2.14.0', mandatory=True) - autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM', - atleast_version='2.11.12', mandatory=False) - autowaf.check_pkg(conf, 'jack', uselib_store='JACK', - atleast_version='0.109.0', mandatory=True) - autowaf.check_pkg(conf, 'raul', uselib_store='RAUL', - atleast_version='0.5.1', mandatory=True) - autowaf.check_pkg(conf, 'flowcanvas', uselib_store='FLOWCANVAS', - atleast_version='0.5.1', mandatory=False) - autowaf.check_pkg(conf, 'libglademm-2.4', uselib_store='GLADEMM', - atleast_version='2.6.0', mandatory=False) - autowaf.check_pkg(conf, 'sord', uselib_store='SORD', - atleast_version='0.1.0', mandatory=False) - #autowaf.check_pkg(conf, 'eugene', uselib_store='EUGENE', - # atleast_version='0.0.0', mandatory=False) + autowaf.configure(conf) + autowaf.display_header('Machina Configuration') + conf.load('compiler_cxx') + autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', + atleast_version='2.14.0', mandatory=True) + autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', + atleast_version='2.14.0', mandatory=True) + autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM', + atleast_version='2.11.12', mandatory=False) + autowaf.check_pkg(conf, 'jack', uselib_store='JACK', + atleast_version='0.109.0', mandatory=True) + autowaf.check_pkg(conf, 'raul', uselib_store='RAUL', + atleast_version='0.5.1', mandatory=True) + autowaf.check_pkg(conf, 'flowcanvas', uselib_store='FLOWCANVAS', + atleast_version='0.5.1', mandatory=False) + autowaf.check_pkg(conf, 'libglademm-2.4', uselib_store='GLADEMM', + atleast_version='2.6.0', mandatory=False) + autowaf.check_pkg(conf, 'sord', uselib_store='SORD', + atleast_version='0.1.0', mandatory=False) + #autowaf.check_pkg(conf, 'eugene', uselib_store='EUGENE', + # atleast_version='0.0.0', mandatory=False) - # Check for posix_memalign (OSX, amazingly, doesn't have it) - conf.check(function_name='posix_memalign', - header_name='stdlib.h', - define_name='HAVE_POSIX_MEMALIGN', - mandatory=False) + # Check for posix_memalign (OSX, amazingly, doesn't have it) + conf.check(function_name='posix_memalign', + header_name='stdlib.h', + define_name='HAVE_POSIX_MEMALIGN', + mandatory=False) - if conf.is_defined('HAVE_GLADEMM') and conf.is_defined('HAVE_FLOWCANVAS'): - autowaf.define(conf, 'MACHINA_BUILD_GUI', 1) - - autowaf.define(conf, 'MACHINA_PPQN', 19200) - autowaf.define(conf, 'MACHINA_VERSION', MACHINA_VERSION) - autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join( - conf.env['DATADIR'], 'machina')) + if conf.is_defined('HAVE_GLADEMM') and conf.is_defined('HAVE_FLOWCANVAS'): + autowaf.define(conf, 'MACHINA_BUILD_GUI', 1) - conf.write_config_header('machina-config.h', remove=False) + autowaf.define(conf, 'MACHINA_PPQN', 19200) + autowaf.define(conf, 'MACHINA_VERSION', MACHINA_VERSION) + autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join( + conf.env['DATADIR'], 'machina')) - autowaf.display_msg(conf, "Jack", conf.is_defined('HAVE_JACK')) - autowaf.display_msg(conf, "GUI", conf.is_defined('MACHINA_BUILD_GUI')) - print('') + conf.write_config_header('machina-config.h', remove=False) + + autowaf.display_msg(conf, "Jack", conf.is_defined('HAVE_JACK')) + autowaf.display_msg(conf, "GUI", conf.is_defined('MACHINA_BUILD_GUI')) + print('') def build(bld): - bld.recurse('src/engine') - bld.recurse('src/client') + bld.recurse('src/engine') + bld.recurse('src/client') - if bld.is_defined('MACHINA_BUILD_GUI'): - bld.recurse('src/gui') + if bld.is_defined('MACHINA_BUILD_GUI'): + bld.recurse('src/gui') -- cgit v1.2.1