Magellan Linux

Contents of /branches/magellan-next/core/poppler/poppler-0.17.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7778 - (show annotations) (download)
Tue May 31 18:34:26 2011 UTC (12 years, 11 months ago) by niro
File size: 1278 byte(s)
auto added: ver bump to 0.17.1-r1
1 # $Id$
2
3 PNAME="poppler"
4 PVER="0.17.1"
5 PBUILD="r1"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code base."
11 HOMEPAGE="http://poppler.freedesktop.org/"
12
13 DEPEND=">= media-libs/freetype-2.4
14 >= media-libs/fontconfig-2.8
15 >= media-libs/libjpeg-8
16 >= media-libs/lcms-1.19
17 >= sys-libs/zlib-1
18 >= app-text/poppler-data-0.4.4"
19
20 SDEPEND=">= dev-libs/gobject-introspection-0.10
21 >= dev-util/pkgconfig-0.25
22 >= sys-dev/automake-4
23 >= sys-dev/autoconf-5"
24
25 SRCFILE="${PNAME}-${PVER}.tar.gz"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude mbuild multilib
29
30 SRC_URI=(
31 http://poppler.freedesktop.org/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 mirror://${PNAME}/${PNAME}-0.16.0-fix-includes.patch
34 )
35
36 UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41
42 # fix missing includes
43 mpatch ${PNAME}-0.16.0-fix-includes.patch || die
44 }
45
46 src_compile()
47 {
48 mconfigure \
49 --enable-introspection \
50 --enable-xpdf-headers \
51 --enable-a4-paper \
52 --enable-opi \
53 --enable-libjpeg \
54 --enable-zlib \
55 --disable-gt \
56 --disable-poppler-qt \
57 --disable-poppler-qt4 \
58 --disable-poppler-glib \
59 --disable-cairo-output \
60 --disable-gtk-test \
61 || die
62
63 mmake || die
64 }