blob: cc8f2e6f1c3e040194d41a714d28232789f0fb00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.3.0-r1.ebuild,v 1.3 2005/12/06 19:11:58 corsair Exp $
inherit 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 ~sparc ~x86"
IUSE="gtk"
# cairo is in packages.mask
# qt does not compile
DEPEND=">=media-libs/freetype-2.0.5
>=media-libs/t1lib-1.3
virtual/ghostscript
dev-util/pkgconfig
gtk? ( =x11-libs/gtk+-2* )"
src_unpack(){
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-0.4.2-CAN-2005-3193.patch
}
src_compile() {
econf --disable-poppler-qt --disable-cairo-output || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc README AUTHORS ChangeLog NEWS README-XPDF TODO
}
|