Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1947 - (hide annotations) (download)
Wed Jun 10 17:58:56 2009 UTC (15 years ago) by niro
File size: 1364 byte(s)
-fixed bindings patch: change all missing /poppler/libpoppler.la references to -lpoppler for 0.10.6 version
1 niro 1943 # $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 niro 1944 DEPEND="== app-text/poppler-${PVER}"
14 niro 1943
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 niro 1944 sminclude mbuild qt4
24 niro 1943
25     SRC_URI=(
26     http://poppler.freedesktop.org/${SRCFILE}
27     mirror://poppler/${SRCFILE}
28 niro 1947 mirror://poppler/poppler-${PVER}-bindings.patch
29 niro 1943 )
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 niro 1947 mpatch poppler-${PVER}-bindings.patch || die
40 niro 1943
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 niro 1945 # 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 niro 1943
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