# HG changeset patch # User kyberneticist@gmail.com # Date 1346279915 0 # Node ID 1b87576183da0de5fb0fdb774002bf3a21c3796e # Parent 7b1a6c46c3b5460e9756ecb3ca233d233aa17ee3 diff -r 7b1a6c46c3b5 -r 1b87576183da BuildingOnLinux.wiki --- a/BuildingOnLinux.wiki Wed Aug 22 20:08:59 2012 +0000 +++ b/BuildingOnLinux.wiki Wed Aug 29 22:38:35 2012 +0000 @@ -3,15 +3,22 @@ = Introduction = -Please see the original post here: http://www.hedgewars.org/node/2215#comment-15049 - +Copy and Paste instructions for a Hedgewars build. Should work on Debian and the like (Ubuntu, Mint). Packages for other distros should have similar names. Remember to copy the *entire* apt-get lines! = Prerequisites = {{{ sudo apt-get install mercurial cmake qt4-qmake libqt4-dev libsdl1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblua5.1-dev fpc }}} -note, if you want to try building the server as well (requires at least libghc base 4.3 right now) try these too: +If you want PNG screenshots, add: +{{{ +sudo apt-get install libpng12-dev +}}} +If you want video recording, add: +{{{ +sudo apt-get install libavcodec-dev libavformat-dev +}}} +If you want to try building the server as well (requires at least libghc base 4.3 now) try these too: {{{ sudo apt-get install ghc libghc-binary-dev libghc-bytestring-show-dev libghc-dataenc-dev libghc-deepseq-dev libghc-hslogger-dev libghc-mtl-dev libghc-network-dev libghc-parsec3-dev libghc-utf8-string-dev }}}