unhardcode OSX bundle-name
authorRobin Gareus <robin@gareus.org>
Sat, 19 Sep 2015 13:10:15 +0000 (15:10 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 19 Sep 2015 17:00:42 +0000 (19:00 +0200)
tools/osx_packaging/Info.plist.in
tools/osx_packaging/osx_build

index 3fffd4d7ac789fa78349205dd3dd7f3f0523fdea..f18888357e980c911cbcb2af6a00812f4d34afbd 100644 (file)
@@ -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>
index 75d0c182352fe46723f3aa760efd309d93a60348..7d21eb407ee2662fab9bd0f39c6cd34226da6962 100755 (executable)
@@ -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?" \