Build Instructions Linux - Squalr/Squally GitHub Wiki

grab a copy of https://github.com/ValveSoftware/steam-runtime

cd /tmp;
git clone [email protected]:ValveSoftware/steam-runtime.git
cd steam-runtime;
git clone --recurse-submodules [email protected]:zcanann/Squally.git
cd Squally
sudo python ./dep.py init
cd ..
sudo ./setup_chroot.sh --amd64

Install Dependencies

sudo apt-get install build-essential libgtk-3-dev
sudo apt-get install libgtkmm-3.0-dev 
sudo apt-get install texinfo libbison-dev flex
sudo apt-get install ninja-build
sudo apt-get install libalut-dev
sudo apt-get install libmpg123-dev
wget http://ftp.gnu.org/gnu/binutils/binutils-2.31.tar.gz
tar -xvf binutils-2.31.tar.gz
cd binutils-2.31
./configure
make
sudo make install
wget https://github.com/glfw/glfw/releases/download/3.2.1/glfw-3.2.1.zip
unzip glfw-3.2.1.zip
cd glfw-3.2.1
cmake .
make
sudo make install

64 bit:

schroot --chroot steamrt_scout_amd64
version=3.12
build=3
wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz --no-check-certificate
tar -xzvf cmake-$version.$build.tar.gz
cd cmake-$version.$build/
./bootstrap
make -j4
sudo make install
cmake --version

Build Squally executable

cd ../Squally
#comment out $<$<PLATFORM_ID:Linux>:HAVE_SYS_RANDOM_H> in external/breakpad/CmakeLists.txt
mkdir build64
cd build64
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/steam-runtime/Squally/
make
cd bin/RelWithDebInfo/Squally

objcopy --only-keep-debug Squally Squally.pdb
strip --strip-debug --strip-unneeded Squally

cp /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 .
cp /usr/lib/libgtkmm-3.0.so.1 .
cp /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1 .
cp /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1 .
cp /usr/lib/libgdkmm-3.0.so.1 .
cp /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so.1 .
cp /usr/lib/x86_64-linux-gnu/libpangomm-1.4.so.1 .
cp /usr/lib/x86_64-linux-gnu/libcairomm-1.0.so.1 .
cp /usr/lib/x86_64-linux-gnu/libopenal.so.1 .
rm steam_appid.txt
cd ../;
tar -czvf Squally-linux-1.0.3-DONOTRELEASE.tar.gz Squally