source-engine/scripts/build-ubuntu-i386.sh

11 lines
500 B
Bash
Raw Normal View History

2022-07-25 21:15:02 +00:00
#!/bin/sh
git submodule init && git submodule update
sudo dpkg --add-architecture i386
sudo apt-get update
2023-04-05 22:27:17 +00:00
sudo apt-get install -y aptitude
sudo aptitude install -y libopenal-dev:i386 g++-multilib gcc-multilib libpng-dev:i386 libjpeg-dev:i386 libfreetype6-dev:i386 libfontconfig1-dev:i386 libcurl4-gnutls-dev:i386 libsdl2-dev:i386 zlib1g-dev:i386 libbz2-dev:i386 libedit-dev:i386
2022-07-25 21:15:02 +00:00
2023-11-08 18:58:33 +00:00
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns --32bits $* &&
2022-07-25 21:15:02 +00:00
./waf build