summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/osx_packaging/Info.plist.in2
-rwxr-xr-xtools/osx_packaging/osx_build6
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/osx_packaging/Info.plist.in b/tools/osx_packaging/Info.plist.in
index a0cfb76155..7038de6938 100644
--- a/tools/osx_packaging/Info.plist.in
+++ b/tools/osx_packaging/Info.plist.in
@@ -23,7 +23,7 @@
<key>CFBundleExecutable</key>
<string>Ardour2</string>
<key>CFBundleGetInfoString</key>
- <string>Ardour @VERSION@ Copyright 2007 Paul Davis</string>
+ <string>@INFOSTRING@</string>
<key>CFBundleIconFile</key>
<string>appIcon.icns</string>
<key>CFBundleIdentifier</key>
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 19ff79fef7..fdd7aaac3e 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -23,6 +23,8 @@ done
version=`grep -m 1 '^ardour_version' ../../SConstruct | cut -d' ' -f 3 | sed "s/'//g"`
echo "Version is $version"
+info_string="$version built on `hostname` by `whoami` on `date`"
+echo "Info string is $info_string"
# setup directory structure
@@ -79,7 +81,9 @@ fi
env="<key>LSEnvironment</key><dict><key>ARDOUR_BUNDLED</key><string>true</string>$env</dict>"
# edit plist
-sed -e "s?@ENV@?$env?g" -e "s?@VERSION@?$version?g" < Info.plist.in > Info.plist
+sed -e "s?@ENV@?$env?g" \
+ -e "s?@VERSION@?$version?g" \
+ -e "s?@INFOSTRING@?$info_string?g" < Info.plist.in > Info.plist
# copy static files