Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1943 - (show annotations) (download)
Wed Jun 10 17:15:20 2009 UTC (14 years, 11 months ago) by niro
File size: 1251 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 >= x11-libs/qt4-4.5"
15
16 SDEPEND=">= dev-util/pkgconfig-0.23
17 >= sys-dev/automake-3
18 >= sys-dev/autoconf-4
19 >= sys-apps/sed-4"
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.6.4-bindings-2.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.6.4-bindings-2.patch || die
41
42 # fix qt4 include pathes -> we are using include/qt
43 sed -i 's:qt4_incdirs="$QTDIR/include:&/qt:g' m4/qt.m4 || die
44
45 autoreconf --install --force --verbose || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure \
53 --enable-opi \
54 --enable-poppler-qt4 \
55 --disable-poppler-qt \
56 --disable-cairo-output \
57 --disable-poppler-glib \
58 || die
59
60 # needed to build qt4 bindings successfully
61 mmake -C poppler libpoppler-arthur.la || die
62 mmake || die
63 }

Properties

Name Value
svn:keywords Id