From bff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 11 Jan 2011 19:57:52 +0000 Subject: Build a proper .app on OSX. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2827 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index dcfa6ee..59ed32d 100644 --- a/wscript +++ b/wscript @@ -173,16 +173,22 @@ def build(bld): if Options.platform == 'darwin': # Property list bld(features = 'subst', - source = 'Info.plist.in', + source = 'osx/Info.plist.in', target = out_base + 'Info.plist', install_path = '', chmod = 0644) # Icons bld(rule='cp ${SRC} ${TGT}', - source = 'icons/Patchage.icns', + source = 'osx/Patchage.icns', target = out_base + 'Resources/Patchage.icns') + # Gtk/Pango/etc configuration files + for i in ['pangorc', 'pango.modules', 'gtkrc']: + bld(rule = 'cp ${SRC} ${TGT}', + source = 'osx/' + i, + target = out_base + 'Resources/' + i) + # Icons # After installation, icon cache should be updated using: # gtk-update-icon-cache -f -t $(datadir)/icons/hicolor -- cgit v1.2.1