diff options
author | David Robillard <d@drobilla.net> | 2011-01-11 19:57:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-11 19:57:52 +0000 |
commit | bff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4 (patch) | |
tree | 785d255f1f8e810fd14703793b84092b6bb41600 /wscript | |
parent | 8ad8594ef42af57e9e566b3ea9b9e13f01c5dc53 (diff) | |
download | patchage-bff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4.tar.gz patchage-bff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4.tar.bz2 patchage-bff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4.zip |
Build a proper .app on OSX.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2827 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |