summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/imagemagick
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/imagemagick
downloadmeta-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.patch17
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb43
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 @@
1Our automake-1.11.2 doesn't support it yet, see:
2http://lists.gnu.org/archive/html/automake/2011-12/msg00081.html
3
4Upstream-Status: Inappropriate [fix or upgrade oe-core automake]
5
6diff -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 @@
1SUMMARY = "ImageMagick is an image convertion tools"
2SECTION = "console/utils"
3LICENSE = "ImageMagick"
4LIC_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.
6DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
7
8PATCHSET = "10"
9SRC_URI = "http://www.imagemagick.org/download/legacy/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
10 file://remove.dist-lzip.patch \
11"
12SRC_URI[md5sum] = "a3a0fa301965d6fde68fccd066f62b0b"
13SRC_URI[sha256sum] = "8c0982b2bc0c1cea8ac9627b4e1e5d37f8171ef8282ee09aef32529cf68e1820"
14
15S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"
16
17inherit 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
21EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
22
23PACKAGECONFIG ??= ""
24PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper"
25
26FILES_${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
33FILES_${PN}-dev += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.a"
34
35FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*"
36
37BBCLASSEXTEND = "native"
38
39LEAD_SONAME = "libMagickCore.so.*"
40
41do_configure_prepend() {
42 export ac_cv_sys_file_offset_bits=yes
43}