aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/imagemagick
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-05-29 13:42:52 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-05-29 21:37:56 +0200
commit9c2e44f88599cc5d64abb08c748e61bd75bb5b71 (patch)
treedc19af39486580763bd2e46cb947fc7abbe83718 /meta-oe/recipes-support/imagemagick
parent9740a804f156463ef7fd2f1ebc4a7f18b89b9abc (diff)
downloadmeta-openembedded-contrib-9c2e44f88599cc5d64abb08c748e61bd75bb5b71.tar.gz
meta-openembedded-contrib-9c2e44f88599cc5d64abb08c748e61bd75bb5b71.tar.bz2
meta-openembedded-contrib-9c2e44f88599cc5d64abb08c748e61bd75bb5b71.zip
imagemagick: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/imagemagick')
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch11
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb34
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch b/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch
new file mode 100644
index 0000000000..f8ad0afc5f
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch
@@ -0,0 +1,11 @@
+--- /tmp/Makefile.PL.in 2008-10-01 10:39:38.000000000 +0200
++++ ImageMagick-6.4.4/PerlMagick/Makefile.PL.in 2008-10-01 10:40:25.000000000 +0200
+@@ -87,6 +87,8 @@
+
+ # Use same compiler as ImageMagick
+ 'PERLMAINCC' => '@PERLMAINCC@ @OPENMP_CFLAGS@',
++ 'AR' => '@AR@',
++ 'LD' => '@PERLMAINCC@',
+
+ # Set Perl installation prefix to ImageMagick installation prefix
+ # 'PREFIX' => '@prefix@',
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
new file mode 100644
index 0000000000..40f9736cc7
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "ImageMagick is an image convertion tools"
+SECTION = "console/utils"
+LICENSE = "ImageMagick"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e1ebcc1358b9f81eba64255fc5da6892"
+# FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
+DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib"
+
+PR = "r7"
+
+PATCHSET = "1"
+SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
+ file://PerlMagic_MakePatch.patch \
+ "
+SRC_URI[md5sum] = "882ff241f6ad39655541d5055596f93b"
+SRC_URI[sha256sum] = "5a5b2779707bfd9816cf17d8f53d242c05005092da192a898ac10961b3b19dda"
+
+S = "${WORKDIR}/ImageMagick-${PV}"
+
+inherit autotools binconfig pkgconfig
+
+EXTRA_OECONF = "--program-prefix= --without-x --without-freetype --without-perl --disable-openmp"
+
+FILES_${PN} += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.so \
+ ${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.la \
+ ${libdir}/ImageMagick-${IMVER}/config/ \
+ ${datadir}/ImageMagick-${IMVER}"
+
+FILES_${PN}-dev += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.a"
+
+FILES_${PN}-dbg += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/.debug/*"
+
+BBCLASSEXTEND = "native"
+
+LEAD_SONAME = "libMagickCore.so.*"