wok-next diff cinepaint/receipt @ rev 13814

Add fdupes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 13:29:35 2013 +0100 (2013-01-06)
parents fe6ca5cfd1ff
children 1040bd60b471
line diff
     1.1 --- a/cinepaint/receipt	Sun Apr 29 08:58:01 2012 +0200
     1.2 +++ b/cinepaint/receipt	Sun Jan 06 13:29:35 2013 +0100
     1.3 @@ -1,33 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cinepaint"
     1.7 -VERSION="0.22-1"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="For painting and retouching bitmap frames of films."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.14  WEB_SITE="http://www.cinepaint.org"
    1.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17  DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
    1.18  gutenprint zlib mesa jbigkit openexr"
    1.19  BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
    1.20 - xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
    1.21 - ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev"
    1.22 +xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
    1.23 +ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
    1.24 +python-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -	patch -Np1 -i $stuff/cinepaint-0.22.1-gcc43.patch
    1.31 -	patch -Np1 -i $stuff/cinepaint-0.22-gcc44.patch
    1.32 -	patch -Np1 -i $stuff/cinepaint-0.22.1-multiple_parameters_named.patch
    1.33 -	patch -Np0 -i $stuff/cinepaint-0.22.1-ambiguousawake.patch
    1.34 -find plug-ins/print -type f -exec \
    1.35 -    sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \;
    1.36 -	grep -rl Fl/Fl * | xargs sed -i 's|Fl/Fl|FL/Fl|'
    1.37 -	# Fix insecure rpath
    1.38 -	sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure
    1.39 +	sh ./autogen.sh
    1.40  	./configure \
    1.41  		--prefix=/usr \
    1.42  		--enable-gtk2 \
    1.43 @@ -40,12 +33,12 @@
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/share $fs/usr/lib
    1.47 -	cp -a $_pkg/usr/bin $fs/usr
    1.48 -	cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib
    1.49 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.50 -	cp -a $_pkg/usr/share/cinepaint $fs/usr/share
    1.51 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.52 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.53 -	cp -a $_pkg/usr/share/fonts $fs/usr/share
    1.54 +	cp -a $install/usr/bin $fs/usr
    1.55 +	cp -a $install/usr/lib/cinepaint $fs/usr/lib
    1.56 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.57 +	cp -a $install/usr/share/cinepaint $fs/usr/share
    1.58 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.59 +	cp -a $install/usr/share/applications $fs/usr/share
    1.60 +	cp -a $install/usr/share/fonts $fs/usr/share
    1.61  }
    1.62