wok-current diff gtk+3/receipt @ rev 14416

new: python-edje
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 19:18:28 2013 +0200 (2013-04-23)
parents f633cb67c315
children a00bf44ed23d
line diff
     1.1 --- a/gtk+3/receipt	Wed Jan 30 18:54:24 2013 +0000
     1.2 +++ b/gtk+3/receipt	Tue Apr 23 19:18:28 2013 +0200
     1.3 @@ -1,31 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk+3"
     1.7 -SOURCE="gtk+"
     1.8 -VERSION="3.2.3"
     1.9 +VERSION="3.4.4"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="The GIMP Toolkit 3.x"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -SUGGESTED="cups"
    1.14 +SOURCE="gtk+"
    1.15  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.16  WEB_SITE="http://www.gtk.org/"
    1.17  WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL"
    1.18  CONFIG_FILES="/etc/gtk-3.0/settings.ini"
    1.19  CROSS="bug: /bin/bash: no: command not found"
    1.20  
    1.21 -DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor \
    1.22 -xorg-libXdamage xorg-libXi xorg-libXinerama xorg-libXrandr"
    1.23 +DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor xorg-libXi \
    1.24 +xorg-libXinerama xorg-libXrandr"
    1.25 +SUGGESTED="cups"
    1.26  BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \
    1.27 -perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev"
    1.28 +perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev indent "
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34  	./configure \
    1.35  		--prefix=/usr \
    1.36  		--sysconfdir=/etc \
    1.37 -		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    1.38 +		--localstatedir=/var \
    1.39 +		--build=$HOST_SYSTEM \
    1.40 +		--host=$HOST_SYSTEM \
    1.41 +		--enable-debug=no \
    1.42 +		--enable-xkb \
    1.43 +		--enable-xinerama \
    1.44 +		--enable-xrandr \
    1.45 +		--enable-xfixes \
    1.46 +		--enable-xcomposite \
    1.47 +		--enable-xdamage \
    1.48 +		--enable-x11-backend \
    1.49 +		--enable-introspection=yes \
    1.50 +		--enable-packagekit=no \
    1.51 +		--enable-colord=no \
    1.52 +		--with-x &&
    1.53  	make $MAKEFLAGS &&
    1.54  	make DESTDIR=$DESTDIR install
    1.55  }
    1.56 @@ -33,22 +46,28 @@
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58  genpkg_rules()
    1.59  {
    1.60 -	mkdir -p $fs/usr/lib/gtk-3.0 $fs/usr/share $fs/usr/bin $fs/etc/gtk-3.0
    1.61 +	mkdir -p \
    1.62 +		$fs/etc/gtk-3.0 \
    1.63 +		$fs/usr/bin \
    1.64 +		$fs/usr/lib/gtk-3.0 \
    1.65 +		$fs/usr/share
    1.66 +
    1.67 +	# Configuration file.
    1.68 +	cp -a $install/etc $fs
    1.69 +	cp -f $stuff/settings.ini $fs/etc/gtk-3.0
    1.70 +
    1.71 +	# Apps.
    1.72 +	cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin
    1.73 +	cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin
    1.74 +	# gtk3-demo & gtk3-demo-application -> gtk+3-demo
    1.75 +	# gtk3-widget-factory -> gtk+3-widget-factory
    1.76  
    1.77  	# Libs.
    1.78  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.79 -	cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-2.0
    1.80 +	cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-3.0
    1.81  	rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la
    1.82  
    1.83 -	# Themes
    1.84 +	# Themes.
    1.85  	cp -a $install/usr/share/themes $fs/usr/share
    1.86  	cp -a $install/usr/share/glib-2.0 $fs/usr/share
    1.87 -
    1.88 -	# Apps.
    1.89 -	cp  $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin
    1.90 -	#cp  $install/usr/bin/gtk-update-icon-cache $fs/usr/bin
    1.91 -
    1.92 -	# Configuration file
    1.93 -	cp -a $install/etc $fs
    1.94 -	cp -f $stuff/settings.ini $fs/etc/gtk-3.0
    1.95  }