summaryrefslogtreecommitdiff
blob: 2fb6a8f79cc30dc3e427ccb8e85300571f6deb0f (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.11.13-r2.ebuild,v 1.5 2005/07/31 16:23:34 dertobi123 Exp $

inherit eutils gnome2

DESCRIPTION="Xft powered terminal widget"
HOMEPAGE="http://www.gnome.org/"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ppc ~ppc64 sparc x86"
IUSE="debug doc python static"

RDEPEND=">=dev-libs/glib-2
	>=x11-libs/gtk+-2.2
	>=x11-libs/pango-1.1
	>=media-libs/freetype-2.0.2
	media-libs/fontconfig
	sys-libs/ncurses
	python? ( >=dev-python/pygtk-2.4
		>=dev-lang/python-2.2 )
	virtual/x11"

DEPEND="${RDEPEND}
	doc? ( >=dev-util/gtk-doc-0.6 )
	dev-util/pkgconfig"

DOCS="AUTHORS ChangeLog HACKING NEWS README"
G2CONF="${G2CONF} $(use_enable debug debugging) $(use_enable python) \
$(use_enable static)"

src_unpack() {
	unpack ${A}
	cd ${S}/src

	# Apply the, shift-<up,down> scroll one
	# line at a time patch.
	epatch ${FILESDIR}/${PN}-line-scroll.patch

	cd ${S}
	# Reduce memory use. See bug #96702.
	epatch ${FILESDIR}/${P}-memory_fix.patch
	# Resolve all symbols at execution time for gnome-pty-helper. See bug
	# #91617.
	epatch ${FILESDIR}/${PN}-no_lazy_bindings.patch

	cd gnome-pty-helper
	WANT_AUTOMAKE=1.9
	einfo "Running aclocal"
	aclocal || die "Aclocal failed"
	einfo "Running automake"
	automake || die "Automake failed"
}