mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
package Product/App specific resources
This commit is contained in:
parent
3c30d47587
commit
cbe476521a
3 changed files with 20 additions and 21 deletions
|
|
@ -586,14 +586,15 @@ cp $BUILD_ROOT/gtk2_ardour/default_ui_config $Etc
|
||||||
|
|
||||||
# Copied directly from source tree
|
# Copied directly from source tree
|
||||||
|
|
||||||
|
mkdir ${Shared}/icons
|
||||||
|
mkdir ${Shared}/resources
|
||||||
cp ../../system_config $Etc/system_config
|
cp ../../system_config $Etc/system_config
|
||||||
cp ../../gtk2_ardour/*.colors $Etc
|
cp ../../gtk2_ardour/*.colors $Etc
|
||||||
cp ../../instant.xml $Shared/instant.xml
|
cp ../../instant.xml $Shared/instant.xml
|
||||||
cp -r ../../gtk2_ardour/icons $Shared
|
cp ../../gtk2_ardour/icons/*.png ${Shared}/icons
|
||||||
cp -r ../../gtk2_ardour/pixmaps $Shared
|
cp -r ../../gtk2_ardour/icons/icons/cursor_* ${Shared}/icons/
|
||||||
cp -r ../../gtk2_ardour/icons/${EXENAME}-splash.png ${Shared}/splash.png
|
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
|
||||||
cp -r ../../gtk2_ardour/icons/${EXENAME}-small-splash.png ${Shared}/small-splash.png
|
cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
|
||||||
cp -r ../../gtk2_ardour/ArdourMono.ttf $Shared
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# put sooper sekrit ingredients here and they will be copied
|
# put sooper sekrit ingredients here and they will be copied
|
||||||
|
|
|
||||||
|
|
@ -500,7 +500,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PGM_EXEC_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/bin/${PGM_EXEC_FILE}"
|
PGM_EXEC_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/bin/${PGM_EXEC_FILE}"
|
||||||
ICON_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/share/icons"
|
ICON_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/share/resources"
|
||||||
MENU_FILE_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/share"
|
MENU_FILE_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/share"
|
||||||
|
|
||||||
################################
|
################################
|
||||||
|
|
@ -563,15 +563,15 @@ ${SUPER} mv /tmp/${MENU_FILE} ${MENU_FILE_PATH}/.
|
||||||
if [ "T" = ${HAS_XDG} ];
|
if [ "T" = ${HAS_XDG} ];
|
||||||
then
|
then
|
||||||
echo "Adding ${PGM_NAME} to the applications menu"
|
echo "Adding ${PGM_NAME} to the applications menu"
|
||||||
${SUPER} xdg-icon-resource install --context apps --size 16 ${ICON_PATH}/${PGM_NAME_LOWER}_icon_16px.png ${ICON_NAME}
|
${SUPER} xdg-icon-resource install --context apps --size 16 ${ICON_PATH}/${PGM_NAME}-icon_16px.png ${ICON_NAME}
|
||||||
${SUPER} xdg-icon-resource install --context apps --size 22 ${ICON_PATH}/${PGM_NAME_LOWER}_icon_22px.png ${ICON_NAME}
|
${SUPER} xdg-icon-resource install --context apps --size 22 ${ICON_PATH}/${PGM_NAME}-icon_22px.png ${ICON_NAME}
|
||||||
${SUPER} xdg-icon-resource install --context apps --size 32 ${ICON_PATH}/${PGM_NAME_LOWER}_icon_32px.png ${ICON_NAME}
|
${SUPER} xdg-icon-resource install --context apps --size 32 ${ICON_PATH}/${PGM_NAME}-icon_32px.png ${ICON_NAME}
|
||||||
${SUPER} xdg-icon-resource install --context apps --size 48 ${ICON_PATH}/${PGM_NAME_LOWER}_icon_48px.png ${ICON_NAME}
|
${SUPER} xdg-icon-resource install --context apps --size 48 ${ICON_PATH}/${PGM_NAME}-icon_48px.png ${ICON_NAME}
|
||||||
${SUPER} xdg-icon-resource install --context apps --size 256 ${ICON_PATH}/${PGM_NAME_LOWER}_icon_256px.png ${ICON_NAME}
|
${SUPER} xdg-icon-resource install --context apps --size 256 ${ICON_PATH}/${PGM_NAME}-icon_256px.png ${ICON_NAME}
|
||||||
|
|
||||||
if [ -e ${ICON_PATH}/${PGM_NAME_LOWER}_icon.svg -a -d /usr/share/icons/hicolor/scalable/apps ];
|
if [ -e ${ICON_PATH}/${PGM_NAME}_icon.svg -a -d /usr/share/icons/hicolor/scalable/apps ];
|
||||||
then
|
then
|
||||||
${SUPER} cp -f ${ICON_PATH}/${PGM_NAME_LOWER}_icon.svg /usr/share/icons/hicolor/scalable/apps/${ICON_NAME}.svg
|
${SUPER} cp -f ${ICON_PATH}/${PGM_NAME}_icon.svg /usr/share/icons/hicolor/scalable/apps/${ICON_NAME}.svg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${SUPER} xdg-desktop-menu install ${MENU_FILE_PATH}/${MENU_FILE}
|
${SUPER} xdg-desktop-menu install ${MENU_FILE_PATH}/${MENU_FILE}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ WITH_LADSPA=1
|
||||||
STRIP=1
|
STRIP=1
|
||||||
PRINT_SYSDEPS=
|
PRINT_SYSDEPS=
|
||||||
WITH_NLS=
|
WITH_NLS=
|
||||||
LCNAME=ardour
|
|
||||||
|
|
||||||
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
||||||
|
|
||||||
|
|
@ -53,7 +52,6 @@ while [ $# -gt 0 ] ; do
|
||||||
WITH_LADSPA=;
|
WITH_LADSPA=;
|
||||||
STRIP= ;
|
STRIP= ;
|
||||||
PRODUCT_PKG_DIR=Mixbus;
|
PRODUCT_PKG_DIR=Mixbus;
|
||||||
LCNAME=mixbus ;
|
|
||||||
APPNAME=Mixbus ;
|
APPNAME=Mixbus ;
|
||||||
shift ;;
|
shift ;;
|
||||||
--mixbus32c) MIXBUS=1;
|
--mixbus32c) MIXBUS=1;
|
||||||
|
|
@ -64,7 +62,6 @@ while [ $# -gt 0 ] ; do
|
||||||
SAE= ;
|
SAE= ;
|
||||||
WITH_LADSPA=;
|
WITH_LADSPA=;
|
||||||
STRIP= ;
|
STRIP= ;
|
||||||
LCNAME=mixbus32c ;
|
|
||||||
PRODUCT_PKG_DIR=Mixbus32C;
|
PRODUCT_PKG_DIR=Mixbus32C;
|
||||||
APPNAME=Mixbus32C-${major_version} ;
|
APPNAME=Mixbus32C-${major_version} ;
|
||||||
major_version=""
|
major_version=""
|
||||||
|
|
@ -485,14 +482,15 @@ cp $BUILD_ROOT/gtk2_ardour/clearlooks.rc $Resources
|
||||||
|
|
||||||
# Copied directly from source tree
|
# Copied directly from source tree
|
||||||
|
|
||||||
|
mkdir ${Resources}/icons
|
||||||
|
mkdir ${Resources}/resources
|
||||||
cp ../../system_config $Resources/system_config
|
cp ../../system_config $Resources/system_config
|
||||||
cp ../../instant.xml $Resources/instant.xml
|
cp ../../instant.xml $Resources/instant.xml
|
||||||
cp -r ../../gtk2_ardour/icons $Resources
|
cp ../../gtk2_ardour/icons/*.png ${Resources}/icons/
|
||||||
cp -r ../../gtk2_ardour/pixmaps $Resources
|
cp -r ../../gtk2_ardour/icons/cursor_* ${Resources}/icons/
|
||||||
cp ../../gtk2_ardour/*.colors $Resources
|
cp ../../gtk2_ardour/*.colors $Resources
|
||||||
cp -R ../../gtk2_ardour/icons/${LCNAME}-splash.png ${Shared}/splash.png
|
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
|
||||||
cp -R ../../gtk2_ardour/icons/${LCNAME}-small-splash.png ${Shared}/small-splash.png
|
cp ../../gtk2_ardour/resources/${PRODUCT_PKG_DIR}-* ${Resources}/resources/
|
||||||
cp -R ../../gtk2_ardour/ArdourMono.ttf $Shared
|
|
||||||
|
|
||||||
# go through and recursively remove any .svn dirs in the bundle
|
# go through and recursively remove any .svn dirs in the bundle
|
||||||
for svndir in `find $APPDIR -name .svn -type dir`; do
|
for svndir in `find $APPDIR -name .svn -type dir`; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue