gimp: add DEPENDS and PACKAGECONFIG for help-browser
authorAndreas Müller <schnitzeltony@googlemail.com>
Wed, 7 May 2014 19:39:17 +0000 (21:39 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:38:01 +0000 (08:38 -0800)
* missing DEPENDS were detected in Martin's world with test-dependencies
  (libxmu & libxpm will still apear in distroless environments)
* help-browser depends on webkit-gtk which takes very long to build so disable
  it by default

(From meta-openembedded rev: d17503d5c751322280c4f25408b44e723642b3a5)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-graphics/gimp/gimp_2.8.10.bb

index e7d9c45..77bc6bd 100644 (file)
@@ -4,10 +4,14 @@ SECTION = "x11/graphics"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff webkit-gtk lcms gegl poppler"
+DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff lcms gegl poppler jasper"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}"
 
 inherit gnome
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[helpbrowser] = "--with-webkit, --without-webkit, webkit-gtk"
+
 SRC_URI = "http://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \
            file://freetype.patch \
           "