wok-next view gimp/receipt @ rev 20700
Up: babl (0.1.50), gegl (0.4.2), gimp (2.10.2), glib (2.54.3), iso-codes (3.79), lensfun (0.3.2); add: gexiv2, libde265, libheif, libmypaint, mypaint-brushes.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 24 23:51:14 2018 +0300 (2018-05-24) |
parents | a5d7827e08cf |
children | f48456621a9d |
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 (GIMP)"
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 gtk+-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="gimp-brushes gimp-console gimp-dev gimp-plug-ins gimp"
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 gimp-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 gimp-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 gimp-dev)
51 copy @dev
52 DEPENDS="gimp gimp-brushes gimp-console gimp-plug-ins \
53 cairo-dev gdk-pixbuf-dev gegl-dev gtk+-dev"
54 ;;
55 gimp-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 gtk+ 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 gtk+ 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 }