1 # we use both C and C++, so advertize C++
11 - sudo apt-get update -qq
13 - sudo apt-get install -y intltool libtool
14 - test -n "$MINGW" || sudo apt-get install -y libgtk2.0-dev libgtk-3-dev
15 - test -z "$MINGW" || sudo apt-get install -y mingw-w64-tools g++-mingw-w64-i686 gcc-mingw-w64-i686 binutils-mingw-w64-i686
16 - sudo apt-get install -y python-docutils rst2pdf
17 # try not to install doxygen-latex because we don't need it and it's huge
18 - sudo apt-get install -y --no-install-recommends doxygen
19 - sudo apt-get install -y python-lxml
21 - export CFLAGS="-g -O2 -Werror=pointer-arith -Werror=implicit-function-declaration"
23 - NOCONFIGURE=1 ./autogen.sh
25 if [ -n "$MINGW" ]; then
26 arg=-2; [ "$GTK3" = yes ] && arg=-3;
28 sh ./scripts/cross-build-mingw.sh $arg;
32 ../configure --enable-gtk3=$GTK3 &&