wok-next annotate gegl/receipt @ rev 21143

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