wok-next view gimp/receipt @ rev 20617

Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 13:54:55 2018 +0300 (2018-04-21)
parents 274a4fcf2b03
children 014a4f35b014
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 fix libtool &&
34 make $MAKEFLAGS &&
35 make install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 gimp-brushes)
41 copy gimp/2.0/brushes/
42 rm -r $fs/usr/share/gimp/2.0/brushes/Basic/ # -> main package
43 CAT="graphics|brushes set"
44 DEPENDS="gimp"
45 ;;
46 gimp-console)
47 copy bin/gimp-console*
48 CAT="graphics|console"
49 DEPENDS="babl pango cairo gimp glib xorg-libX11 xorg-libXau"
50 ;;
51 gimp-dev)
52 copy @dev
53 ;;
54 gimp-plug-ins)
55 copy gimp/2.0/plug-ins/
56 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
57 -o -name screenshot \) -delete # -> main package
58 CAT="graphics|plug-ins suite for advanced users"
59 DEPENDS="gimp lcms xorg-libXpm libmng aalib libexif tiff"
60 ;;
61 gimp)
62 copy @std @rm # all the rest
63 DEPENDS="libart_lgpl babl gegl glib tiff xorg-libXdamage \
64 xorg-libXmu xorg-libXt gdk-pixbuf gtk+ libexif"
65 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
66 gimp-plugin-ufraw"
67 ;;
68 esac
69 }