synfigstudio-cygwin-native-build.sh 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/bin/bash
  2. export CYGWIN_SETUP="/cygdrive/c/synfig-build/cygwin-dist/setup-x86.exe"
  3. export SRCPREFIX=`dirname "$0"`
  4. SRCPREFIX=$(cd "$SRCPREFIX/.."; pwd)
  5. # Install dependencies
  6. #-K http://cygwinports.org/ports.gpg -s ftp://ftp.cygwinports.org/pub/cygwinports -s http://mirrors.163.com/cygwin \
  7. CYGPORT_MIRROR=http://mirrors.kernel.org/sources.redhat.com/cygwinports
  8. $CYGWIN_SETUP \
  9. -K http://cygwinports.org/ports.gpg -s $CYGPORT_MIRROR -s http://ftp.linux.kiev.ua/pub/cygwin/ \
  10. -P git \
  11. -P make \
  12. -P gcc-core \
  13. -P gcc-g++ \
  14. -P gdb \
  15. -P intltool \
  16. -P autoconf \
  17. -P automake \
  18. -P libtool \
  19. -P pkg-config \
  20. -P libcairo-devel \
  21. -P libpango1.0-devel \
  22. -P libboost-devel \
  23. -P libboost1.50 \
  24. -P libjpeg-devel \
  25. -P libpng-devel \
  26. -P p7zip \
  27. -P ImageMagick \
  28. -P libxml++2.6-devel \
  29. -P libgtkmm2.4-devel \
  30. -q
  31. cd $SRCPREFIX/ETL
  32. autoreconf --install --force
  33. ./configure --prefix=/usr
  34. make install
  35. cd $SRCPREFIX/synfig-core
  36. ./bootstrap.sh
  37. ./configure --prefix=/usr
  38. make -j4
  39. make install