summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-11 19:57:52 +0000
committerDavid Robillard <d@drobilla.net>2011-01-11 19:57:52 +0000
commitbff08fcbd085cf7af81cc5ac4e4edcb74bb3deb4 (patch)
tree785d255f1f8e810fd14703793b84092b6bb41600 /wscript
parent8ad8594ef42af57e9e566b3ea9b9e13f01c5dc53 (diff)
downloadpatchage-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--wscript10
1 files changed, 8 insertions, 2 deletions
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