wok-next view gimp/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gimp"
4 VERSION="2.10.2"
5 CATEGORY="graphics"
6 SHORT_DESC="GNU Image Manipulation Program"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gimp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.gimp.org/pub/gimp/v${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="intltool iso-codes-dev babl-dev gegl-dev atk-dev glib-dev \
15 glib-networking xorg-libX11-dev xorg-libICE-dev gtk2-dev gexiv2-dev \
16 xorg-libXmu-dev xorg-libXfixes-dev ghostscript-dev libmng-dev aalib-dev \
17 xorg-libXpm-dev openexr-dev ilmbase-dev libwebp-dev libheif-dev libmypaint-dev \
18 mypaint-brushes-dev librsvg-dev poppler-dev poppler-data libwmf-dev \
19 openjpeg2-dev xorg-libXcursor-dev libgudev-dev xdg-utils libxslt \
20 shared-mime-info-dev desktop-file-utils-extra gtk-doc tiff-dev"
21 SPLIT="$PACKAGE-brushes $PACKAGE-console $PACKAGE-dev $PACKAGE-plug-ins \
22 $PACKAGE"
24 compile_rules() {
25 ./configure \
26 --with-html-dir=/usr/share/doc \
27 --without-print \
28 --disable-python \
29 --without-alsa \
30 --without-webkit \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make $MAKEFLAGS &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 *-brushes)
40 copy gimp/2.0/brushes/
41 rm -r $fs/usr/share/gimp/2.0/brushes/Basic/ # -> main package
42 CAT="graphics|brushes set"
43 DEPENDS="gimp"
44 ;;
45 *-console)
46 copy bin/gimp-console*
47 CAT="graphics|console"
48 DEPENDS="babl cairo fontconfig freetype gdk-pixbuf gegl gexiv2 \
49 gimp glib lcms2 libharfbuzz libmypaint pango zlib"
50 ;;
51 *-dev)
52 copy @dev
53 DEPENDS="gimp gimp-brushes gimp-console gimp-plug-ins \
54 cairo-dev gdk-pixbuf-dev gegl-dev gtk2-dev"
55 ;;
56 *-plug-ins)
57 copy gimp/2.0/plug-ins/
58 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
59 -o -name screenshot \) -delete # -> main package
60 CAT="graphics|plug-ins suite for advanced users"
61 DEPENDS="aalib babl bzlib cairo gdk-pixbuf gegl gexiv2 gimp glib \
62 gtk2 ilmbase lcms2 libheif libjpeg-turbo liblzma libmng libpng16 \
63 librsvg libwebp libwmf openexr openjpeg2 pango poppler tiff \
64 xorg-libX11 xorg-libXcursor xorg-libXpm zlib"
65 ;;
66 gimp)
67 copy @std @rm # all the rest
68 DEPENDS="babl cairo fontconfig freetype gdk-pixbuf gegl gexiv2 \
69 glib gtk2 lcms2 libgudev libharfbuzz libjpeg-turbo libmypaint \
70 libpng16 pango xorg-libX11 xorg-libXext xorg-libXfixes xorg-libXmu \
71 zlib"
72 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
73 gimp-plugin-ufraw mypaint-brushes gegl-extra"
74 ;;
75 esac
76 }