Compiling Zandronum on Linux: Difference between revisions

Update and clean up dependency commands
(Add link to evolve readme)
Tag: Source edit
(Update and clean up dependency commands)
Tag: Source edit
Line 25: Line 25:
** kdialog ''(optional - for KDE users)''
** kdialog ''(optional - for KDE users)''
** fluidsynth or timidity ''(optional - for [http://zdoom.org/wiki/MIDI MIDI] playback)''
** fluidsynth or timidity ''(optional - for [http://zdoom.org/wiki/MIDI MIDI] playback)''
Install the following as root/superuser:


=== Debian/Ubuntu ===
=== Debian/Ubuntu ===
Line 39: Line 37:
dnf install gcc-c++ make cmake SDL-devel mercurial zlib-devel \
dnf install gcc-c++ make cmake SDL-devel mercurial zlib-devel \
bzip2-devel libjpeg-turbo-devel fluidsynth-devel gtk2-devel timidity++ nasm \
bzip2-devel libjpeg-turbo-devel fluidsynth-devel gtk2-devel timidity++ nasm \
mesa-libGL-devel openssl-devel glew glew-devel tar
mesa-libGL-devel openssl-devel glew glew-devel tar opus
</pre>
</pre>


Line 46: Line 44:
zypper install gcc-c++ make cmake libSDL-devel mercurial zlib-devel \
zypper install gcc-c++ make cmake libSDL-devel mercurial zlib-devel \
libbz2-devel libjpeg-devel fluidsynth-devel gtk2-devel timidity nasm \
libbz2-devel libjpeg-devel fluidsynth-devel gtk2-devel timidity nasm \
Mesa-libGL-devel libopenssl-devel tar glew glew-devel
Mesa-libGL-devel libopenssl-devel tar glew glew-devel libopus-devel
</pre>
 
=== Mageia ===
<pre>
a='' && [ "$(uname -m)" = x86_64 ] && a=64
urpmi gcc-c++ make cmake lib${a}SDL-devel mercurial lib${a}zlib-devel \
lib${a}bzip2-devel lib${a}jpeg-devel lib${a}fluidsynth-devel \
lib${a}gtk+2.0-devel lib${a}cairo-devel TiMidity++ nasm \
lib${a}mesagl1-devel lib${a}openssl-devel tar
</pre>
</pre>


Line 61: Line 50:
<pre>
<pre>
pacman -S --needed gcc make cmake sdl12-compat mercurial zlib bzip2 libjpeg-turbo \
pacman -S --needed gcc make cmake sdl12-compat mercurial zlib bzip2 libjpeg-turbo \
fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew
fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew opus
</pre>
 
=== Gentoo ===
<pre>
emerge -avn sys-devel/gcc sys-devel/make dev-util/cmake media-libs/libsdl \
dev-vcs/mercurial sys-libs/zlib app-arch/bzip2 media-libs/libjpeg-turbo media-sound/fluidsynth \
x11-libs/gtk+ media-sound/timidity++ dev-lang/nasm media-libs/mesa media-libs/glu \
dev-libs/openssl app-arch/tar
</pre>
 
=== PCLinuxOS ===
<pre>
a='' && [ "$(uname -m)" = x86_64 ] && a=64
apt-get install gcc-c++ make cmake lib${a}SDL-devel mercurial zlib1-devel \
lib${a}bzip2-devel lib${a}jpeg62-devel lib${a}fluidsynth1-devel \
lib${a}gtk+2.0_0-devel TiMidity++ nasm lib${a}mesagl1-devel \
lib${a}openssl-devel tar
</pre>
</pre>
=== Solus ===
<pre>
sudo eopkg install g++ make cmake binutils glibc-devel pkg-config \
sdl1-devel mercurial zlib-devel bzip2-devel libjpeg-turbo-devel \
fluidsynth-devel libgtk-2-devel nasm mesalib-devel libglu-devel \
openssl-devel tar
</pre>
'''Do the following sections as normal user.'''


== Enable Mercurial extensions ==
== Enable Mercurial extensions ==