Patchwork [WIP,07/66] imagemagick: Add PACKAGECONFIG for jp2

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 3:51 p.m.
Message ID <3e24b1a42f10363cca3594b0467ccca8782fdb5b.1377791377.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/56897/
State Accepted, archived
Commit edb356a2aa57ef8114c182c27353bf2a8e85b652
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 3:51 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.8.6.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.8.6.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.6.bb
index 4ebcde5..9963990 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.8.6.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.6.bb
@@ -20,6 +20,9 @@  inherit autotools binconfig pkgconfig
 # if someone needs xml support then fix it first
 EXTRA_OECONF = "--program-prefix= --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper"
+
 FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
                 ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
                 ${libdir}/ImageMagick-${PV}/modules-Q16/filters \