atrooney-online-2/scripts/configure_ubuntu.sh
oldmud0 156a760eba Full revert to tag 2.6.2
Due to a countless number of changes made to the core that were not
fully understood, tested, or documented, it was decided to roll
everything back to the last known stable version (2.6.2).

Changes dropped include:
 - Witness needed
 - Shake
 - Frame SFX
 - Multiple custom objections
 - Multithreaded thumbnail generation
 - Looping
 - Various translation additions
 - "Mirror IC"
 - Color in IC log
 - An invocation of clang-format

Next time, work together and split your big fork into independently
testable feature branches.
2020-05-22 17:02:32 -05:00

46 lines
981 B
Bash
Executable File

#!/bin/bash
# Assumes a somewhat recent 64-bit ubuntu
# Exit on errors and unset variables
set -eu
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/"
cd ${ROOT_DIR}
#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/
#get libqtapng plugin prebuilt
curl -L https://github.com/Skycoder42/QtApng/releases/download/1.1.0-5/build_gcc_64_5.12.0.tar.xz -o apng.tar.xz
tar -xvf apng.tar.xz
cp gcc_64/plugins/imageformats/libqapng.so ../../lib
cd ..
rm -rf tmp
#during runtime, the program expects the libraries to exist in the root folder
cp ../lib/* ..