wok-next annotate gimp/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 646417eadbb8
children
rev   line source
pascal@20116 1 # SliTaz package receipt v2.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
Hans-G?nter@21357 4 VERSION="2.10.18"
pankso@207 5 CATEGORY="graphics"
al@21017 6 SHORT_DESC="GNU Image Manipulation Program"
Hans-G?nter@21279 7 MAINTAINER="maintainer@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
al@20700 9 WEB_SITE="https://www.gimp.org/"
al@20534 10
pankso@549 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20700 12 WGET_URL="https://download.gimp.org/pub/gimp/v${VERSION%.*}/$TARBALL"
pankso@12740 13
Hans-G?nter@21280 14 BUILD_DEPENDS="aalib-dev atk-dev babl babl-dev desktop-file-utils-extra
Hans-G?nter@21280 15 gegl gegl-dev gexiv2-dev ghostscript-dev glib-dev glib-networking
Hans-G?nter@21279 16 gtk-doc gtk2-dev ilmbase-dev intltool iso-codes-dev libgudev-dev
Hans-G?nter@21279 17 libheif-dev libice-dev libmng-dev libmypaint-dev librsvg-dev
Hans-G?nter@21279 18 libwebp-dev libwmf-dev libx11-dev libxcursor-dev libxfixes-dev
Hans-G?nter@21279 19 libxmu-dev libxpm-dev libxslt mypaint-brushes-dev openexr-dev
Hans-G?nter@21279 20 openjpeg2-dev poppler-data poppler-dev shared-mime-info-dev
Hans-G?nter@21279 21 tiff-dev xdg-utils"
al@21020 22 SPLIT="$PACKAGE-brushes $PACKAGE-console $PACKAGE-dev $PACKAGE-plug-ins \
al@21020 23 $PACKAGE"
pankso@43 24
Hans-G?nter@21279 25 compile_rules()
Hans-G?nter@21279 26 {
Hans-G?nter@21279 27 ./configure \
Hans-G?nter@21279 28 --with-html-dir=/usr/share/doc \
Hans-G?nter@21279 29 --without-print \
Hans-G?nter@21279 30 --disable-python \
Hans-G?nter@21279 31 --without-alsa \
Hans-G?nter@21279 32 --without-webkit \
jozee@2769 33 $CONFIGURE_ARGS &&
al@20570 34 fix libtool &&
al@20534 35 make $MAKEFLAGS &&
al@20534 36 make install
pankso@43 37 }
pankso@43 38
Hans-G?nter@21279 39 genpkg_rules()
Hans-G?nter@21279 40 {
pascal@20116 41 case $PACKAGE in
al@21017 42 *-brushes)
al@20548 43 copy gimp/2.0/brushes/
al@20549 44 rm -r $fs/usr/share/gimp/2.0/brushes/Basic/ # -> main package
al@20548 45 CAT="graphics|brushes set"
al@20548 46 DEPENDS="gimp"
al@20548 47 ;;
al@21017 48 *-console)
al@20549 49 copy bin/gimp-console*
al@20548 50 CAT="graphics|console"
Hans-G?nter@21279 51 DEPENDS="babl fontconfig freetype gdk-pixbuf gegl gexiv2 gimp
Hans-G?nter@21279 52 glib libcairo libharfbuzz liblcms2 libmypaint pango zlib"
al@20548 53 ;;
al@21017 54 *-dev)
al@20548 55 copy @dev
Hans-G?nter@21279 56 DEPENDS="cairo-dev gdk-pixbuf-dev gegl-dev gimp gimp-brushes
Hans-G?nter@21279 57 gimp-console gimp-plug-ins gtk2-dev"
al@20548 58 ;;
al@21017 59 *-plug-ins)
al@20548 60 copy gimp/2.0/plug-ins/
al@20548 61 find $fs \( -name file-jpeg -o -name file-png -o -name pixelize \
al@20548 62 -o -name screenshot \) -delete # -> main package
al@20548 63 CAT="graphics|plug-ins suite for advanced users"
Hans-G?nter@21279 64 DEPENDS="aalib babl gdk-pixbuf gegl gexiv2 gimp glib gtk2 ilmbase
Hans-G?nter@21279 65 libbzip2 libcairo libheif libjpeg-turbo liblcms2 liblzma
Hans-G?nter@21279 66 libmng libpng libpoppler librsvg libtiff libwebp libwmf
Hans-G?nter@21279 67 libx11 libxcursor libxpm openexr openjpeg2 pango zlib"
al@20548 68 ;;
al@20534 69 gimp)
al@20548 70 copy @std @rm # all the rest
Hans-G?nter@21279 71 DEPENDS="babl fontconfig freetype gdk-pixbuf gegl gexiv2 glib gtk2
Hans-G?nter@21279 72 libcairo libgudev libharfbuzz libjpeg-turbo liblcms2
Hans-G?nter@21279 73 libmypaint libpng libx11 libxext libxfixes libxmu pango
Hans-G?nter@21279 74 zlib"
al@20534 75 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console \
al@20700 76 gimp-plugin-ufraw mypaint-brushes gegl-extra"
al@20534 77 ;;
pascal@20116 78 esac
pankso@43 79 }