summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-16 17:35:01 +0200
committerRobin Gareus <robin@gareus.org>2016-05-16 17:35:01 +0200
commit13e0db6914c4fc0ecf2b82f67e9ab138a81babd9 (patch)
treed9e2e151dc37b3df3152cfad5684646b2963b2d9 /tools/osx_packaging
parente610916c260af0a09e5007aa26fc632b14418482 (diff)
icon-name follows program-name
so that derivative products don't need to replace binary image/icon files in the source (use ./waf configure --program-name=...)
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 920a7b3283..4eb1971f9d 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -24,6 +24,8 @@ WITH_LADSPA=1
STRIP=1
PRINT_SYSDEPS=
WITH_NLS=
+LCNAME=ardour
+
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
. ../define_versions.sh
@@ -51,6 +53,7 @@ while [ $# -gt 0 ] ; do
WITH_LADSPA=;
STRIP= ;
PRODUCT_PKG_DIR=Mixbus;
+ LCNAME=mixbus ;
APPNAME=Mixbus ;
shift ;;
--mixbus32c) MIXBUS=1;
@@ -61,6 +64,7 @@ while [ $# -gt 0 ] ; do
SAE= ;
WITH_LADSPA=;
STRIP= ;
+ LCNAME=mixbus32c ;
PRODUCT_PKG_DIR=Mixbus32C;
APPNAME=Mixbus32C-${major_version} ;
major_version=""
@@ -486,8 +490,8 @@ cp ../../instant.xml $Resources/instant.xml
cp -r ../../gtk2_ardour/icons $Resources
cp -r ../../gtk2_ardour/pixmaps $Resources
cp ../../gtk2_ardour/*.colors $Resources
-cp -R ../../gtk2_ardour/splash.png $Shared
-cp -R ../../gtk2_ardour/small-splash.png $Shared
+cp -R ../../gtk2_ardour/icons/${LCNAME}-splash.png ${Shared}/splash.png
+cp -R ../../gtk2_ardour/icons/${LCNAME}-small-splash.png ${Shared}/small-splash.png
cp -R ../../gtk2_ardour/ArdourMono.ttf $Shared
# go through and recursively remove any .svn dirs in the bundle