summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-09-19 15:10:15 +0200
committerRobin Gareus <robin@gareus.org>2015-09-19 19:00:42 +0200
commitf3b47dc939b6643c04adb19dde56b382cc2d3f0f (patch)
treef3599378e7d80fd4cce49b34d228d8f0cdcdbed7 /tools/osx_packaging
parent2e9e8d3b335ce134f2812e4fa2e617b7ea0a6c9f (diff)
unhardcode OSX bundle-name
Diffstat (limited to 'tools/osx_packaging')
-rw-r--r--tools/osx_packaging/Info.plist.in2
-rwxr-xr-xtools/osx_packaging/osx_build1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/osx_packaging/Info.plist.in b/tools/osx_packaging/Info.plist.in
index 3fffd4d7ac..f18888357e 100644
--- a/tools/osx_packaging/Info.plist.in
+++ b/tools/osx_packaging/Info.plist.in
@@ -33,7 +33,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>Ardour3</string>
+ <string>@BUNDLENAME@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersions</key>
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 75d0c18235..7d21eb407e 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -204,6 +204,7 @@ sed -e "s?@ENV@?$env?g" \
-e "s?@VERSION@?$release_version?g" \
-e "s?@INFOSTRING@?$info_string?g" \
-e "s?@IDSUFFIX@?$EXECUTABLE?g" \
+ -e "s?@BUNDLENAME@?${APPNAME}${major_version}?g" \
-e "s?@EXECUTABLE@?$EXECUTABLE?g" < Info.plist.in > Info.plist
# and plist strings
sed -e "s?@APPNAME@?$appname?" \