# $Id$ PNAME="poppler-qt3" PVER="0.12.1" PBUILD="r1" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="Poppler bindings for cairo." HOMEPAGE="http://poppler.freedesktop.org/" DEPEND="== app-text/poppler-${PVER} >= x11-libs/qt-3.3.8" SDEPEND=">= dev-util/pkgconfig-0.23 >= sys-dev/automake-4 >= sys-dev/autoconf-5" SRCFILE="poppler-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/poppler-${PVER}" sminclude mbuild SRC_URI=( http://poppler.freedesktop.org/${SRCFILE} mirror://poppler/${SRCFILE} mirror://poppler/poppler-0.6.4-bindings-2.patch ) UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # only install the libs and compile against system libs mpatch poppler-0.6.4-bindings-2.patch || die autoreconf --install --force || die } src_compile() { cd ${SRCDIR} # tell configure the location of the qt3 libs on multilib system export QTDIR=/usr export QTLIB=${QTDIR}/$(mlibdir) mconfigure \ --enable-opi \ --enable-poppler-qt \ --disable-cairo-output \ --disable-poppler-glib \ --disable-poppler-qt4 \ || die mmake || die }