From 78ebead3fdc0557dae57cad5f2e53f60dd672bf7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 16 May 2016 18:47:00 +0200 Subject: [PATCH] splash is the day that you got in my system --- gtk2_ardour/wscript | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index f603170a57..ce1c83a3fe 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -792,13 +792,22 @@ def build(bld): obj.install_path = bld.env['CONFDIR'] # Icons/Images - lowercase_appname = Options.options.program_name.lower(); bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png')) bld.install_files(os.path.join (bld.env['DATADIR'], 'pixmaps'), bld.path.ant_glob('pixmaps/*.xpm')) - bld.install_as(os.path.join (bld.env['DATADIR'], 'splash.png') , 'icons/' + lowercase_appname + '-splash.png') - bld.install_as(os.path.join (bld.env['DATADIR'], 'small-splash.png') , 'icons/' + lowercase_appname + '-small-splash.png') bld.install_files(bld.env['DATADIR'], 'ArdourMono.ttf') + # Splash + lowercase_appname = Options.options.program_name.lower(); + obj = bld(features = 'copy') + obj.source = 'icons/' + lowercase_appname + '-splash.png' + obj.target = 'splash.png' + obj.install_path = bld.env['DATADIR'] + obj = bld(features = 'copy') + obj.source = 'icons/' + lowercase_appname + '-small-splash.png' + obj.target = 'small-splash.png' + obj.install_path = bld.env['DATADIR'] + + if bld.env['build_target'] == 'mingw': # These icons need to overwrite the files already installed in the icons # directory above. Do this in the external packaging scripts for now.