Magellan Linux

Annotation of /trunk/core/poppler-qt3/poppler-qt3-0.12.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3548 - (hide annotations) (download)
Fri Oct 23 11:49:41 2009 UTC (14 years, 8 months ago) by niro
File size: 1136 byte(s)
auto added: ver bump to 0.12.1-r1
1 niro 3548 # $Id$
2    
3     PNAME="poppler-qt3"
4     PVER="0.12.1"
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.23
17     >= sys-dev/automake-4
18     >= sys-dev/autoconf-5"
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-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     autoreconf --install --force || die
41     }
42    
43     src_compile()
44     {
45     cd ${SRCDIR}
46    
47     # tell configure the location of the qt3 libs on multilib system
48     export QTDIR=/usr
49     export QTLIB=${QTDIR}/$(mlibdir)
50    
51     mconfigure \
52     --enable-opi \
53     --enable-poppler-qt \
54     --disable-cairo-output \
55     --disable-poppler-glib \
56     --disable-poppler-qt4 \
57     || die
58    
59     mmake || die
60     }

Properties

Name Value
svn:keywords Id