From 2832c29a4b1eefb10d60199f6b96459cf57a5d52 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 17 Aug 2015 21:37:06 +1000 Subject: [PATCH] Install cursor hotspot file with --dist-target=mingw The extra cursor files must be copied in an external packaging script for now until an easy way to get waf to overwrite the files is found --- gtk2_ardour/wscript | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index d579d5b339..641e7c3525 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -690,6 +690,12 @@ def build(bld): bld.install_files(bld.env['DATADIR'], 'small-splash.png') bld.install_files(bld.env['DATADIR'], 'ArdourMono.ttf') + 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. + #bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/cursor_square/*.png')) + bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), 'icons/cursor_square/hotspots') + # Default UI configuration bld.install_files(bld.env['CONFDIR'], 'default_ui_config') # Color Themes