wok annotate gimp/receipt @ rev 19765

xfig, transfig: use png_set_dither with libpng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 20 09:30:03 2017 +0100 (2017-02-20)
parents d3eb5f4b53ea
children 5acba8fa62b1
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
devl547@17353 4 VERSION="2.8.14"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
pankso@549 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 10 WEB_SITE="http://www.gimp.org/"
pascal@17869 11 WGET_URL="http://download.gimp.org/pub/gimp/v${VERSION%.*}/$TARBALL"
pankso@12740 12 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
pankso@12740 13
pankso@12740 14 DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
mojo@14518 15 xorg-libXt gdk-pixbuf gtk+ libexif"
pankso@12740 16 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
pankso@12740 17 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
pascal@18417 18 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev jasper-dev"
pankso@43 19
pankso@43 20 # Rules to configure and make the package.
pankso@43 21 compile_rules()
pankso@43 22 {
pankso@43 23 ./configure \
pankso@4245 24 --prefix=/usr \
pankso@4245 25 --sysconfdir=/etc \
pankso@4245 26 --infodir=/usr/share/info \
pankso@4245 27 --mandir=/usr/share/man \
pankso@43 28 --with-html-dir=/usr/share/doc \
erjo@1646 29 --without-print \
pankso@549 30 --disable-python \
erjo@1646 31 --without-poppler \
erjo@1646 32 --without-libcurl \
erjo@1646 33 --without-alsa \
erjo@1646 34 --without-librsvg \
erjo@1646 35 --without-dbus \
pankso@4245 36 --without-webkit \
jozee@2769 37 $CONFIGURE_ARGS &&
pankso@12740 38 make $MAKEFLAGS && make install
pankso@43 39 }
pankso@43 40
pankso@43 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 42 genpkg_rules()
pankso@43 43 {
pankso@4260 44 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@3955 45
pankso@12740 46 cp -a $install/etc $fs
pankso@12740 47 cp -a $install/usr/bin $fs/usr
pankso@12740 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12740 49 cp -a $install/usr/lib/gimp $fs/usr/lib
pankso@12740 50
pankso@12740 51 cp $install/usr/share/icons/hicolor/24x24/apps/gimp.png \
pankso@4260 52 $fs/usr/share/pixmaps/gimp.png
pankso@3955 53
pankso@4260 54 # The gimp-console goes in a separate package
pankso@4260 55 rm $fs/usr/bin/gimp-console*
pankso@4260 56
pankso@4260 57 # Most plug-ins goes in a separate package
pankso@4260 58 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
pankso@4260 59 for i in file-jpeg file-png pixelize screenshot
pankso@4260 60 do
pankso@12740 61 cp $install/usr/lib/gimp/2.0/plug-ins/$i \
pankso@12740 62 $fs/usr/lib/gimp/2.0/plug-ins
pankso@4260 63 done
pankso@4260 64
pankso@12740 65 # Include only Basic brushes --> gimp-brushes
pankso@12740 66 cp -a $install/usr/share/gimp $fs/usr/share
pankso@12740 67 for i in gimp-* Legacy Media Sketch Splatters Texture
pankso@12740 68 do
pankso@12740 69 rm -rf $fs/usr/share/gimp/2.0/brushes/$i
pankso@12740 70 done
pankso@12740 71
pankso@12740 72 # Remove devel files
pankso@12740 73 rm $fs/usr/lib/gimp/2.0/modules/*.*a
pankso@3955 74
pankso@43 75 # Put a nice splash with a spider
pankso@12740 76 cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
pankso@43 77 }