code to install color themes for linux + OS X builds
This commit is contained in:
parent
8faf313ed2
commit
257f1bf7df
@ -186,6 +186,7 @@ Surfaces=$APPLIB/surfaces
|
||||
Panners=$APPLIB/panners
|
||||
Backends=$APPLIB/backends
|
||||
|
||||
Themes=$Shared/themes
|
||||
Templates=$Shared/templates
|
||||
ExportFormats=$Shared/export
|
||||
Locale=$Shared/locale
|
||||
@ -220,6 +221,7 @@ mkdir -p $APPBIN
|
||||
mkdir -p $APPLIB
|
||||
mkdir -p $Etc
|
||||
mkdir -p $Shared
|
||||
mkdir -p $Themes
|
||||
mkdir -p $Locale
|
||||
mkdir -p $Surfaces
|
||||
mkdir -p $MidiMaps
|
||||
@ -589,13 +591,21 @@ cp $BUILD_ROOT/gtk2_ardour/default_ui_config $Etc
|
||||
mkdir ${Shared}/icons
|
||||
mkdir ${Shared}/resources
|
||||
cp ../../system_config $Etc/system_config
|
||||
cp ../../gtk2_ardour/*.colors $Etc
|
||||
cp ../../instant.xml $Shared/instant.xml
|
||||
cp ../../gtk2_ardour/icons/*.png ${Shared}/icons
|
||||
cp -r ../../gtk2_ardour/icons/icons/cursor_* ${Shared}/icons/
|
||||
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
|
||||
cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
|
||||
|
||||
# Themes. Grab only the ones for this program
|
||||
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
|
||||
for colors in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
|
||||
do
|
||||
install_name=`echo $colors | sed "s/-$lower_case_appname//"`
|
||||
install_name=`basename $install_name`
|
||||
cp $colors $Themes/$install_name
|
||||
done
|
||||
|
||||
#
|
||||
# put sooper sekrit ingredients here and they will be copied
|
||||
#
|
||||
|
@ -143,6 +143,7 @@ Templates=$Shared/templates
|
||||
PatchFiles=$Shared/patchfiles
|
||||
LuaScripts=$Shared/scripts
|
||||
MackieControl=$Shared/mcp
|
||||
Themes=$Shared/themes
|
||||
|
||||
if [ x$PRINT_SYSDEPS != x ] ; then
|
||||
#
|
||||
@ -488,10 +489,19 @@ cp ../../system_config $Resources/system_config
|
||||
cp ../../instant.xml $Resources/instant.xml
|
||||
cp ../../gtk2_ardour/icons/*.png ${Resources}/icons/
|
||||
cp -r ../../gtk2_ardour/icons/cursor_* ${Resources}/icons/
|
||||
cp ../../gtk2_ardour/*.colors $Resources
|
||||
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
|
||||
cp ../../gtk2_ardour/resources/${PRODUCT_PKG_DIR}-* ${Resources}/resources/
|
||||
|
||||
# Themes. Grab only the ones for this program
|
||||
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
|
||||
for colors in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
|
||||
do
|
||||
install_name=`echo $colors | sed "s/-$lower_case_appname//"`
|
||||
install_name=`basename $install_name`
|
||||
cp $colors $Themes/$install_name
|
||||
done
|
||||
|
||||
|
||||
# go through and recursively remove any .svn dirs in the bundle
|
||||
for svndir in `find $APPDIR -name .svn -type dir`; do
|
||||
rm -rf $svndir
|
||||
|
Loading…
Reference in New Issue
Block a user