diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-12-26 17:14:10 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-12-26 17:14:10 +0100 |
| commit | 45eae604451d2a05e13e9cdb163319c4a0dab7aa (patch) | |
| tree | 111bc15a511e6c36a0a4c92ac82f35e6f0fe68b0 /scripts | |
| parent | 0c44a1c854ea13e0c7fba6e17d8ed2cdfc08e5cd (diff) | |
added ubuntu config script
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/configure_ubuntu.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/configure_ubuntu.sh b/scripts/configure_ubuntu.sh new file mode 100755 index 00000000..a85f09bd --- /dev/null +++ b/scripts/configure_ubuntu.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +#assumes a somewhat recent 64-bit ubuntu + +#need some openGL stuff +sudo apt install libgl1-mesa-dev + +mkdir tmp +cd tmp + +#get the bass prebuilt +curl http://www.un4seen.com/files/bass24-linux.zip -o bass_linux.zip + +unzip bass_linux.zip + +cp x64/libbass.so ../../lib + +#get the discord-rpc prebuilt +curl -L https://github.com/discordapp/discord-rpc/releases/download/v3.4.0/discord-rpc-linux.zip -o discord_rpc_linux.zip + +unzip discord_rpc_linux.zip + +cp discord-rpc/linux-dynamic/lib/libdiscord-rpc.so ../../lib/ + +cd .. + +rm -rf tmp/ |
