wok-next view gegl/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents 5669e8b3be70
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gegl"
4 VERSION="0.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Generic Graphics Library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://gegl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gegl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://download.gimp.org/pub/gegl/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="babl-dev glib-dev json-glib-dev libjpeg-turbo-dev libpng-dev \
16 gobject-introspection-dev gettext-dev gexiv2-dev cairo-dev pango-dev \
17 gdk-pixbuf-dev lensfun-dev librsvg-dev v4l-utils-dev openexr-dev ilmbase-dev \
18 libsdl-dev libraw-dev jasper-dev lua-dev ffmpeg-dev lcms-dev libspiro-dev \
19 exiv2-dev tiff-dev libwebp-dev gdb"
20 SPLIT="$PACKAGE-extra $PACKAGE-dev"
21 COOKOPTS="skip-log-errors"
23 compile_rules() {
24 # Note, compiling gegl with all the possible "--without-*" options will
25 # produce "gegl" package. Omitting that options we get *the same* files
26 # plus some more, separated in the package "gegl-extra".
27 ./configure \
28 --enable-workshop \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 # Keep gegl light so we can make smaller gimp LiveCD flavors
37 case $PACKAGE in
38 gegl)
39 copy gcut gegl gegl-imgcmp gegl-c*.so gegl-g*.so grey2.json \
40 jpg-*.so npy-*.so png-*.so ppm-*.so rgbe-*.so seamless-*.so \
41 transformops.so libgegl*.so*
42 DEPENDS="babl gexiv2 glib json-glib libjpeg-turbo libpng libspiro"
43 ;;
44 *-extra)
45 copy @std @rm
46 DEPENDS="babl cairo ffmpeg gdk-pixbuf gegl glib jasper lcms2 \
47 liblua libraw librsvg libsdl libwebp openexr pango libtiff"
48 CAT="system-tools|extra plugins"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="gegl gegl-extra babl-dev glib-dev json-glib-dev \
53 cairo-dev" # add cairo-dev to fix gimp building, see similar:
54 # https://mail.gnome.org/archives/gegl-developer-list/2016-February/msg00007.html
55 ;;
56 esac
57 }