build_engine.sh: build iqm and imgtool

This commit is contained in:
Marco Cawthorne 2020-11-07 10:40:36 +01:00
parent 982206876e
commit c737cebba7
2 changed files with 9 additions and 4 deletions

View File

@ -6,13 +6,13 @@ FTE_MAKEFILE=./src/engine/engine/Makefile
mkdir -p ./bin
if [ -f "$FTE_MAKEFILE" ]; then
printf "Engine is present, updating...\n"
cd ./src/engine/
printf "Engine is present, updating...\n"
cd ./src/engine/
svn up
cd ./engine
else
printf "Engine is NOT present, cloning...\n"
cd ./src/
printf "Engine is NOT present, cloning...\n"
cd ./src/
svn checkout https://svn.code.sf.net/p/fteqw/code/trunk engine
cd ./engine/engine
fi
@ -24,6 +24,10 @@ make -j $(nproc) sv-rel
cp -v ./release/fteqw-sv ../../../bin/fteqw-sv
make -j $(nproc) qcc-rel
cp -v ./release/fteqcc ../../../bin/fteqcc
make -j $(nproc) iqm-rel
cp -v ./release/iqm ../../../bin/iqm
make -j $(nproc) imgtool-rel
cp -v ./release/imgtool ../../../bin/imgtool
make -j $(nproc) plugins-rel NATIVE_PLUGINS="bullet"
find ./release/ -name 'fteplug_bullet_*.so' -exec cp -prv '{}' '../../../bin/' ';'
make -j $(nproc) plugins-rel NATIVE_PLUGINS="ffmpeg"

View File

@ -25,6 +25,7 @@ BASEGAME cstrike
-set gameinfo_url_dl "http://www.frag-net.com/mods/cstrike.fmf"
-set gameinfo_menutrack ""
-set gameinfo_chatroom "freecs"
-set gameinfo_pkgname "cg_cstrike"
DOWNLOADSURL http://www.frag-net.com/dl/cstrike_packages
UPDATEURL http://www.frag-net.com/mods/cstrike.fmf