# $Id$ PNAME="poppler" PVER="0.10.6" PBUILD="r1" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code base." HOMEPAGE="http://poppler.freedesktop.org/" DEPEND=">= media-libs/freetype-2 >= media-libs/fontconfig-2 >= media-libs/libjpeg-6b >= sys-libs/zlib-1 >= app-text/poppler-data-0.2.1" SDEPEND=">= dev-util/pkgconfig-0.23 >= sys-dev/automake-3 >= sys-dev/autoconf-4" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild multilib SRC_URI=( http://poppler.freedesktop.org/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz" src_compile() { mconfigure \ --enable-xpdf-headers \ --enable-a4-paper \ --enable-opi \ --enable-libjpeg \ --enable-zlib \ --disable-gt \ --disable-poppler-qt \ --disable-poppler-qt4 \ --disable-poppler-glib \ --disable-cairo-output \ --disable-gtk-test \ || die mmake || die }