mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
add --mixbus package option
This commit is contained in:
parent
12902f7136
commit
45e355ced0
1 changed files with 31 additions and 3 deletions
|
|
@ -12,12 +12,26 @@ test -f gtk2_ardour/wscript || exit 1
|
||||||
: ${TMPDIR=/var/tmp}
|
: ${TMPDIR=/var/tmp}
|
||||||
: ${SRCDIR=/var/tmp/winsrc} # source-code tgz cache
|
: ${SRCDIR=/var/tmp/winsrc} # source-code tgz cache
|
||||||
|
|
||||||
# TODO: add variant switches here or grep from build/config.log
|
# TODO: grep from build/config.log instead
|
||||||
|
while [ $# -gt 0 ] ; do
|
||||||
|
echo "arg = $1"
|
||||||
|
case $1 in
|
||||||
|
--mixbus)
|
||||||
|
MIXBUS=1
|
||||||
|
shift ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
# see also wscript, video_tool_paths.cc, bundle_env_mingw.cc
|
# see also wscript, video_tool_paths.cc, bundle_env_mingw.cc
|
||||||
PROGRAM_NAME=Ardour
|
PROGRAM_NAME=Ardour
|
||||||
PRODUCT_NAME=ardour
|
PRODUCT_NAME=ardour
|
||||||
PROGRAM_VERSION=3
|
PROGRAM_VERSION=3
|
||||||
|
|
||||||
|
if test -n "$MIXBUS"; then
|
||||||
|
PROGRAM_NAME=Mixbus
|
||||||
|
PRODUCT_NAME=mixbus
|
||||||
|
fi
|
||||||
|
|
||||||
# derived variables
|
# derived variables
|
||||||
PRODUCT_ID=${PRODUCT_NAME}${PROGRAM_VERSION}
|
PRODUCT_ID=${PRODUCT_NAME}${PROGRAM_VERSION}
|
||||||
PRODUCT_EXE=${PRODUCT_NAME}.exe
|
PRODUCT_EXE=${PRODUCT_NAME}.exe
|
||||||
|
|
@ -217,8 +231,20 @@ InstallDirRegKey HKLM "Software\\${PROGRAM_NAME}\\${PRODUCT_ID}\\$WARCH" "Instal
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# TODO: add project speficic finish/welcome page
|
if test -n "$MIXBUS"; then
|
||||||
cat >> $NSISFILE << EOF
|
|
||||||
|
# TODO: proper welcome/finish text.
|
||||||
|
cat >> $NSISFILE << EOF
|
||||||
|
!define MUI_FINISHPAGE_TITLE "Welcome to Mixbus"
|
||||||
|
!define MUI_FINISHPAGE_TEXT "Thank you for choosing Harrison Mixbus."
|
||||||
|
!define MUI_FINISHPAGE_LINK "Harrison Consoles Website"
|
||||||
|
!define MUI_FINISHPAGE_LINK_LOCATION "http://harrisonconsoles.com"
|
||||||
|
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
||||||
|
EOF
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
cat >> $NSISFILE << EOF
|
||||||
!define MUI_FINISHPAGE_TITLE "Welcome to Ardour"
|
!define MUI_FINISHPAGE_TITLE "Welcome to Ardour"
|
||||||
!define MUI_FINISHPAGE_TEXT "This windows versions or Ardour is provided as-is.\$\\r\$\\nThe ardour community currently has no expertise in supporting windows users, and there are no developers focusing on windows specific issues either.\$\\r\$\\nIf you like Ardour, please consider helping out."
|
!define MUI_FINISHPAGE_TEXT "This windows versions or Ardour is provided as-is.\$\\r\$\\nThe ardour community currently has no expertise in supporting windows users, and there are no developers focusing on windows specific issues either.\$\\r\$\\nIf you like Ardour, please consider helping out."
|
||||||
!define MUI_FINISHPAGE_LINK "Ardour Manual"
|
!define MUI_FINISHPAGE_LINK "Ardour Manual"
|
||||||
|
|
@ -228,6 +254,8 @@ cat >> $NSISFILE << EOF
|
||||||
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
cat >> $NSISFILE << EOF
|
cat >> $NSISFILE << EOF
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
!insertmacro MUI_PAGE_LICENSE "share\\COPYING"
|
!insertmacro MUI_PAGE_LICENSE "share\\COPYING"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue