Magellan Linux

Contents of /trunk/extras/poppler-qt4/poppler-qt4-0.10.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1944 - (show annotations) (download)
Wed Jun 10 17:15:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1234 byte(s)
auto added: ver bump to 0.10.6-r1
1 # $Id$
2
3 PNAME="poppler-qt4"
4 PVER="0.10.6"
5 PBUILD="r1"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="Poppler bindings for QT4."
11 HOMEPAGE="http://poppler.freedesktop.org/"
12
13 DEPEND="== app-text/poppler-${PVER}"
14
15 SDEPEND=">= dev-util/pkgconfig-0.23
16 >= sys-dev/automake-3
17 >= sys-dev/autoconf-4
18 >= sys-apps/sed-4"
19
20 SRCFILE="poppler-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/poppler-${PVER}"
22
23 sminclude mbuild qt4
24
25 SRC_URI=(
26 http://poppler.freedesktop.org/${SRCFILE}
27 mirror://poppler/${SRCFILE}
28 mirror://poppler/poppler-0.6.4-bindings-2.patch
29 )
30
31 UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # only install the libs and compile against system libs
39 mpatch poppler-0.6.4-bindings-2.patch || die
40
41 # fix qt4 include pathes -> we are using include/qt
42 sed -i 's:qt4_incdirs="$QTDIR/include:&/qt:g' m4/qt.m4 || die
43
44 autoreconf --install --force --verbose || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 mconfigure \
52 --enable-opi \
53 --enable-poppler-qt4 \
54 --disable-poppler-qt \
55 --disable-cairo-output \
56 --disable-poppler-glib \
57 || die
58
59 # needed to build qt4 bindings successfully
60 mmake -C poppler libpoppler-arthur.la || die
61 mmake || die
62 }

Properties

Name Value
svn:keywords Id