Magellan Linux

Annotation of /trunk/extras/poppler-qt4/poppler-qt4-0.12.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3801 - (hide annotations) (download)
Wed Nov 4 09:36:06 2009 UTC (14 years, 7 months ago) by niro
File size: 1364 byte(s)
auto added: ver bump to 0.12.1-r1
1 niro 3801 # $Id$
2    
3     PNAME="poppler-qt4"
4     PVER="0.12.1"
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-${PVER}-bindings.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-${PVER}-bindings.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     # moc for qt4 may not be found, if qt3 is installed
44     sed -i 's:MOCQT4=`which moc`:MOCQT4="$QTDIR/bin/moc":g' configure.ac || die
45    
46     autoreconf --install --force --verbose || die
47     }
48    
49     src_compile()
50     {
51     cd ${SRCDIR}
52    
53     mconfigure \
54     --enable-opi \
55     --enable-poppler-qt4 \
56     --disable-poppler-qt \
57     --disable-cairo-output \
58     --disable-poppler-glib \
59     || die
60    
61     # needed to build qt4 bindings successfully
62     mmake -C poppler libpoppler-arthur.la || die
63     mmake || die
64     }

Properties

Name Value
svn:keywords Id