Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105107
Collapse All | Expand All

(-)poppler-0.4.1.ebuild (-12 / +18 lines)
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.4.1.ebuild,v 1.3 2005/09/02 00:16:17 dang Exp $
3
# $Header: $
4
4
5
inherit eutils
5
inherit eutils
6
6
Lines 11-43 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips"
14
IUSE="gtk qt"
14
IUSE="cairo gtk jpeg qt zlib"
15
15
16
# cairo is in packages.mask
16
RDEPEND=">=media-libs/freetype-2.1.8
17
18
RDEPEND=">=media-libs/freetype-2.0.5
19
	>=media-libs/t1lib-1.3
20
	media-libs/fontconfig
17
	media-libs/fontconfig
21
	virtual/ghostscript
18
	virtual/ghostscript
22
	dev-util/pkgconfig
19
	gtk? ( >=x11-libs/gtk+-2.4 )
23
	gtk? ( =x11-libs/gtk+-2* )
20
	qt? ( =x11-libs/qt-3* )
24
	qt? ( =x11-libs/qt-3* )"
21
	jpeg? ( >=media-libs/jpeg-6b )
22
	cairo? ( >=x11-libs/cairo-0.5.0 )
23
	zlib? ( sys-libs/zlib )"
25
24
26
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
26
	dev-util/pkgconfig
27
	>=sys-devel/automake-1.9.6"
27
	>=sys-devel/automake-1.9.6"
28
28
29
src_unpack(){
29
src_unpack(){
30
	unpack ${A}
30
	unpack ${A}
31
	cd ${S}
31
	cd ${S}
32
	epatch ${FILESDIR}/${P}-cairo-ft.patch
32
	epatch ${FILESDIR}/poppler-0.4.1-cairo-ft.patch
33
	autoconf || die "autoconf failed"
33
	autoconf || die "autoconf failed"
34
	automake || die "automake failed"
34
	automake || die "automake failed"
35
	libtoolize --force || die "libtoolize failed"
35
	libtoolize --force || die "libtoolize failed"
36
}
36
}
37
37
38
src_compile() {
38
src_compile() {
39
	econf $(use_enable qt poppler-qt) || die
39
	econf --disable-poppler-qt4 --enable-opi \
40
	emake || die
40
		$(use_enable jpeg libjpeg) \
41
		$(use_enable zlib) \
42
		$(use_enable cairo cairo-output) \
43
		$(use_enable gtk poppler-glib) \
44
		$(use_enable qt poppler-qt) \
45
		|| die "configuration failed"
46
	emake || die "compilation failed"
41
}
47
}
42
48
43
src_install() {
49
src_install() {

Return to bug 105107