diff options
author | Ross Burton <ross@openedhand.com> | 2007-05-04 15:25:50 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-05-04 15:25:50 +0000 |
commit | 48c17d3f6f0a7f98fbb9517905162d0141953b7d (patch) | |
tree | 7ebca5291a033cf865cf0eee78b4226b0043b501 /meta-extras/packages/poppler | |
parent | 4951b77ec979cfd2966c4e7f6e75d6f6f3c49a54 (diff) | |
download | poky-48c17d3f6f0a7f98fbb9517905162d0141953b7d.tar.gz |
Add poppler
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1600 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/poppler')
-rw-r--r-- | meta-extras/packages/poppler/poppler-data_0.1.bb | 16 | ||||
-rw-r--r-- | meta-extras/packages/poppler/poppler-fpu.inc | 6 | ||||
-rw-r--r-- | meta-extras/packages/poppler/poppler.inc | 23 | ||||
-rw-r--r-- | meta-extras/packages/poppler/poppler_0.5.4.bb | 2 |
4 files changed, 47 insertions, 0 deletions
diff --git a/meta-extras/packages/poppler/poppler-data_0.1.bb b/meta-extras/packages/poppler/poppler-data_0.1.bb new file mode 100644 index 0000000000..ca22e4dba0 --- /dev/null +++ b/meta-extras/packages/poppler/poppler-data_0.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." | ||
2 | LICENSE = "Adobe" | ||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" | ||
6 | |||
7 | do_compile() { | ||
8 | } | ||
9 | |||
10 | do_install() { | ||
11 | oe_runmake install DESTDIR=${D} | ||
12 | } | ||
13 | |||
14 | FILES_${PN} += "${datadir}" | ||
15 | PACKAGE_ARCH = "all" | ||
16 | |||
diff --git a/meta-extras/packages/poppler/poppler-fpu.inc b/meta-extras/packages/poppler/poppler-fpu.inc new file mode 100644 index 0000000000..a26273020a --- /dev/null +++ b/meta-extras/packages/poppler/poppler-fpu.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | |||
2 | def get_poppler_fpu_setting(bb, d): | ||
3 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | ||
4 | return "--enable-fixedpoint" | ||
5 | return "" | ||
6 | |||
diff --git a/meta-extras/packages/poppler/poppler.inc b/meta-extras/packages/poppler/poppler.inc new file mode 100644 index 0000000000..c33d6f0ea1 --- /dev/null +++ b/meta-extras/packages/poppler/poppler.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." | ||
2 | DEPENDS = "fontconfig jpeg zlib gtk+ cairo" | ||
3 | LICENSE = "GPL" | ||
4 | PR = "r1" | ||
5 | |||
6 | SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" | ||
7 | |||
8 | inherit autotools pkgconfig | ||
9 | |||
10 | EXTRA_OECONF = " --enable-xpdf-headers \ | ||
11 | --disable-gtk-test \ | ||
12 | --disable-poppler-qt --disable-poppler-qt4 \ | ||
13 | --enable-zlib \ | ||
14 | " | ||
15 | |||
16 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
17 | require poppler-fpu.inc | ||
18 | EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" | ||
19 | |||
20 | |||
21 | do_stage() { | ||
22 | autotools_stage_all | ||
23 | } | ||
diff --git a/meta-extras/packages/poppler/poppler_0.5.4.bb b/meta-extras/packages/poppler/poppler_0.5.4.bb new file mode 100644 index 0000000000..92c25bc0ac --- /dev/null +++ b/meta-extras/packages/poppler/poppler_0.5.4.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require poppler.inc | ||
2 | PR = "r2" | ||