diff options
| author | Randy MacLeod <randy.macleod@windriver.com> | 2020-01-05 11:42:56 -0500 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-01-06 08:24:45 -0800 |
| commit | c7062454dc235ea56b9e93cd13d7c2a297857518 (patch) | |
| tree | 79c2cb2ea59400833f61de8c722270f70c182a09 /meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb | |
| parent | 9d8bf35fb128973252797da0fabbb774ece8e902 (diff) | |
| download | meta-openembedded-c7062454dc235ea56b9e93cd13d7c2a297857518.tar.gz | |
imagemagick: update from 7.8.47 to 7.9.16
Only the copyright date for the LICENSE file changed.
Add PACKAGECONFIG to enable use of tcmalloc.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb')
| -rw-r--r-- | meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb new file mode 100644 index 0000000000..3f7d06e261 --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.9.bb | |||
| @@ -0,0 +1,87 @@ | |||
| 1 | SUMMARY = "ImageMagick is an image conversion toolkit" | ||
| 2 | SECTION = "console/utils" | ||
| 3 | HOMEPAGE = "https://www.imagemagick.org/" | ||
| 4 | DESCRIPTION = "ImageMagick is a collection of tools for displaying, converting, and \ | ||
| 5 | editing raster and vector image files. It can read and write over 200 image file formats." | ||
| 6 | LICENSE = "ImageMagick" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=41b4fa9af60c88e61484b02c0561181a" | ||
| 8 | # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. | ||
| 9 | DEPENDS = "lcms bzip2 jpeg libpng tiff zlib fftw freetype libtool" | ||
| 10 | |||
| 11 | BASE_PV := "${PV}" | ||
| 12 | PV .= "_13" | ||
| 13 | SRC_URI = "git://github.com/ImageMagick/ImageMagick.git " | ||
| 14 | SRCREV = "15b935d64f613b5a0fc9d3fead5c6ec1b0e3908f" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig update-alternatives | ||
| 19 | |||
| 20 | # xml disabled because it's using xml2-config --prefix to determine prefix which returns just /usr with our libxml2 | ||
| 21 | # if someone needs xml support then fix it first | ||
| 22 | EXTRA_OECONF = "--program-prefix= --program-suffix=.im7 --without-perl --disable-openmp --without-xml --disable-opencl" | ||
| 23 | |||
| 24 | CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes" | ||
| 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
| 26 | PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz" | ||
| 27 | PACKAGECONFIG[jp2] = "--with-jp2,,jasper" | ||
| 28 | PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz" | ||
| 29 | PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg" | ||
| 30 | PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo" | ||
| 31 | PACKAGECONFIG[rsvg] = "--with-rsvg,--without-rsvg,librsvg" | ||
| 32 | PACKAGECONFIG[tcmalloc] = "--with-tcmalloc=yes,--with-tcmalloc=no,gperftools" | ||
| 33 | PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp" | ||
| 34 | PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf" | ||
| 35 | PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt" | ||
| 36 | |||
| 37 | FILES_${PN} += "${libdir}/ImageMagick-${BASE_PV}/config-Q16* \ | ||
| 38 | ${datadir}/ImageMagick-7" | ||
| 39 | |||
| 40 | FILES_${PN}-dev += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/*.a" | ||
| 41 | |||
| 42 | FILES_${PN}-dbg += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/.debug/*" | ||
| 43 | |||
| 44 | BBCLASSEXTEND = "native" | ||
| 45 | |||
| 46 | ALTERNATIVE_PRIORITY = "100" | ||
| 47 | |||
| 48 | ALTERNATIVE_${PN} = "animate compare composite conjure convert display \ | ||
| 49 | identify import mogrify montage stream" | ||
| 50 | |||
| 51 | ALTERNATIVE_TARGET[animate] = "${bindir}/animate.im7" | ||
| 52 | ALTERNATIVE_TARGET[compare] = "${bindir}/compare.im7" | ||
| 53 | ALTERNATIVE_TARGET[composite] = "${bindir}/composite.im7" | ||
| 54 | ALTERNATIVE_TARGET[conjure] = "${bindir}/conjure.im7" | ||
| 55 | ALTERNATIVE_TARGET[convert] = "${bindir}/convert.im7" | ||
| 56 | ALTERNATIVE_TARGET[display] = "${bindir}/display.im7" | ||
| 57 | ALTERNATIVE_TARGET[identify] = "${bindir}/identify.im7" | ||
| 58 | ALTERNATIVE_TARGET[import] = "${bindir}/import.im7" | ||
| 59 | ALTERNATIVE_TARGET[mogrify] = "${bindir}/mogrify.im7" | ||
| 60 | ALTERNATIVE_TARGET[montage] = "${bindir}/montage.im7" | ||
| 61 | ALTERNATIVE_TARGET[stream] = "${bindir}/stream.im7" | ||
| 62 | |||
| 63 | ALTERNATIVE_${PN}-doc = "animate.1 compare.1 composite.1 conjure.1 \ | ||
| 64 | convert.1 display.1 identify.1 import.1 mogrify.1 montage.1 stream.1" | ||
| 65 | |||
| 66 | ALTERNATIVE_LINK_NAME[animate.1] = "${mandir}/man1/animate.1" | ||
| 67 | ALTERNATIVE_TARGET[animate.1] = "${mandir}/man1/animate.im7.1" | ||
| 68 | ALTERNATIVE_LINK_NAME[compare.1] = "${mandir}/man1/compare.1" | ||
| 69 | ALTERNATIVE_TARGET[compare.1] = "${mandir}/man1/compare.im7.1" | ||
| 70 | ALTERNATIVE_LINK_NAME[composite.1] = "${mandir}/man1/composite.1" | ||
| 71 | ALTERNATIVE_TARGET[composite.1] = "${mandir}/man1/composite.im7.1" | ||
| 72 | ALTERNATIVE_LINK_NAME[conjure.1] = "${mandir}/man1/conjure.1" | ||
| 73 | ALTERNATIVE_TARGET[conjure.1] = "${mandir}/man1/conjure.im7.1" | ||
| 74 | ALTERNATIVE_LINK_NAME[convert.1] = "${mandir}/man1/convert.1" | ||
| 75 | ALTERNATIVE_TARGET[convert.1] = "${mandir}/man1/convert.im7.1" | ||
| 76 | ALTERNATIVE_LINK_NAME[display.1] = "${mandir}/man1/display.1" | ||
| 77 | ALTERNATIVE_TARGET[display.1] = "${mandir}/man1/display.im7.1" | ||
| 78 | ALTERNATIVE_LINK_NAME[identify.1] = "${mandir}/man1/identify.1" | ||
| 79 | ALTERNATIVE_TARGET[identify.1] = "${mandir}/man1/identify.im7.1" | ||
| 80 | ALTERNATIVE_LINK_NAME[import.1] = "${mandir}/man1/import.1" | ||
| 81 | ALTERNATIVE_TARGET[import.1] = "${mandir}/man1/import.im7.1" | ||
| 82 | ALTERNATIVE_LINK_NAME[mogrify.1] = "${mandir}/man1/mogrify.1" | ||
| 83 | ALTERNATIVE_TARGET[mogrify.1] = "${mandir}/man1/mogrify.im7.1" | ||
| 84 | ALTERNATIVE_LINK_NAME[montage.1] = "${mandir}/man1/montage.1" | ||
| 85 | ALTERNATIVE_TARGET[montage.1] = "${mandir}/man1/montage.im7.1" | ||
| 86 | ALTERNATIVE_LINK_NAME[stream.1] = "${mandir}/man1/stream.1" | ||
| 87 | ALTERNATIVE_TARGET[stream.1] = "${mandir}/man1/stream.im7.1" | ||
