diff options
Diffstat (limited to 'meta-oe/recipes-support/poppler/poppler_0.22.3.bb')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_0.22.3.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler_0.22.3.bb b/meta-oe/recipes-support/poppler/poppler_0.22.3.bb new file mode 100644 index 000000000..660bc0e09 --- /dev/null +++ b/meta-oe/recipes-support/poppler/poppler_0.22.3.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "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 = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" | ||
6 | SRC_URI[md5sum] = "be915388eaad6865cee5a156c8119ec1" | ||
7 | SRC_URI[sha256sum] = "916a931cbef951366014f13d5f4a574657ccc064ac41051df96dd58e22934431" | ||
8 | |||
9 | DEPENDS = "fontconfig jpeg zlib gtk+ cairo tiff lcms" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | EXTRA_OECONF = "\ | ||
14 | --enable-xpdf-headers \ | ||
15 | --disable-gtk-test \ | ||
16 | --disable-poppler-qt \ | ||
17 | --enable-zlib \ | ||
18 | " | ||
19 | |||
20 | # check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
21 | def get_poppler_fpu_setting(bb, d): | ||
22 | if d.getVar('TARGET_FPU', 1) in [ 'soft' ]: | ||
23 | return "--enable-fixedpoint" | ||
24 | return "" | ||
25 | |||
26 | EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" | ||
27 | |||
28 | PACKAGES =+ "libpoppler libpoppler-glib" | ||
29 | FILES_libpoppler = "${libdir}/libpoppler.so.*" | ||
30 | FILES_libpoppler-glib = "${libdir}/libpoppler-glib.so.*" | ||
31 | |||
32 | RDEPENDS_${PN} = "poppler-data" | ||