Magellan Linux

Contents of /branches/magellan-next/extras/poppler-glib/poppler-glib-0.12.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8276 - (show annotations) (download)
Wed Jul 13 19:36:09 2011 UTC (12 years, 9 months ago) by niro
File size: 1061 byte(s)
imported
1 # $Id$
2
3 PNAME="poppler-glib"
4 PVER="0.12.1"
5 PBUILD="r1"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="Poppler bindings for glib2 and gtk2+."
11 HOMEPAGE="http://poppler.freedesktop.org/"
12
13 DEPEND="== app-text/poppler-${PVER}
14 >= dev-libs/glib2-2.20
15 >= x11-libs/gtk2+-2.16"
16
17 SDEPEND=">= dev-util/pkgconfig-0.23
18 >= sys-dev/automake-4
19 >= sys-dev/autoconf-5"
20
21 SRCFILE="poppler-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/poppler-${PVER}"
23
24 sminclude mbuild
25
26 SRC_URI=(
27 http://poppler.freedesktop.org/${SRCFILE}
28 mirror://poppler/${SRCFILE}
29 mirror://poppler/poppler-0.10.6-bindings.patch
30 )
31
32 UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # only install the libs and compile against system libs
40 mpatch poppler-0.10.6-bindings.patch || die
41 autoreconf --install --force --verbose || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 mconfigure \
49 --enable-opi \
50 --enable-poppler-glib \
51 --disable-poppler-qt \
52 --disable-poppler-qt4 \
53 --disable-cairo-output \
54 || die
55
56 mmake || die
57 }

Properties

Name Value
svn:keywords Id