# $Id$ PNAME="poppler-qt3" PVER="0.10.6" PBUILD="r2" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="Poppler bindings for cairo." HOMEPAGE="http://poppler.freedesktop.org/" DEPEND="== app-text/poppler-${PVER}" SDEPEND=">= dev-util/pkgconfig-0.23 >= sys-dev/automake-3 >= sys-dev/autoconf-4" SRCFILE="poppler-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/poppler-${PVER}" sminclude mbuild qt3 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 --verbose || die } src_compile() { cd ${SRCDIR} mconfigure \ --enable-opi \ --enable-poppler-qt \ --disable-cairo-output \ --disable-poppler-glib \ --disable-poppler-qt4 \ || die mmake || die }