wok-next view gimp/receipt @ rev 20554
Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 16:49:09 2018 +0300 (2018-04-06) |
parents | 30af4e7aa239 |
children | a5d7827e08cf |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.gimp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.gimp.org/pub/gimp/v${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev glib-dev \
15 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
16 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev jasper-dev"
17 SPLIT="gimp-brushes gimp-console gimp-dev gimp-plug-ins gimp"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 ./configure \
23 --with-html-dir=/usr/share/doc \
24 --without-print \
25 --disable-python \
26 --without-poppler \
27 --without-libcurl \
28 --without-alsa \
29 --without-librsvg \
30 --without-dbus \
31 --without-webkit \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 gimp-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 gimp-console)
46 copy bin/gimp-console*
47 CAT="graphics|console"
48 DEPENDS="babl pango cairo gimp glib xorg-libX11 xorg-libXau"
49 ;;
50 gimp-dev)
51 copy @dev
52 ;;
53 gimp-plug-ins)
54 copy gimp/2.0/plug-ins/
55 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
56 -o -name screenshot \) -delete # -> main package
57 CAT="graphics|plug-ins suite for advanced users"
58 DEPENDS="gimp lcms xorg-libXpm libmng aalib libexif tiff"
59 ;;
60 gimp)
61 copy @std @rm # all the rest
62 DEPENDS="libart_lgpl babl gegl glib tiff xorg-libXdamage \
63 xorg-libXmu xorg-libXt gdk-pixbuf gtk+ libexif"
64 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
65 gimp-plugin-ufraw"
66 ;;
67 esac
68 }