Skip to content

Build Instructions Linux

Matthew Bucci edited this page Nov 9, 2018 · 40 revisions

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

cd /tmp;
git clone git@github.com:ValveSoftware/steam-runtime.git
cd steam-runtime;
git clone --recurse-submodules git@github.com:zcanann/Squally.git
./setup_chroot.sh --i386
./setup_chroot.sh --amd64

32 Bit

Install a newer version of cmake

schroot --chroot steamrt_scout_i386
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
mkdir build32
cd build32
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/steam-runtime/Squally/

64 bit

Install a newer version of cmake

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

Install Dependencies

apt-get install build-essential libgtk-3-dev
apt-get install libgtkmm-3.0-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
make install

Build Squally executable

cd ../Squally
mkdir build64
cd build64
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/steam-runtime/Squally/
make
cd bin/RelWithDebInfo/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 .
rm steam_appid.txt
cd ../;
tar -czvf Squally-linux-1.0.3-DONOTRELEASE.tar.gz Squally

Clone this wiki locally