diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-29 13:42:52 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-29 21:37:56 +0200 |
commit | 9c2e44f88599cc5d64abb08c748e61bd75bb5b71 (patch) | |
tree | dc19af39486580763bd2e46cb947fc7abbe83718 /meta-oe/recipes-support/imagemagick | |
parent | 9740a804f156463ef7fd2f1ebc4a7f18b89b9abc (diff) | |
download | meta-openembedded-9c2e44f88599cc5d64abb08c748e61bd75bb5b71.tar.gz |
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.patch | 11 | ||||
-rw-r--r-- | meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb | 34 |
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 000000000..f8ad0afc5 --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- /tmp/Makefile.PL.in 2008-10-01 10:39:38.000000000 +0200 | ||
2 | +++ ImageMagick-6.4.4/PerlMagick/Makefile.PL.in 2008-10-01 10:40:25.000000000 +0200 | ||
3 | @@ -87,6 +87,8 @@ | ||
4 | |||
5 | # Use same compiler as ImageMagick | ||
6 | 'PERLMAINCC' => '@PERLMAINCC@ @OPENMP_CFLAGS@', | ||
7 | + 'AR' => '@AR@', | ||
8 | + 'LD' => '@PERLMAINCC@', | ||
9 | |||
10 | # Set Perl installation prefix to ImageMagick installation prefix | ||
11 | # '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 000000000..40f9736cc --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | DESCRIPTION = "ImageMagick is an image convertion tools" | ||
2 | SECTION = "console/utils" | ||
3 | LICENSE = "ImageMagick" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e1ebcc1358b9f81eba64255fc5da6892" | ||
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" | ||
7 | |||
8 | PR = "r7" | ||
9 | |||
10 | PATCHSET = "1" | ||
11 | SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \ | ||
12 | file://PerlMagic_MakePatch.patch \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "882ff241f6ad39655541d5055596f93b" | ||
15 | SRC_URI[sha256sum] = "5a5b2779707bfd9816cf17d8f53d242c05005092da192a898ac10961b3b19dda" | ||
16 | |||
17 | S = "${WORKDIR}/ImageMagick-${PV}" | ||
18 | |||
19 | inherit autotools binconfig pkgconfig | ||
20 | |||
21 | EXTRA_OECONF = "--program-prefix= --without-x --without-freetype --without-perl --disable-openmp" | ||
22 | |||
23 | FILES_${PN} += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.so \ | ||
24 | ${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.la \ | ||
25 | ${libdir}/ImageMagick-${IMVER}/config/ \ | ||
26 | ${datadir}/ImageMagick-${IMVER}" | ||
27 | |||
28 | FILES_${PN}-dev += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.a" | ||
29 | |||
30 | FILES_${PN}-dbg += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/.debug/*" | ||
31 | |||
32 | BBCLASSEXTEND = "native" | ||
33 | |||
34 | LEAD_SONAME = "libMagickCore.so.*" | ||