Fixing automated Windows build. Maybe.
This commit is contained in:
parent
986c63e7e1
commit
a954a24e9c
2 changed files with 39 additions and 29 deletions
|
@ -414,13 +414,16 @@ void jlUtilTitleSet(char *title) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int main(void) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
int flags;
|
int flags;
|
||||||
int result;
|
int result;
|
||||||
int joysticks;
|
int joysticks;
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
|
(void)argc;
|
||||||
|
(void)argv;
|
||||||
|
|
||||||
// Start low-level tools
|
// Start low-level tools
|
||||||
if (SDL_Init(SDL_INIT_EVERYTHING) == -1) {
|
if (SDL_Init(SDL_INIT_EVERYTHING) == -1) {
|
||||||
jlUtilDie(SDL_GetError());
|
jlUtilDie(SDL_GetError());
|
||||||
|
|
|
@ -58,11 +58,6 @@ function buildMacOSXSDK() {
|
||||||
|
|
||||||
mkdir -p "${G_PARENT}/sdks"
|
mkdir -p "${G_PARENT}/sdks"
|
||||||
|
|
||||||
G_IS_INSTALLED[$G_MAC32]=1
|
|
||||||
G_IS_INSTALLED[$G_MAC64]=1
|
|
||||||
configWrite
|
|
||||||
configRead
|
|
||||||
|
|
||||||
if [[ ! -z ${G_AUTOMATED} ]]; then
|
if [[ ! -z ${G_AUTOMATED} ]]; then
|
||||||
XCODE=${G_XCODE_FILE}
|
XCODE=${G_XCODE_FILE}
|
||||||
if [[ ! -e "${XCODE}" ]]; then
|
if [[ ! -e "${XCODE}" ]]; then
|
||||||
|
@ -87,6 +82,11 @@ function buildMacOSXSDK() {
|
||||||
mv -f target "${OSX}"
|
mv -f target "${OSX}"
|
||||||
popd &> /dev/null
|
popd &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
G_IS_INSTALLED[$G_MAC32]=1
|
||||||
|
G_IS_INSTALLED[$G_MAC64]=1
|
||||||
|
configWrite
|
||||||
|
configRead
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -208,8 +208,11 @@ function buildPCDeps() {
|
||||||
export CXX="${CXX_OLD}"
|
export CXX="${CXX_OLD}"
|
||||||
export LD_LIBRARY_PATH="${LD_OLD}"
|
export LD_LIBRARY_PATH="${LD_OLD}"
|
||||||
|
|
||||||
|
configWrite
|
||||||
|
configRead
|
||||||
|
|
||||||
purple "Building JoeyLib"
|
purple "Building JoeyLib"
|
||||||
"${G_PARENT}/joeylib/joeylib/build.sh" ${TARGET} &> /dev/null
|
$(. "${G_PARENT}/joeyDev.sh" && "${G_PARENT}/joeylib/joeylib/build.sh" ${TARGET}) &> /dev/null
|
||||||
|
|
||||||
popd &> /dev/null
|
popd &> /dev/null
|
||||||
}
|
}
|
||||||
|
@ -419,10 +422,6 @@ function installAmiga() {
|
||||||
local RESULT=
|
local RESULT=
|
||||||
local AMIGA="${G_PARENT}/sdks/amiga"
|
local AMIGA="${G_PARENT}/sdks/amiga"
|
||||||
|
|
||||||
G_IS_INSTALLED[$G_AMIGA]=1
|
|
||||||
configWrite
|
|
||||||
configRead
|
|
||||||
|
|
||||||
purple "Installing Amiga GCC"
|
purple "Installing Amiga GCC"
|
||||||
if [[ ! -d amiga-gcc ]]; then
|
if [[ ! -d amiga-gcc ]]; then
|
||||||
git clone https://github.com/bebbo/amiga-gcc.git
|
git clone https://github.com/bebbo/amiga-gcc.git
|
||||||
|
@ -437,6 +436,10 @@ function installAmiga() {
|
||||||
"${G_PARENT}/joeylib/joeylib/build.sh" amiga &> /dev/null
|
"${G_PARENT}/joeylib/joeylib/build.sh" amiga &> /dev/null
|
||||||
|
|
||||||
#***TODO*** Needs emulator
|
#***TODO*** Needs emulator
|
||||||
|
|
||||||
|
G_IS_INSTALLED[$G_AMIGA]=1
|
||||||
|
configWrite
|
||||||
|
configRead
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -447,10 +450,6 @@ function installIIgs() {
|
||||||
local GGATE=
|
local GGATE=
|
||||||
local IIGS="${G_PARENT}/sdks/IIgs"
|
local IIGS="${G_PARENT}/sdks/IIgs"
|
||||||
|
|
||||||
G_IS_INSTALLED[$G_IIGS]=1
|
|
||||||
configWrite
|
|
||||||
configRead
|
|
||||||
|
|
||||||
if [[ -e "${IIGS}/unmountORCA.sh" ]]; then
|
if [[ -e "${IIGS}/unmountORCA.sh" ]]; then
|
||||||
"${IIGS}/unmountORCA.sh"
|
"${IIGS}/unmountORCA.sh"
|
||||||
fi
|
fi
|
||||||
|
@ -641,6 +640,10 @@ function installIIgs() {
|
||||||
cp -f Tool222#BA0000 "${IIGS}/Tool222#ba0000"
|
cp -f Tool222#BA0000 "${IIGS}/Tool222#ba0000"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
G_IS_INSTALLED[$G_IIGS]=1
|
||||||
|
configWrite
|
||||||
|
configRead
|
||||||
|
|
||||||
mkdir -p "${JOEY}/dist/IIgs"
|
mkdir -p "${JOEY}/dist/IIgs"
|
||||||
|
|
||||||
purple "Building JoeyLib"
|
purple "Building JoeyLib"
|
||||||
|
@ -705,10 +708,6 @@ function installST() {
|
||||||
local ST="${G_PARENT}/sdks/st"
|
local ST="${G_PARENT}/sdks/st"
|
||||||
local ST_GCC="m68k-atari-mint-base-20190606-linux.tar"
|
local ST_GCC="m68k-atari-mint-base-20190606-linux.tar"
|
||||||
|
|
||||||
G_IS_INSTALLED[$G_ATARIST]=1
|
|
||||||
configWrite
|
|
||||||
configRead
|
|
||||||
|
|
||||||
mkdir -p "${ST}"
|
mkdir -p "${ST}"
|
||||||
|
|
||||||
if [[ ! -e "${ST}/tos104us.img" ]]; then
|
if [[ ! -e "${ST}/tos104us.img" ]]; then
|
||||||
|
@ -783,6 +782,10 @@ function installST() {
|
||||||
|
|
||||||
buildSDL12 "m68k-atari-mint" "${ST}"
|
buildSDL12 "m68k-atari-mint" "${ST}"
|
||||||
|
|
||||||
|
G_IS_INSTALLED[$G_ATARIST]=1
|
||||||
|
configWrite
|
||||||
|
configRead
|
||||||
|
|
||||||
purple "Building JoeyLib"
|
purple "Building JoeyLib"
|
||||||
"${G_PARENT}/joeylib/joeylib/build.sh" st &> /dev/null
|
"${G_PARENT}/joeylib/joeylib/build.sh" st &> /dev/null
|
||||||
}
|
}
|
||||||
|
@ -1018,6 +1021,9 @@ function start() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "${DOINSTALL}" == "1" ]]; then
|
if [[ "${DOINSTALL}" == "1" ]]; then
|
||||||
|
if [[ ! -z ${G_AUTOMATED} ]]; then
|
||||||
|
doSudo apt-get -y install ${MISSING}
|
||||||
|
else
|
||||||
TEMP=" ${MISSING//[^ ]}"
|
TEMP=" ${MISSING//[^ ]}"
|
||||||
TOTAL=${#TEMP}
|
TOTAL=${#TEMP}
|
||||||
COUNT=0
|
COUNT=0
|
||||||
|
@ -1028,6 +1034,7 @@ function start() {
|
||||||
doSudo apt-get -y install ${PACKAGE} &> /dev/null
|
doSudo apt-get -y install ${PACKAGE} &> /dev/null
|
||||||
done
|
done
|
||||||
} | whiptail --title "${G_TITLE}" --gauge "\nInstalling packages..." 7 50 0
|
} | whiptail --title "${G_TITLE}" --gauge "\nInstalling packages..." 7 50 0
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
tBoldBox tRED "Canceled!"
|
tBoldBox tRED "Canceled!"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue