Contents of /branches/magellan-next/extras/poppler-cairo/poppler-cairo-0.17.1-r1.smage2
Parent Directory | Revision Log
Revision 8277 -
(show annotations)
(download)
Wed Jul 13 19:40:07 2011 UTC (13 years, 2 months ago) by niro
File size: 1082 byte(s)
Wed Jul 13 19:40:07 2011 UTC (13 years, 2 months ago) by niro
File size: 1082 byte(s)
auto added: ver bump to 0.17.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="poppler-cairo" |
4 | PVER="0.17.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="app-text" |
8 | |
9 | DESCRIPTION="Poppler bindings for cairo." |
10 | HOMEPAGE="http://poppler.freedesktop.org/" |
11 | |
12 | DEPEND="== app-text/poppler-${PVER} |
13 | >= x11-libs/cairo-1.10" |
14 | |
15 | SDEPEND=">= dev-util/pkgconfig-0.25 |
16 | >= sys-dev/automake-4 |
17 | >= sys-dev/autoconf-5" |
18 | |
19 | SRCFILE="poppler-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/poppler-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | |
24 | SRC_URI=( |
25 | http://poppler.freedesktop.org/${SRCFILE} |
26 | mirror://poppler/${SRCFILE} |
27 | mirror://poppler/poppler-0.15.0-bindings.patch |
28 | ) |
29 | |
30 | UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # only install the libs and compile against system libs |
38 | mpatch poppler-0.15.0-bindings.patch || die |
39 | |
40 | autoreconf --install --force --verbose || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | |
47 | mconfigure \ |
48 | --enable-opi \ |
49 | --enable-cairo-output \ |
50 | --disable-poppler-glib \ |
51 | --disable-poppler-qt \ |
52 | --disable-poppler-qt4 \ |
53 | || die |
54 | |
55 | # build missing la file |
56 | mmake -C poppler libpoppler-cairo.la || die |
57 | mmake || die |
58 | } |