From b456238b4cd507385692bf391aab3ed0a729b59c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 14 Jan 2022 21:29:18 +0200 Subject: [PATCH 42/42] Msys2: Rename "qt" installer package as "qt5" See osdn #43621 Signed-off-by: Marko Lindqvist --- windows/installer_msys2/Makefile | 2 +- .../create-freeciv-gtk-qt-nsi.sh | 23 ++++++++++++------- .../installer_msys2/create-freeciv-qt-nsi.sh | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/windows/installer_msys2/Makefile b/windows/installer_msys2/Makefile index 9f6a4033bb..9de2133506 100644 --- a/windows/installer_msys2/Makefile +++ b/windows/installer_msys2/Makefile @@ -581,7 +581,7 @@ clean-install-ruledit-qt6: ./cleanup_checkout.sh ../.. clean-installer-common: - rm -f Output/Freeciv-*-$(CLIENT)-setup.exe + rm -f Output/Freeciv-*-$(GUI)-setup.exe rm -f Freeciv-*-$(GUI).nsi clean-installer-ruledit-qt5: diff --git a/windows/installer_msys2/create-freeciv-gtk-qt-nsi.sh b/windows/installer_msys2/create-freeciv-gtk-qt-nsi.sh index 0f04b76da8..3f1f4cf2e2 100644 --- a/windows/installer_msys2/create-freeciv-gtk-qt-nsi.sh +++ b/windows/installer_msys2/create-freeciv-gtk-qt-nsi.sh @@ -1,11 +1,17 @@ #!/bin/sh -# ./create-freeciv-gtk-qt-nsi.sh [mp gui] +# ./create-freeciv-gtk-qt-nsi.sh [mp gui] [exe id] + +if test "x$7" != "x" ; then + EXE_ID="$7" +else + EXE_ID="$3" +fi if test "x$6" != "x" ; then - MPGUI_ID="$6" + MPEXE_ID="$6" else - MPGUI_ID="$3" + MPEXE_ID="$EXE_ID" fi cat < -./create-freeciv-gtk-qt-nsi.sh $1 $2 "qt" "Qt" $3 +./create-freeciv-gtk-qt-nsi.sh $1 $2 "qt5" "Qt5" $3 "" "qt" -- 2.34.1