summaryrefslogtreecommitdiff
path: root/recipes/poppler/poppler.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/poppler/poppler.inc')
-rw-r--r--recipes/poppler/poppler.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/poppler/poppler.inc b/recipes/poppler/poppler.inc
new file mode 100644
index 0000000000..0e9b61cd30
--- /dev/null
+++ b/recipes/poppler/poppler.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base."
+DEPENDS = "fontconfig jpeg zlib gtk+ cairo"
+LICENSE = "GPL"
+
+SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "\
+ --enable-xpdf-headers \
+ --disable-gtk-test \
+ --disable-poppler-qt \
+ --disable-poppler-qt4 \
+ --enable-zlib \
+"
+
+# check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
+require poppler-fpu.inc
+EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}"
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES =+ "libpoppler libpoppler-glib"
+FILES_libpoppler = "${libdir}/libpoppler.so.*"
+FILES_libpoppler-glib = "${libdir}/libpoppler-glib.so.*"
+