How to compile ScummVM on Ubuntu?
Update: 2019/12/18 - on the 17th Blade Runner got officially released on GOG, and uses ScummVM, if you want to play the game you don't need to hassle with ScummVM anymore, even if your system has an older version.
This guide is for Ubuntu 19.10, but it can work on other versions. I had to compile from source, because the latest Ubuntu doesn't have the 2.1 version of ScummVM, which can run Blade Runner really well.
1. Download source
First we need to download the source from their website, and extract it to a temporary directory. Just make sure it has enough space.
2. Download dependencies for compiling
This is based on their wiki. Use the following command in terminal:
sudo apt install g++ make libsdl2-dev liba52-dev libjpeg62-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev
3. Compile ScummVM
Enter into the ScummVM directory, in this example I have it in my home directory under src:
Run the compile script, and hope no error messages :)
Compiling ScummVM (it can take a while depending on your machine):
After that you can run it from this directory (but then you need to make a shortcut, etc.), but I highly recommend a system-wide install, so run this command:
sudo make install
After this, ScummVM will be available from the menu.