Skip to content
Snippets Groups Projects

Arcade sound installer

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Jakob Kirsch

    Installs arcade with libsoloud.so

    install.sh 742 B
    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
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment