diff options
author | David Robillard <d@drobilla.net> | 2009-02-27 04:40:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-27 04:40:44 +0000 |
commit | 903c0863d9c7490c86cbcb652bd362a266a6d468 (patch) | |
tree | fb01d409de13e36afdb8170cec1134ea8a04676d /gtk2_ardour/wscript | |
parent | e4528094c3a82ba8dea38c4afb5bbd3f97003c34 (diff) |
Waf: install stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r-- | gtk2_ardour/wscript | 60 |
1 files changed, 38 insertions, 22 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index 213975c0a6..712b978e2c 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -232,11 +232,11 @@ def build(bld): obj.includes = ['.'] obj.name = 'gtk2_ardour' obj.target = 'ardour-3.0' + obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') obj.uselib = 'UUID FLAC GLIBMM GTHREAD GTK GNOMECANVAS OGG ALSA' obj.uselib += ' GTKMM GNOMECANVASMM' obj.uselib_local = '''libpbd libmidipp libtaglib libardour libsurfaces libgtkmm2ext libgtk2_ardour_c libtaglib''' - obj.install_path = '' obj.cxxflags = '-DVERSIONSTRING=\\\"' + GTK2_ARDOUR_VERSION + '\\\"' obj.cxxflags += ' -DPACKAGE=\\\"gtk2_ardour\\\"' obj.cxxflags += ' -DDATA_DIR=\\\"' + os.path.normpath(bld.env['DATADIRNAME']) + '\\\"' @@ -255,11 +255,18 @@ def build(bld): 'EXECUTABLE' : 'build/default/gtk2_ardour/ardour-3.0' } - obj = bld.new_task_gen('subst') - obj.source = 'ardev_common.sh.in' - obj.target = 'ardev_common_waf.sh' - obj.chmod = 0755 - obj.dict = wrapper_subst_dict + obj = bld.new_task_gen('subst') + obj.source = 'ardev_common.sh.in' + obj.target = 'ardev_common_waf.sh' + obj.chmod = 0755 + obj.dict = wrapper_subst_dict + + obj = bld.new_task_gen('subst') + obj.source = 'ardour.sh.in' + obj.target = 'ardour3' + obj.chmod = 0755 + obj.dict = wrapper_subst_dict + obj.install_path = bld.env['BINDIR'] # Font configuration @@ -311,25 +318,29 @@ def build(bld): # RC files - obj = bld.new_task_gen('subst') - obj.source = 'ardour3_ui_dark.rc.in' - obj.target = 'ardour3_ui_dark.rc' - obj.dict = font_subst_dict + obj = bld.new_task_gen('subst') + obj.source = 'ardour3_ui_dark.rc.in' + obj.target = 'ardour3_ui_dark.rc' + obj.dict = font_subst_dict + obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3') - obj = bld.new_task_gen('subst') - obj.source = 'ardour3_ui_light.rc.in' - obj.target = 'ardour3_ui_light.rc' - obj.dict = font_subst_dict + obj = bld.new_task_gen('subst') + obj.source = 'ardour3_ui_light.rc.in' + obj.target = 'ardour3_ui_light.rc' + obj.dict = font_subst_dict + obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3') - obj = bld.new_task_gen('subst') - obj.source = 'ardour3_ui_dark_sae.rc.in' - obj.target = 'ardour3_ui_dark_sae.rc' - obj.dict = font_subst_dict + obj = bld.new_task_gen('subst') + obj.source = 'ardour3_ui_dark_sae.rc.in' + obj.target = 'ardour3_ui_dark_sae.rc' + obj.dict = font_subst_dict + obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3') - obj = bld.new_task_gen('subst') - obj.source = 'ardour3_ui_light_sae.rc.in' - obj.target = 'ardour3_ui_light_sae.rc' - obj.dict = font_subst_dict + obj = bld.new_task_gen('subst') + obj.source = 'ardour3_ui_light_sae.rc.in' + obj.target = 'ardour3_ui_light_sae.rc' + obj.dict = font_subst_dict + obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3') # Menus menus_argv = [] @@ -366,6 +377,11 @@ def build(bld): obj.target = b + '.bindings' obj.source = obj.target + '.in' obj.dict = keybindings_dict + + # Icons/Images + bld.install_files('${DATADIR}/ardour3/icons', 'icons/*.png') + bld.install_files('${DATADIR}/ardour3/pixmaps', 'pixmaps/*.xpm') + bld.install_files('${DATADIR}/ardour3', 'splash.png') def shutdown(): autowaf.shutdown() |