wok-next diff geany/receipt @ rev 16614

libgd: dowgrade to 2.0.35 (it was a bad idea and not the moment to update)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 08 19:40:39 2014 +0200 (2014-05-08)
parents c7ce5e74f144
children 5d53e8ccbc8d
line diff
     1.1 --- a/geany/receipt	Sun Dec 22 15:34:21 2013 +0100
     1.2 +++ b/geany/receipt	Thu May 08 19:40:39 2014 +0200
     1.3 @@ -10,22 +10,28 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://geany.uvena.de/"
     1.6  WGET_URL="http://download.geany.org/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
    1.10 -gtk+ atk cairo pango pixman libpng fontconfig freetype \
    1.11 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
    1.12 +gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \
    1.13 +xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
    1.14  xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
    1.15 -BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \
    1.16 -libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \
    1.17 -xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \
    1.18 -xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale libxml2-dev"
    1.19 +BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
    1.20 +pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
    1.21 +xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
    1.22 +xorg-libXdmcp-dev libxml2-dev"
    1.23 +
    1.24 +# Handle cross compilation.
    1.25 +case "$ARCH" in
    1.26 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;;
    1.27 +	arm*) ARCH_ARGS="--disable-vte" ;;
    1.28 +esac
    1.29  
    1.30  # Rules to configure and make the package.
    1.31 -# Without vte : --disable-vte
    1.32  compile_rules()
    1.33  {
    1.34 -	cd $src
    1.35 -	./configure $CONFIGURE_ARGS &&
    1.36 +	./configure \
    1.37 +		${CONFIGURE_ARGS} ${ARCH_ARGS} &&
    1.38  	make && make install
    1.39  }
    1.40