wok rev 16171

ARM: e17 still need more bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 03:41:12 2014 +0200 (2014-03-30)
parents 0da0825d8092
children 167df68aa303
files enlightenment/receipt gtk+/receipt gtk+3/receipt ninvaders/receipt
line diff
     1.1 --- a/enlightenment/receipt	Sun Mar 30 01:24:13 2014 +0100
     1.2 +++ b/enlightenment/receipt	Sun Mar 30 03:41:12 2014 +0200
     1.3 @@ -13,9 +13,11 @@
     1.4  HOST_ARCH="i486 arm"
     1.5  
     1.6  LOCALES="da de es fr fr_CH it pt_BR ru zh_CN zh_TW"
     1.7 -DEPENDS="eet evas ecore emotion efreet edbus alsa-lib xcb-util-keysyms"
     1.8 -BUILD_DEPENDS="eet-dev evas-dev ecore-dev emotion-dev efreet-dev \
     1.9 -edbus-dev alsa-lib-dev xcb-util-keysyms-dev"
    1.10 +DEPENDS="eet evas ecore eeze emotion efreet edbus edje elementary alsa-lib \
    1.11 +xcb-util-keysyms"
    1.12 +BUILD_DEPENDS="eet-dev evas-dev ecore-dev eeze-dev emotion-dev efreet-dev \
    1.13 +edbus-dev libelementary elementary-dev edje-dev ethumb-dev eio-dev \
    1.14 +alsa-lib-dev xcb-util-keysyms-dev"
    1.15  
    1.16  case "$ARCH" in
    1.17  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS pm-utils" ;;
     2.1 --- a/gtk+/receipt	Sun Mar 30 01:24:13 2014 +0100
     2.2 +++ b/gtk+/receipt	Sun Mar 30 03:41:12 2014 +0200
     2.3 @@ -1,16 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gtk+"
     2.7 -VERSION="2.24.18"
     2.8 +VERSION="2.20.1"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="The GIMP Toolkit."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13  SUGGESTED="cups gnutls libgcrypt libgpg-error"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16  WEB_SITE="http://www.gtk.org/"
    2.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    2.18  CONFIG_FILES="/etc/gtk-2.0/gtk.immodules"
    2.19 +
    2.20  HOST_ARCH="i486 arm"
    2.21  CROSS_BUGS="/bin/bash: no: command not found"
    2.22  
     3.1 --- a/gtk+3/receipt	Sun Mar 30 01:24:13 2014 +0100
     3.2 +++ b/gtk+3/receipt	Sun Mar 30 03:41:12 2014 +0200
     3.3 @@ -11,7 +11,9 @@
     3.4  WEB_SITE="http://www.gtk.org/"
     3.5  WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL"
     3.6  CONFIG_FILES="/etc/gtk-3.0/settings.ini"
     3.7 -CROSS="bug: /bin/bash: no: command not found"
     3.8 +
     3.9 +#HOST_ARCH="i486 arm"
    3.10 +CROSS_BUGS="bug: /bin/bash: no: command not found"
    3.11  
    3.12  DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor xorg-libXi \
    3.13  xorg-libXinerama xorg-libXrandr"
    3.14 @@ -20,6 +22,17 @@
    3.15  perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev indent \
    3.16  libxml2-dev"
    3.17  
    3.18 +# Handle cross compilation.
    3.19 +case "$ARCH" in
    3.20 +	arm*) 
    3.21 +		BUILD_DEPENDS="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
    3.22 +xorg-inputproto"
    3.23 +		ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
    3.24 +--disable-papi --with-xinput gio_can_sniff=yes"
    3.25 +		export LDFLAGS=-L/cross/$ARCH/sysroot/usr/lib 
    3.26 +		export CPPFLAGS=-I/cross/$ARCH/sysroot/usr/include ;;
    3.27 +esac
    3.28 +
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32 @@ -27,8 +40,6 @@
    3.33  		--prefix=/usr \
    3.34  		--sysconfdir=/etc \
    3.35  		--localstatedir=/var \
    3.36 -		--build=$HOST_SYSTEM \
    3.37 -		--host=$HOST_SYSTEM \
    3.38  		--enable-debug=no \
    3.39  		--enable-xkb \
    3.40  		--enable-xinerama \
    3.41 @@ -40,7 +51,7 @@
    3.42  		--enable-introspection=yes \
    3.43  		--enable-packagekit=no \
    3.44  		--enable-colord=no \
    3.45 -		--with-x &&
    3.46 +		--with-x $CONFIGURE_ARGS ${ARCH_ARGS}&&
    3.47  	make $MAKEFLAGS &&
    3.48  	make DESTDIR=$DESTDIR install
    3.49  }
     4.1 --- a/ninvaders/receipt	Sun Mar 30 01:24:13 2014 +0100
     4.2 +++ b/ninvaders/receipt	Sun Mar 30 03:41:12 2014 +0200
     4.3 @@ -10,6 +10,7 @@
     4.4  WEB_SITE="http://ninvaders.sourceforge.net/"
     4.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     4.6  TAGS="shooting"
     4.7 +HOST_ARCH="i486 arm"
     4.8  
     4.9  DEPENDS="ncurses"
    4.10  BUILD_DEPENDS="ncurses-dev"
    4.11 @@ -17,8 +18,7 @@
    4.12  # Rules to configure and make the package.
    4.13  compile_rules()
    4.14  {
    4.15 -	cd $src
    4.16 -	make
    4.17 +	make CC=${HOST_SYSTEM}-gcc
    4.18  }
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.