wok-next diff clutter-gtk/receipt @ rev 20738

Up scons (3.0.1); add scons2 (2.5.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 21:13:51 2018 +0300 (2018-05-29)
parents 835b3b8ce6ac
children f48456621a9d
line diff
     1.1 --- a/clutter-gtk/receipt	Fri Apr 13 07:14:16 2018 +0300
     1.2 +++ b/clutter-gtk/receipt	Tue May 29 21:13:51 2018 +0300
     1.3 @@ -1,29 +1,21 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="clutter-gtk"
     1.7 -VERSION="0.10.8"
     1.8 +VERSION="1.8.4"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="GTK+ libraries for Clutter"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13  WEB_SITE="http://clutter-project.org/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter-gtk.html"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
    1.22 -libtool gtk-doc expat-dev xorg-libxshmfence-dev"
    1.23 +BUILD_DEPENDS="clutter-dev gtk+3-dev gettext gobject-introspection-dev"
    1.24  SPLIT="clutter-gtk-dev"
    1.25  
    1.26  compile_rules() {
    1.27 -	export LDFLAGS="$LDFLAGS -lm -lgthread-2.0"
    1.28 -
    1.29 -	patch -Np1 -i $stuff/fix-gir.patch
    1.30 -	sed \
    1.31 -		-e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
    1.32 -		-e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
    1.33 -		-i clutter-gtk/gtk-clutter-embed.c
    1.34 -	autoreconf -i
    1.35  	./configure $CONFIGURE_ARGS &&
    1.36  	fix libtool &&
    1.37  	make &&
    1.38 @@ -34,10 +26,11 @@
    1.39  	case $PACKAGE in
    1.40  		clutter-gtk)
    1.41  			copy @std
    1.42 -			DEPENDS="gtk+ clutter"
    1.43 +			DEPENDS="cairo clutter cogl gdk-pixbuf glib gtk+3"
    1.44  			;;
    1.45  		*-dev)
    1.46  			copy @dev
    1.47 +			DEPENDS="clutter-gtk clutter-dev gtk+3-dev"
    1.48  			;;
    1.49  	esac
    1.50  }