wok-next view gimp/receipt @ rev 21280

gimp: added build dependencies
author Hans-G?nter Theisgen
date Sat Dec 07 17:24:40 2019 +0100 (2019-12-07)
parents 1030c74ec82c
children ccecc9fd5781
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gimp"
4 VERSION="2.10.14"
5 CATEGORY="graphics"
6 SHORT_DESC="GNU Image Manipulation Program"
7 MAINTAINER="maintainer@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="aalib-dev atk-dev babl babl-dev desktop-file-utils-extra
15 gegl gegl-dev gexiv2-dev ghostscript-dev glib-dev glib-networking
16 gtk-doc gtk2-dev ilmbase-dev intltool iso-codes-dev libgudev-dev
17 libheif-dev libice-dev libmng-dev libmypaint-dev librsvg-dev
18 libwebp-dev libwmf-dev libx11-dev libxcursor-dev libxfixes-dev
19 libxmu-dev libxpm-dev libxslt mypaint-brushes-dev openexr-dev
20 openjpeg2-dev poppler-data poppler-dev shared-mime-info-dev
21 tiff-dev xdg-utils"
22 SPLIT="$PACKAGE-brushes $PACKAGE-console $PACKAGE-dev $PACKAGE-plug-ins \
23 $PACKAGE"
25 compile_rules()
26 {
27 ./configure \
28 --with-html-dir=/usr/share/doc \
29 --without-print \
30 --disable-python \
31 --without-alsa \
32 --without-webkit \
33 $CONFIGURE_ARGS &&
34 fix libtool &&
35 make $MAKEFLAGS &&
36 make install
37 }
39 genpkg_rules()
40 {
41 case $PACKAGE in
42 *-brushes)
43 copy gimp/2.0/brushes/
44 rm -r $fs/usr/share/gimp/2.0/brushes/Basic/ # -> main package
45 CAT="graphics|brushes set"
46 DEPENDS="gimp"
47 ;;
48 *-console)
49 copy bin/gimp-console*
50 CAT="graphics|console"
51 DEPENDS="babl fontconfig freetype gdk-pixbuf gegl gexiv2 gimp
52 glib libcairo libharfbuzz liblcms2 libmypaint pango zlib"
53 ;;
54 *-dev)
55 copy @dev
56 DEPENDS="cairo-dev gdk-pixbuf-dev gegl-dev gimp gimp-brushes
57 gimp-console gimp-plug-ins gtk2-dev"
58 ;;
59 *-plug-ins)
60 copy gimp/2.0/plug-ins/
61 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
62 -o -name screenshot \) -delete # -> main package
63 CAT="graphics|plug-ins suite for advanced users"
64 DEPENDS="aalib babl gdk-pixbuf gegl gexiv2 gimp glib gtk2 ilmbase
65 libbzip2 libcairo libheif libjpeg-turbo liblcms2 liblzma
66 libmng libpng libpoppler librsvg libtiff libwebp libwmf
67 libx11 libxcursor libxpm openexr openjpeg2 pango zlib"
68 ;;
69 gimp)
70 copy @std @rm # all the rest
71 DEPENDS="babl fontconfig freetype gdk-pixbuf gegl gexiv2 glib gtk2
72 libcairo libgudev libharfbuzz libjpeg-turbo liblcms2
73 libmypaint libpng libx11 libxext libxfixes libxmu pango
74 zlib"
75 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
76 gimp-plugin-ufraw mypaint-brushes gegl-extra"
77 ;;
78 esac
79 }