44 lines
No EOL
1.2 KiB
Bash
Executable file
44 lines
No EOL
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
#git clone https://code.teampandory.com/pandory/pandory500/SDL-mirror.git
|
|
|
|
set -e
|
|
|
|
#wget -c https://code.teampandory.com/pandory/pandory500/SDL-mirror/-/archive/pandory500/SDL-mirror-pandory500.tar.gz
|
|
#tar xvf SDL-mirror-pandory500.tar.gz
|
|
#cd SDL-mirror-pandory500
|
|
|
|
|
|
wget -c https://code.teampandory.com/pandory/pandory500/SDL-mirror/-/archive/feature/malifb/SDL-mirror-feature-malifb.tar.gz
|
|
tar xvf SDL-mirror-feature-malifb.tar.gz
|
|
cd SDL-mirror-feature-malifb
|
|
|
|
make clean
|
|
|
|
#cd SDL-mirror
|
|
#git checkout faf888083364c9e3657e7ff52384f71c82c11ada
|
|
|
|
|
|
#tar xvf "$SRC/SDL2-teampandory-malipatched.tgz"
|
|
#cd SDL2-teampandory-malipatched
|
|
|
|
#export CFLAGS="-I$PREFIX/include -O3 -DDEBUG_INPUT_EVENTS=1";
|
|
#export CPPFLAGS="-I$PREFIX/include -O3 -DDEBUG_INPUT_EVENTS=1";
|
|
|
|
export CFLAGS="-I$PREFIX/opt/gles/include -I$PREFIX/include -O3";
|
|
export CPPFLAGS="-I$PREFIX/opt/gles/include -I$PREFIX/include -O3";
|
|
export LDFLAGS="-L$PREFIX/opt/gles/lib -L$PREFIX/lib";
|
|
|
|
export LD="$xLD"
|
|
|
|
./autogen.sh
|
|
#autoupdate
|
|
|
|
./configure \
|
|
--prefix="$PREFIX" \
|
|
--host="$xHOST" \
|
|
--enable-video-mali=yes \
|
|
--enable-jack=no \
|
|
--enable-video-kmsdrm=no \
|
|
--enable-assertions=disabled \
|
|
;
|
|
make && make install |