diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/poppler | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/poppler')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler-data_0.4.6.bb | 21 | ||||
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_0.26.5.bb | 39 |
2 files changed, 60 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler-data_0.4.6.bb b/meta-oe/recipes-support/poppler/poppler-data_0.4.6.bb new file mode 100644 index 000000000..014ba7cdd --- /dev/null +++ b/meta-oe/recipes-support/poppler/poppler-data_0.4.6.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Poppler is a PDF rendering library based on the xpdf-3.0 code base" | ||
2 | LICENSE = "Adobe" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4870b98343f0bbb25fa43b9d2ba59448 \ | ||
4 | file://COPYING.adobe;md5=63c6a8a9df204c00461fa5f163d8a663 \ | ||
5 | file://COPYING.gpl2;md5=751419260aa954499f7abaabaa882bbe \ | ||
6 | " | ||
7 | |||
8 | inherit allarch | ||
9 | |||
10 | SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.gz" | ||
11 | SRC_URI[md5sum] = "a8a7ca808827dd674faba6e4fc73b471" | ||
12 | SRC_URI[sha256sum] = "f306901dfa5bda90cd6663d4eedb1c773c3c709de78018c79f1282b2c8f90afa" | ||
13 | |||
14 | do_compile() { | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | oe_runmake install DESTDIR=${D} | ||
19 | } | ||
20 | |||
21 | FILES_${PN} += "${datadir}" | ||
diff --git a/meta-oe/recipes-support/poppler/poppler_0.26.5.bb b/meta-oe/recipes-support/poppler/poppler_0.26.5.bb new file mode 100644 index 000000000..d11963961 --- /dev/null +++ b/meta-oe/recipes-support/poppler/poppler_0.26.5.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "Poppler is a PDF rendering library based on the xpdf-3.0 code base" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
4 | |||
5 | SRC_URI = " \ | ||
6 | http://poppler.freedesktop.org/${BP}.tar.xz \ | ||
7 | " | ||
8 | SRC_URI[md5sum] = "786c943eee550e3a977c181e7778b1c8" | ||
9 | SRC_URI[sha256sum] = "de7de5fa337431e5d1f372e8577b3707322f1dbc1dc28a70f2927476f134d1ee" | ||
10 | |||
11 | DEPENDS = "fontconfig zlib cairo lcms" | ||
12 | |||
13 | inherit autotools pkgconfig gtk-doc | ||
14 | |||
15 | PACKAGECONFIG ??= "jpeg png tiff" | ||
16 | PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg" | ||
17 | PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng" | ||
18 | PACKAGECONFIG[tiff] = "--enable-libtiff,--disable-libtiff,tiff" | ||
19 | |||
20 | EXTRA_OECONF = "\ | ||
21 | --enable-xpdf-headers \ | ||
22 | --disable-gtk-test \ | ||
23 | --disable-poppler-qt4 \ | ||
24 | --enable-zlib \ | ||
25 | " | ||
26 | |||
27 | # check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
28 | def get_poppler_fpu_setting(bb, d): | ||
29 | if d.getVar('TARGET_FPU', 1) in [ 'soft' ]: | ||
30 | return "--enable-fixedpoint" | ||
31 | return "" | ||
32 | |||
33 | EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" | ||
34 | |||
35 | PACKAGES =+ "libpoppler libpoppler-glib" | ||
36 | FILES_libpoppler = "${libdir}/libpoppler.so.*" | ||
37 | FILES_libpoppler-glib = "${libdir}/libpoppler-glib.so.*" | ||
38 | |||
39 | RDEPENDS_${PN} = "poppler-data" | ||