wok-current annotate gimp/receipt @ rev 21291

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