[oe] [PATCH] imagemagick: add PACKAGECONFIG for x11

Martin Jansa martin.jansa at gmail.com
Wed Mar 30 10:08:01 UTC 2016


On Wed, Mar 30, 2016 at 12:08:07PM +0300, Catalin Enache wrote:
> ImageMagick should X11 delegate libraries if they are available
> 
> Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
> ---
>  meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> index 12604c0..a1be5a6 100644
> --- a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> +++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> @@ -23,13 +23,14 @@ inherit autotools pkgconfig update-alternatives
>  EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"

You should remove --without-x from EXTRA_OECONF when adding the
PACKAGECONFIG for it.

>  
>  CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
> -PACKAGECONFIG ??= ""
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
>  PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
>  PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
>  PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"
>  PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
>  PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
>  PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
> +PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt"
>  
>  FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
>                  ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160330/9450eb6d/attachment-0002.sig>


More information about the Openembedded-devel mailing list