summaryrefslogtreecommitdiff
path: root/gtk2_ardour/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r--gtk2_ardour/wscript60
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()