wok-next view gimp/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 014a4f35b014
children d5aab818505e
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="pankso@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"
21 SPLIT="$PACKAGE-brushes $PACKAGE-console $PACKAGE-dev $PACKAGE-plug-ins $PACKAGE"
23 compile_rules() {
24 ./configure \
25 --with-html-dir=/usr/share/doc \
26 --without-print \
27 --disable-python \
28 --without-alsa \
29 --without-webkit \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make $MAKEFLAGS &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 *-brushes)
39 copy gimp/2.0/brushes/
40 rm -r $fs/usr/share/gimp/2.0/brushes/Basic/ # -> main package
41 CAT="graphics|brushes set"
42 DEPENDS="gimp"
43 ;;
44 *-console)
45 copy bin/gimp-console*
46 CAT="graphics|console"
47 DEPENDS="babl cairo fontconfig freetype gdk-pixbuf gegl gexiv2 \
48 gimp glib lcms2 libharfbuzz libmypaint pango zlib"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="gimp gimp-brushes gimp-console gimp-plug-ins \
53 cairo-dev gdk-pixbuf-dev gegl-dev gtk2-dev"
54 ;;
55 *-plug-ins)
56 copy gimp/2.0/plug-ins/
57 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
58 -o -name screenshot \) -delete # -> main package
59 CAT="graphics|plug-ins suite for advanced users"
60 DEPENDS="aalib babl bzlib cairo gdk-pixbuf gegl gexiv2 gimp glib \
61 gtk2 ilmbase lcms2 libheif libjpeg-turbo liblzma libmng libpng16 \
62 librsvg libwebp libwmf openexr openjpeg2 pango poppler tiff \
63 xorg-libX11 xorg-libXcursor xorg-libXpm zlib"
64 ;;
65 gimp)
66 copy @std @rm # all the rest
67 DEPENDS="babl cairo fontconfig freetype gdk-pixbuf gegl gexiv2 \
68 glib gtk2 lcms2 libgudev libharfbuzz libjpeg-turbo libmypaint \
69 libpng16 pango xorg-libX11 xorg-libXext xorg-libXfixes xorg-libXmu \
70 zlib"
71 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
72 gimp-plugin-ufraw mypaint-brushes gegl-extra"
73 ;;
74 esac
75 }