|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.3.0.ebuild,v 1.2 2005/04/23 11:32:09 lanius Exp $ |
3 |
# $Header:$ |
| 4 |
|
4 |
|
| 5 |
DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code base." |
5 |
DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code base." |
| 6 |
HOMEPAGE="http://poppler.freedesktop.org" |
6 |
HOMEPAGE="http://poppler.freedesktop.org" |
|
Lines 9-27
Link Here
|
| 9 |
LICENSE="GPL-2" |
9 |
LICENSE="GPL-2" |
| 10 |
SLOT="0" |
10 |
SLOT="0" |
| 11 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips" |
11 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips" |
| 12 |
IUSE="gtk" |
12 |
IUSE="gtk qt" |
| 13 |
|
13 |
|
| 14 |
# cairo is in packages.mask |
14 |
# cairo is in packages.mask |
| 15 |
# qt does not compile |
|
|
| 16 |
|
15 |
|
| 17 |
DEPEND=">=media-libs/freetype-2.0.5 |
16 |
DEPEND=">=media-libs/freetype-2.0.5 |
| 18 |
>=media-libs/t1lib-1.3 |
17 |
>=media-libs/t1lib-1.3 |
| 19 |
virtual/ghostscript |
18 |
virtual/ghostscript |
| 20 |
dev-util/pkgconfig |
19 |
dev-util/pkgconfig |
| 21 |
gtk? ( =x11-libs/gtk+-2* )" |
20 |
gtk? ( =x11-libs/gtk+-2* ) |
|
|
21 |
qt? ( =x11-libs/qt-3* )" |
| 22 |
|
22 |
|
| 23 |
src_compile() { |
23 |
src_compile() { |
| 24 |
econf --disable-poppler-qt || die |
24 |
econf $(use_enable qt poppler-qt) || die |
| 25 |
emake || die |
25 |
emake || die |
| 26 |
} |
26 |
} |
| 27 |
|
27 |
|