aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poppler
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-07-04 17:01:21 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-07-15 15:00:01 +0200
commit42384af9a97cd3975c2f5630d2488677d654d1ac (patch)
treee110690bf5a59c114567f6998e723f86dc6a2909 /meta-oe/recipes-support/poppler
parent8b22d8a754dae37812679e9354c88bf642e1abef (diff)
downloadmeta-openembedded-contrib-42384af9a97cd3975c2f5630d2488677d654d1ac.tar.gz
meta-openembedded-contrib-42384af9a97cd3975c2f5630d2488677d654d1ac.tar.bz2
meta-openembedded-contrib-42384af9a97cd3975c2f5630d2488677d654d1ac.zip
poppler: use PACKAGECONFIG to control graphics formats supported
Add explicit PACKAGECONFIG statements for JPEG, PNG and TIFF. libpng wasn't previously a direct build dependency but is pulled in via GTK+. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/poppler')
-rw-r--r--meta-oe/recipes-support/poppler/poppler_0.22.4.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler_0.22.4.bb b/meta-oe/recipes-support/poppler/poppler_0.22.4.bb
index 9fd16b5370..48fa4384f3 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.22.4.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.22.4.bb
@@ -8,10 +8,15 @@ SRC_URI = " \
SRC_URI[md5sum] = "49d55921ce795778c7231fe9f2fe923b"
SRC_URI[sha256sum] = "4f438f34e63265e2da8427f3423f940ff41c26088922a9f5d976f795c1dce13b"
-DEPENDS = "fontconfig jpeg zlib gtk+ cairo tiff lcms"
+DEPENDS = "fontconfig zlib gtk+ cairo lcms"
inherit autotools pkgconfig gtk-doc
+PACKAGECONFIG ??= "jpeg png tiff"
+PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg"
+PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng"
+PACKAGECONFIG[tiff] = "--enable-libtiff,--disable-libtiff,tiff"
+
EXTRA_OECONF = "\
--enable-xpdf-headers \
--disable-gtk-test \