Contents of /trunk/extras/poppler-qt4/poppler-qt4-0.6.4-r3.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1290 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1290 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/poppler-qt4/poppler-qt4-0.6.4-r3.smage2,v 1.1 2008/04/03 08:36:02 niro Exp $ |
2 | |
3 | PNAME="poppler-qt4" |
4 | PVER="0.6.4" |
5 | PBUILD="r3" |
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.3.3" |
15 | |
16 | SDEPEND=">= dev-util/pkgconfig-0.20 |
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-${PVER}-bindings-2.patch |
30 | ) |
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-${PVER}-bindings-2.patch || die |
39 | |
40 | # fix qt4 include pathes -> we are using include/qt |
41 | sed -i 's:qt4_incdirs="$QTDIR/include:&/qt:g' m4/qt.m4 || die |
42 | |
43 | autoreconf --install --force || die |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | |
50 | QTDIR=/opt/qt4 \ |
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 |