summaryrefslogtreecommitdiff
path: root/recipes/poppler/poppler.inc
blob: 0e9b61cd300eb3c12b7082378fcf11d29c6c2e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.*"