aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuhee Cho <juhee.cho@lge.com>2016-10-05 21:33:15 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-10-21 18:20:43 +0200
commit0cc3d0613abde1c903e408081a2b18c6a562daab (patch)
tree83d4cc855cb1d8a6aa568bd2bff7558063921490
parentb850fda09a4c3d97ef3c6ae66fd9745c4ccbf922 (diff)
downloadmeta-openembedded-contrib-0cc3d0613abde1c903e408081a2b18c6a562daab.tar.gz
leptonica: add PACKAGECONFIG for giflib
* make it easier to disable giflib Signed-off-by: Juhee Cho <juhee.cho@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/leptonica/leptonica_1.73.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/leptonica/leptonica_1.73.bb b/meta-oe/recipes-graphics/leptonica/leptonica_1.73.bb
index 0aebe89d28..c32d24aca7 100644
--- a/meta-oe/recipes-graphics/leptonica/leptonica_1.73.bb
+++ b/meta-oe/recipes-graphics/leptonica/leptonica_1.73.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "A pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications"
-DEPENDS = "jpeg tiff libpng zlib giflib"
+DEPENDS = "jpeg tiff libpng zlib"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=20cdd3af097ca431b82004c691f406a6"
@@ -11,7 +11,8 @@ EXTRA_OECONF += " \
--without-libwebp \
"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "giflib"
PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg"
+PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib"
inherit autotools pkgconfig