TrustedUser
2,147
edits
(→Compiling ScummVM: add info on parallel build) |
m (→Installing the needed libraries via a package manager: Add fribidi) |
||
Line 5: | Line 5: | ||
The following should install all the needed libraries: | The following should install all the needed libraries: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt-get install g++ make libsdl2-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev | apt-get install g++ make libsdl2-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 15: | Line 15: | ||
===Ubuntu 18.04 to 20.04=== | ===Ubuntu 18.04 to 20.04=== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt install g++ make libsdl2-dev liba52-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev | apt install g++ make libsdl2-dev liba52-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 21: | ||
The following should install all the needed libraries (apart from fluidsynth): | The following should install all the needed libraries (apart from fluidsynth): | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
yum install gcc-c++ make SDL-devel libjpeg-turbo-devel libmpeg2-devel libogg-devel libvorbis-devel flac-devel libmad-devel libpng-devel libtheora-devel faad2-devel freetype-devel zlib-devel | yum install gcc-c++ make SDL-devel libjpeg-turbo-devel libmpeg2-devel libogg-devel libvorbis-devel flac-devel libmad-devel libpng-devel libtheora-devel faad2-devel freetype-devel zlib-devel fribidi-devel | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 27: | Line 27: | ||
The following command installs the compiler toolchain and all the needed libraries: | The following command installs the compiler toolchain and all the needed libraries: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
pacman -S --needed base-devel git curl faad2 freetype2 flac fluidsynth libjpeg-turbo libogg libvorbis libmad libmpeg2 libtheora libpng nasm readline sdl2 sdl2_net zlib | pacman -S --needed base-devel git curl faad2 freetype2 flac fluidsynth libjpeg-turbo libogg libvorbis libmad libmpeg2 libtheora libpng nasm readline sdl2 sdl2_net zlib fribidi | ||
</syntaxhighlight> | </syntaxhighlight> | ||