diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-03-04 11:28:01 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-03-04 11:28:01 +0000 |
commit | 64d874d53653cfab89291e16431bcbe9c1ce5fdd (patch) | |
tree | cc0ad176a6be6eac4e1883945a0cc343b77397fa /app-text/xpdf/xpdf-3.01-r8.ebuild | |
parent | Initial commit. Thanks to Chris Bainbridge in bug #122581. (diff) | |
download | gentoo-2-64d874d53653cfab89291e16431bcbe9c1ce5fdd.tar.gz gentoo-2-64d874d53653cfab89291e16431bcbe9c1ce5fdd.tar.bz2 gentoo-2-64d874d53653cfab89291e16431bcbe9c1ce5fdd.zip |
version bump to fix poppler issues, thanks to radfoj <radfoj@seznam.cz> in bug 124881
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-text/xpdf/xpdf-3.01-r8.ebuild')
-rw-r--r-- | app-text/xpdf/xpdf-3.01-r8.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-text/xpdf/xpdf-3.01-r8.ebuild b/app-text/xpdf/xpdf-3.01-r8.ebuild new file mode 100644 index 000000000000..90441b718054 --- /dev/null +++ b/app-text/xpdf/xpdf-3.01-r8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.01-r8.ebuild,v 1.1 2006/03/04 11:28:01 genstef Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="An X Viewer for PDF Files" +HOMEPAGE="http://www.foolabs.com/xpdf/" +SRC_URI="mirror://gentoo/${P}-poppler.tar.bz2 + http://dev.gentoo.org/~genstef/files/dist/${P}-poppler.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nodrm" + +RDEPEND=">=app-text/poppler-0.5.1 + virtual/motif + || ( + ( x11-libs/libX11 x11-libs/libXpm ) + virtual/x11 + )" +DEPEND="${RDEPEND}" +PROVIDE="virtual/pdfviewer" + +S=${WORKDIR}/${P}-poppler + +src_unpack() { + unpack ${A} + cd "${S}" + use nodrm && epatch "${FILESDIR}"/${P}-poppler-nodrm.patch + epatch "${FILESDIR}"/${P}-poppler-0.5.1.patch +} + +src_compile() { + # broken, see bug 124179 + replace-flags -Os -O2 + emake || die "emake failed" +} + +src_install() { + dobin xpdf + doman xpdf.1 + dodoc README ANNOUNCE CHANGES +} |