# HG changeset patch # User Christophe Lincoln # Date 1396560156 -7200 # Node ID 2676fa7f0f93e6a1e9bbeaf8558efbe3b12b7e0f # Parent 128aae84d74c9f4b4d23ff420bcbe57a96976ad4 ARM: add vte with sakura diff -r 128aae84d74c -r 2676fa7f0f93 sakura/receipt --- a/sakura/receipt Thu Apr 03 22:56:54 2014 +0200 +++ b/sakura/receipt Thu Apr 03 23:22:36 2014 +0200 @@ -9,9 +9,15 @@ WEB_SITE="http://www.pleyades.net/david/projects/sakura" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="gtk+ vte xorg-libXdamage" -BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget" +BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev" + +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;; +esac # Rules to configure and make the package. compile_rules() diff -r 128aae84d74c -r 2676fa7f0f93 vte-dev/receipt --- a/vte-dev/receipt Thu Apr 03 22:56:54 2014 +0200 +++ b/vte-dev/receipt Thu Apr 03 23:22:36 2014 +0200 @@ -8,8 +8,9 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.gnome.org/" +HOST_ARCH="i486 arm" -DEPENDS="vte pkg-config" +DEPENDS="vte" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() @@ -17,7 +18,9 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + [ -d "$install/usr/lib/girepository-1.0" ] && + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + [ -d "$install/usr/share/gir-1.0" ] && \ + cp -a $install/usr/share/gir-1.0 $fs/usr/share cp -a $install/usr/include $fs/usr - cp -a $install/usr/share/gir-1.0 $fs/usr/share } diff -r 128aae84d74c -r 2676fa7f0f93 vte-terminal/receipt --- a/vte-terminal/receipt Thu Apr 03 22:56:54 2014 +0200 +++ b/vte-terminal/receipt Thu Apr 03 23:22:36 2014 +0200 @@ -9,6 +9,7 @@ LICENSE="GPL2" WEB_SITE="http://www.gnome.org/" TAGS="terminal" +HOST_ARCH="i486 arm" DEPENDS="expat vte" diff -r 128aae84d74c -r 2676fa7f0f93 vte/receipt --- a/vte/receipt Thu Apr 03 22:56:54 2014 +0200 +++ b/vte/receipt Thu Apr 03 23:22:36 2014 +0200 @@ -9,22 +9,29 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -LOCALE="" +HOST_ARCH="i486 arm" DEPENDS="gtk+ ncurses xorg-libXdamage" -BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \ -intltool ncurses-dev gobject-introspection-dev" +BUILD_DEPENDS="gtk+-dev ncurses-dev " + +# Handle cross compilation. +case "$ARCH" in + i?86) + BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev + perl perl-xml-parser" + ARCH_ARGS="--enable-introspection=yes" ;; + arm) + ARCH_ARGS="--enable-introspection=no" ;; +esac # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --libexecdir=/usr/lib/vte \ --with-html-dir=/usr/share/doc \ --with-pcre \ --disable-static \ - --enable-introspection \ $CONFIGURE_ARGS && make && make install }