mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
31 lines
803 B
Bash
31 lines
803 B
Bash
#!/bin/sh
|
|
|
|
# Add MXE repository and key
|
|
echo "deb http://pkg.mxe.cc/repos/apt/debian wheezy main" \
|
|
| sudo tee /etc/apt/sources.list.d/mxeapt.list
|
|
|
|
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D43A795B73B16ABE9643FE1AFD8FFF16DB45C6AB
|
|
|
|
# Install needed packages
|
|
sudo apt-get update -qq
|
|
|
|
sudo apt-get install -qq \
|
|
mxe-$MXE_TARGET-gcc \
|
|
mxe-$MXE_TARGET-boost \
|
|
mxe-$MXE_TARGET-zlib \
|
|
mxe-$MXE_TARGET-sdl2 \
|
|
mxe-$MXE_TARGET-sdl2-gfx \
|
|
mxe-$MXE_TARGET-sdl2-image \
|
|
mxe-$MXE_TARGET-sdl2-mixer \
|
|
mxe-$MXE_TARGET-sdl2-ttf \
|
|
mxe-$MXE_TARGET-ffmpeg \
|
|
mxe-$MXE_TARGET-qt \
|
|
mxe-$MXE_TARGET-qtbase
|
|
|
|
# Install nsis for installer creation
|
|
sudo apt-get install -qq nsis
|
|
|
|
# alias for CMake
|
|
sudo mv /usr/bin/cmake /usr/bin/cmake.orig
|
|
sudo ln -s /usr/lib/mxe/usr/bin/$MXE_TARGET-cmake /usr/bin/cmake
|