python3 -m pip install arcade
git clone https://github.com/jarikomppa/soloud.git
cd soloud/build
git clone https://github.com/bkaradzic/genie.git
cd genie
make
cd ..
./genie/bin/linux/genie --os=linux --cc=gcc gmake
cd gmake
LDFLAGS=-lasound CXXFLAGS=-lasound make
cd ../..
cp lib/libsoloud.so $HOME/.local/lib/python3.$(python3 -c 'import sys; print(sys.version[2],end="")')/site-packages/arcade/soloud/libsoloud.so
cd ..
rm -fr soloud
sed -i '/Soloud_setPanAbsoluteEx/d' $HOME/.local/lib/python3.$(python3 -c 'import sys; print(sys.version[2],end="")')/site-packages/arcade/soloud/soloud.py
sed -i '/set_pan_absolute/d' $HOME/.local/lib/python3.$(python3 -c 'import sys; print(sys.version[2],end="")')/site-packages/arcade/soloud/soloud.py
