wok-current view gimp/receipt @ rev 21020
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 14:33:01 2019 +0100 (2019-03-10) |
parents | 5dd97872d463 |
children | 1f133ca0ddf5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.8.20"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gimp.org/"
11 WGET_URL="http://download.gimp.org/pub/gimp/v${VERSION%.*}/$TARBALL"
12 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
14 DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
15 xorg-libXt gdk-pixbuf gtk+ libexif json-glib"
16 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
17 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
18 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev jasper-dev \
19 json-glib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
25 # Fix some build issues, as suggested by BLFS manual
27 sed -i '/gegl/s/2/3/' configure &&
28 sed -i '70,75 d' app/core/gimpparamspecs-duplicate.c
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-html-dir=/usr/share/doc \
36 --without-print \
37 --disable-python \
38 --without-poppler \
39 --without-libcurl \
40 --without-alsa \
41 --without-librsvg \
42 --without-dbus \
43 --without-webkit \
44 $CONFIGURE_ARGS &&
45 make $MAKEFLAGS && make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
53 cp -a $install/etc $fs
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $install/usr/lib/gimp $fs/usr/lib
58 cp $install/usr/share/icons/hicolor/24x24/apps/gimp.png \
59 $fs/usr/share/pixmaps/gimp.png
61 # The gimp-console goes in a separate package
62 rm $fs/usr/bin/gimp-console*
64 # Most plug-ins goes in a separate package
65 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
66 for i in file-jpeg file-png pixelize screenshot
67 do
68 cp $install/usr/lib/gimp/2.0/plug-ins/$i \
69 $fs/usr/lib/gimp/2.0/plug-ins
70 done
72 # Include only Basic brushes --> gimp-brushes
73 cp -a $install/usr/share/gimp $fs/usr/share
74 for i in gimp-* Legacy Media Sketch Splatters Texture
75 do
76 rm -rf $fs/usr/share/gimp/2.0/brushes/$i
77 done
79 # Remove devel files
80 rm $fs/usr/lib/gimp/2.0/modules/*.*a
82 # Put a nice splash with a spider
83 cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
84 }