aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/Info.plist.in20
-rw-r--r--wscript6
2 files changed, 26 insertions, 0 deletions
diff --git a/resources/Info.plist.in b/resources/Info.plist.in
new file mode 100644
index 0000000..a08dbd0
--- /dev/null
+++ b/resources/Info.plist.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>CFBundleIdentifier</key>
+ <string>net.drobilla.pugl.@NAME@</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>MinimumOSVersion</key>
+ <string>10.6</string>
+ <key>CFBundleDisplayName</key>
+ <string>@NAME@</string>
+ <key>CFBundleName</key>
+ <string>@NAME@</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+ </dict>
+</plist>
diff --git a/wscript b/wscript
index d0697c2..2886958 100644
--- a/wscript
+++ b/wscript
@@ -159,6 +159,12 @@ def build(bld):
for prog in progs:
if bld.env.TARGET_PLATFORM == 'darwin':
target = '{0}.app/Contents/MacOS/{0}'.format(prog)
+
+ bld(features = 'subst',
+ source = 'resources/Info.plist.in',
+ target = '{}.app/Contents/Info.plist'.format(prog),
+ install_path = '',
+ NAME = prog)
else:
target = prog