diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/imagemagick | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/imagemagick')
-rw-r--r-- | meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch | 17 | ||||
-rw-r--r-- | meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb | 43 |
2 files changed, 60 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch b/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch new file mode 100644 index 0000000000..559aa247d0 --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Our automake-1.11.2 doesn't support it yet, see: | ||
2 | http://lists.gnu.org/archive/html/automake/2011-12/msg00081.html | ||
3 | |||
4 | Upstream-Status: Inappropriate [fix or upgrade oe-core automake] | ||
5 | |||
6 | diff -uNr ImageMagick-6.7.5-6.orig/configure.ac ImageMagick-6.7.5-6/configure.ac | ||
7 | --- ImageMagick-6.7.5-6.orig/configure.ac 2012-02-12 18:07:28.000000000 +0100 | ||
8 | +++ ImageMagick-6.7.5-6/configure.ac 2012-02-15 12:55:47.668813474 +0100 | ||
9 | @@ -128,7 +128,7 @@ | ||
10 | # Ensure that make can run correctly | ||
11 | AM_SANITY_CHECK | ||
12 | |||
13 | -AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-lzip dist-xz dist-zip]) | ||
14 | +AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-xz dist-zip]) | ||
15 | |||
16 | # Enable support for silent build rules | ||
17 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | ||
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb new file mode 100644 index 0000000000..e261eb8b70 --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "ImageMagick is an image convertion tools" | ||
2 | SECTION = "console/utils" | ||
3 | LICENSE = "ImageMagick" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e" | ||
5 | # FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results. | ||
6 | DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" | ||
7 | |||
8 | PATCHSET = "10" | ||
9 | SRC_URI = "http://www.imagemagick.org/download/legacy/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \ | ||
10 | file://remove.dist-lzip.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "a3a0fa301965d6fde68fccd066f62b0b" | ||
13 | SRC_URI[sha256sum] = "8c0982b2bc0c1cea8ac9627b4e1e5d37f8171ef8282ee09aef32529cf68e1820" | ||
14 | |||
15 | S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" | ||
16 | |||
17 | inherit autotools binconfig pkgconfig | ||
18 | |||
19 | # xml disabled because it's using xml2-config --prefix to determine prefix which returns just /usr with our libxml2 | ||
20 | # if someone needs xml support then fix it first | ||
21 | EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl" | ||
22 | |||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper" | ||
25 | |||
26 | FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \ | ||
27 | ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \ | ||
28 | ${libdir}/ImageMagick-${PV}/modules-Q16/filters \ | ||
29 | ${libdir}/ImageMagick-${PV}/modules-Q16/coders \ | ||
30 | ${libdir}/ImageMagick-${PV}/config-Q16 \ | ||
31 | ${datadir}/ImageMagick-6 " | ||
32 | |||
33 | FILES_${PN}-dev += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.a" | ||
34 | |||
35 | FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*" | ||
36 | |||
37 | BBCLASSEXTEND = "native" | ||
38 | |||
39 | LEAD_SONAME = "libMagickCore.so.*" | ||
40 | |||
41 | do_configure_prepend() { | ||
42 | export ac_cv_sys_file_offset_bits=yes | ||
43 | } | ||