Feature #1044 ยป 0009-meson-build_all_installers.sh-Support-building-from-.patch
| platforms/windows/installer_cross/meson-build_all_installers.sh | ||
|---|---|---|
|
DLLSPATH="$1"
|
||
|
export INST_CROSS_MODE="$2"
|
||
|
SRC_DIR="$(cd "$(dirname "$0")" || exit 1 ; pwd)"
|
||
|
if ! test -d "${DLLSPATH}" ; then
|
||
|
echo "Dllstack directory \"${DLLSPATH}\" not found!" >&2
|
||
|
exit 1
|
||
| ... | ... | |
|
CROSSER_QT6=yes
|
||
|
fi
|
||
|
if ! ./meson-installer_build.sh "${DLLSPATH}" gtk3.22 ; then
|
||
|
if ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" gtk3.22 ; then
|
||
|
RET=1
|
||
|
GTK322="Fail"
|
||
|
else
|
||
| ... | ... | |
|
if test "${CROSSER_GTK4}" != "yes" ; then
|
||
|
GTK4="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" gtk4 ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" gtk4 ; then
|
||
|
RET=1
|
||
|
GTK4="Fail"
|
||
|
else
|
||
| ... | ... | |
|
if test "${CROSSER_GTK4}" != "yes" ; then
|
||
|
GTK4x="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" gtk4x ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" gtk4x ; then
|
||
|
RET=1
|
||
|
GTK4x="Fail"
|
||
|
else
|
||
| ... | ... | |
|
if test "${CROSSER_QT6}" != "yes" ; then
|
||
|
QT6="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" qt6 ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" qt6 ; then
|
||
|
RET=1
|
||
|
QT6="Fail"
|
||
|
else
|
||
| ... | ... | |
|
if test "${CROSSER_QT6}" != "yes" ; then
|
||
|
QT7="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" qt6x ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" qt6x ; then
|
||
|
RET=1
|
||
|
QT7="Fail"
|
||
|
else
|
||
| ... | ... | |
|
# sdl2-client comes with gtk4 modpack installer
|
||
|
if test "${CROSSER_GTK4}" != "yes" ; then
|
||
|
SDL2="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" sdl2 ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" sdl2 ; then
|
||
|
RET=1
|
||
|
SDL2="Fail"
|
||
|
else
|
||
| ... | ... | |
|
if test "${CROSSER_QT6}" != "yes" ; then
|
||
|
RULEDIT="N/A"
|
||
|
elif ! ./meson-installer_build.sh "${DLLSPATH}" ruledit ; then
|
||
|
elif ! "${SRC_DIR}/meson-installer_build.sh" "${DLLSPATH}" ruledit ; then
|
||
|
RET=1
|
||
|
RULEDIT="Fail"
|
||
|
else
|
||