diff --git a/tools/osx_packaging/InfoPlist.strings.in b/tools/osx_packaging/InfoPlist.strings.in new file mode 100644 index 0000000000..1ee76ac4c0 --- /dev/null +++ b/tools/osx_packaging/InfoPlist.strings.in @@ -0,0 +1,4 @@ +CFBundleName = "@APPNAME@"; +CFBundleShortVersionString = "@VERSION@"; +CFBundleGetInfoString = "@APPNAME@ v @VERSION@ Copyright 2001-2008 Paul Davis"; +NSHumanReadableCopyright = "Copyright 2001-2008 Paul Davis."; diff --git a/tools/osx_packaging/Resources/InfoPlist.strings b/tools/osx_packaging/Resources/InfoPlist.strings deleted file mode 100644 index 5349427ee3..0000000000 --- a/tools/osx_packaging/Resources/InfoPlist.strings +++ /dev/null @@ -1,4 +0,0 @@ -CFBundleName = "Ardour2"; -CFBundleShortVersionString = "#{version}"; -CFBundleGetInfoString = "Ardour2 version #{version} Copyright 2001-2008 Paul Davis"; -NSHumanReadableCopyright = "Copyright 2001-2008 Paul Davis."; diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 60fec9ca8d..6dd798f427 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -87,6 +87,7 @@ mkdir -p $Etc # maybe set variables env="" if test x$SAE != x ; then + appname="Ardour2/SAE" env="$envARDOUR_SAEtrue" # # current default for SAE version is German keyboard layout without a keypad @@ -94,6 +95,8 @@ if test x$SAE != x ; then env="$envARDOUR_KEYBOARD_LAYOUTde-nokeypad" env="$envARDOUR_UI_CONFardour2_ui_sae.conf" env="$envARDOUR2_UI_RCardour2_ui_dark_sae.rc" +else + appname="Ardour2" fi # @@ -112,8 +115,13 @@ env="LSEnvironmentARDOUR_BUNDLEDtrue Info.plist +# and plist strings +sed -e "s?@APPNAME@?$appname?" \ + -e "s?@ENV@?$env?g" \ + -e "s?@VERSION@?$release_version/$svn_version?g" \ + -e "s?@INFOSTRING@?$info_string?g" < InfoPlist.strings.in > Resources/InfoPlist.strings # copy static files