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