wok-next diff gimp/receipt @ rev 12949

asterisk: dahdi needs tonezone
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 09:56:44 2012 +0200 (2012-05-31)
parents 8e4c74abdf74
children 6c70085d1b49
line diff
     1.1 --- a/gimp/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.2 +++ b/gimp/receipt	Thu May 31 09:56:44 2012 +0200
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gimp"
     1.7 -VERSION="2.6.11"
     1.8 +VERSION="2.8.0"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage libexif \
    1.13 -xorg-libXmu xorg-libXt"
    1.14 -SUGGESTED="gimp-plug-ins gimp-console"
    1.15 -BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
    1.16 -gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
    1.17 -lcms-dev xorg-dev-proto"
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WEB_SITE="http://www.gimp.org/"
    1.20 -WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
    1.21 +WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.8/$TARBALL"
    1.22 +SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
    1.23 +
    1.24 +DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
    1.25 +xorg-libXt gdk-pixbuf gtk+ "
    1.26 +BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
    1.27 +intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
    1.28 +gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32 @@ -32,11 +33,9 @@
    1.33    		--without-alsa \
    1.34    		--without-librsvg \
    1.35    		--without-dbus \
    1.36 -  		--without-hal \
    1.37    		--without-webkit \
    1.38  		$CONFIGURE_ARGS &&
    1.39 -	make $MAKEFLAGS &&
    1.40 -	make DESTDIR=$PWD/_pkg install
    1.41 +	make $MAKEFLAGS && make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 @@ -44,12 +43,12 @@
    1.46  {
    1.47  	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.48  
    1.49 -	cp -a $_pkg/etc $fs
    1.50 -	cp -a $_pkg/usr/bin $fs/usr
    1.51 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.52 -	cp -a $_pkg/usr/lib/gimp $fs/usr/lib
    1.53 -	cp -a $_pkg/usr/share/gimp $fs/usr/share
    1.54 -	cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
    1.55 +	cp -a $install/etc $fs
    1.56 +	cp -a $install/usr/bin $fs/usr
    1.57 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.58 +	cp -a $install/usr/lib/gimp $fs/usr/lib
    1.59 +
    1.60 +	cp $install/usr/share/icons/hicolor/24x24/apps/gimp.png \
    1.61  		$fs/usr/share/pixmaps/gimp.png
    1.62  
    1.63  	# The gimp-console goes in a separate package
    1.64 @@ -59,13 +58,20 @@
    1.65  	rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
    1.66  	for i in file-jpeg file-png pixelize screenshot
    1.67  	do
    1.68 -		cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
    1.69 +		cp $install/usr/lib/gimp/2.0/plug-ins/$i \
    1.70 +			$fs/usr/lib/gimp/2.0/plug-ins
    1.71  	done
    1.72  
    1.73 -	# Strip plug-ins and remove devel files
    1.74 -	strip -s $fs/usr/lib/gimp/*/plug-ins/*
    1.75 -	rm $fs/usr/lib/gimp/*/modules/*.*a
    1.76 +	# Include only Basic brushes --> gimp-brushes
    1.77 +	cp -a $install/usr/share/gimp $fs/usr/share
    1.78 +	for i in gimp-* Legacy Media Sketch Splatters Texture
    1.79 +	do
    1.80 +		rm -rf $fs/usr/share/gimp/2.0/brushes/$i
    1.81 +	done
    1.82 +
    1.83 +	# Remove devel files
    1.84 +	rm $fs/usr/lib/gimp/2.0/modules/*.*a
    1.85  
    1.86  	# Put a nice splash with a spider
    1.87 -	cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
    1.88 +	cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
    1.89  }