From 5ed594ef711c67d3e6b5e85bbc11591c48d1c47c Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Sun, 21 Aug 2022 21:49:04 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Einstall-xash3ds.sh=E2=80=9C=20=C3=A4nd?= =?UTF-8?q?ern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-xash3ds.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install-xash3ds.sh b/install-xash3ds.sh index a18d652..5db1447 100644 --- a/install-xash3ds.sh +++ b/install-xash3ds.sh @@ -13,8 +13,10 @@ if [ -z "$1" ] then XASHDS_PORT=27015 CLIENT=false + PACKAGES="build-essential ca-certificates cmake curl git gnupg2 g++-multilib lib32gcc1-s1 libstdc++6:i386 python unzip xz-utils zip" else CLIENT=true + PACKAGES="build-essential gcc-multilib g++-multilib python libsdl2-dev:i386 libfontconfig-dev:i386 libfreetype6-dev:i386" fi #if [ "$2" == "client" ] @@ -38,7 +40,7 @@ else export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig fi sudo dpkg --add-architecture i386 -apt-get install -y --no-install-recommends build-essential ca-certificates cmake curl git gnupg2 g++-multilib lib32gcc1-s1 libstdc++6:i386 python unzip xz-utils zip +apt-get install -y --no-install-recommends ## compile xash3ds # go to build directory @@ -50,9 +52,6 @@ cd xash3d-fwgs ## cmake -DXASH_DEDICATED=ON -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" ../ ## make - -WAF_OPTION - ./waf configure -T release $WAF_OPTION ./waf make ./waf install --destdir=bin/