Contents of /trunk/extras/poppler-qt3/poppler-qt3-0.6.4-r1.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: 1165 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1165 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/poppler-qt3/poppler-qt3-0.6.4-r1.smage2,v 1.1 2008/04/03 08:33:59 niro Exp $ |
2 | |
3 | PNAME="poppler-qt3" |
4 | PVER="0.6.4" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="app-text" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Poppler bindings for cairo." |
11 | HOMEPAGE="http://poppler.freedesktop.org/" |
12 | |
13 | DEPEND="== app-text/poppler-${PVER} |
14 | >= x11-libs/qt-3.3.8" |
15 | |
16 | SDEPEND=">= dev-util/pkgconfig-0.20 |
17 | >= sys-dev/automake-3 |
18 | >= sys-dev/autoconf-4" |
19 | |
20 | SRCFILE="poppler-${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/poppler-${PVER}" |
22 | |
23 | sminclude mbuild |
24 | |
25 | SRC_URI=( |
26 | http://poppler.freedesktop.org/${SRCFILE} |
27 | mirror://poppler/${SRCFILE} |
28 | mirror://poppler/poppler-${PVER}-bindings-2.patch |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # only install the libs and compile against system libs |
37 | mpatch poppler-${PVER}-bindings-2.patch || die |
38 | autoreconf --install --force || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | # tell configure the location of the qt3 libs on multilib system |
46 | export QTDIR=/usr |
47 | export QTLIB=${QTDIR}/$(mlibdir) |
48 | |
49 | mconfigure \ |
50 | --enable-opi \ |
51 | --enable-poppler-qt \ |
52 | --disable-cairo-output \ |
53 | --disable-poppler-glib \ |
54 | --disable-poppler-qt4 \ |
55 | || die |
56 | |
57 | mmake || die |
58 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |