diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-02-03 23:29:06 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-02-03 23:29:06 +0000 |
commit | 79a521edc5728eb6897025ce318fa544e216a8ed (patch) | |
tree | 6b8772dbdbdd666920d8362564c27f72ee18b6b6 /app-text/poppler/poppler-0.5.0-r4.ebuild | |
parent | Fix digest with bad RMD160 from broken pycrypto on ia64 (diff) | |
download | gentoo-2-79a521edc5728eb6897025ce318fa544e216a8ed.tar.gz gentoo-2-79a521edc5728eb6897025ce318fa544e216a8ed.tar.bz2 gentoo-2-79a521edc5728eb6897025ce318fa544e216a8ed.zip |
Add pdftoppm to poppler
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-text/poppler/poppler-0.5.0-r4.ebuild')
-rw-r--r-- | app-text/poppler/poppler-0.5.0-r4.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-text/poppler/poppler-0.5.0-r4.ebuild b/app-text/poppler/poppler-0.5.0-r4.ebuild new file mode 100644 index 000000000000..a3beaac906fb --- /dev/null +++ b/app-text/poppler/poppler-0.5.0-r4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.5.0-r4.ebuild,v 1.1 2006/02/03 23:29:06 genstef Exp $ + +inherit autotools eutils + +DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code base." +HOMEPAGE="http://poppler.freedesktop.org" +SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="jpeg zlib cairo" + +RDEPEND=">=media-libs/freetype-2.1.8 + media-libs/fontconfig + cairo? ( >=x11-libs/cairo-0.5 ) + jpeg? ( >=media-libs/jpeg-6b ) + zlib? ( sys-libs/zlib ) + !app-text/pdftohtml + !<app-text/xpdf-3.01-r4 + virtual/ghostscript" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=sys-devel/automake-1.9.6" + +src_unpack(){ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-cairo-ft.patch + epatch ${FILESDIR}/${PN}-0.4.4-bug117481.patch + epatch ${FILESDIR}/${PN}-0.4.3-pdf2xml.patch + epatch ${FILESDIR}/${PN}-0.4.4-cairo-lines.patch + # bug #119898 + epatch ${FILESDIR}/${P}-try-all-fonts.patch + epatch ${FILESDIR}/${P}-splash-overflow.patch + epatch ${FILESDIR}/${P}-fontimprove.patch + epatch ${FILESDIR}/${P}-pdftoppm.patch + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + econf --disable-poppler-qt4 \ + --disable-poppler-glib \ + --disable-poppler-qt \ + --disable-gtk-test \ + --enable-opi \ + --enable-xpdf-headers \ + $(use_enable cairo cairo-output) \ + $(use_enable jpeg libjpeg) \ + $(use_enable zlib) \ + || die "configuration failed" + emake || die "compilation failed" +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README AUTHORS ChangeLog NEWS README-XPDF TODO pdf2xml.dtd +} |