summaryrefslogtreecommitdiff
blob: e753e3599725322ac0be919265e9f4c038ff6eca (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-1.3.20.ebuild,v 1.5 2005/06/09 23:13:38 gustavoz Exp $

inherit gnome2 debug libtool eutils

DESCRIPTION="A GNOME Web browser based on gecko (mozilla's rendering engine)"
HOMEPAGE="http://galeon.sourceforge.net"
SRC_URI="mirror://sourceforge/galeon/${P}.tar.bz2"

LICENSE="GPL-2"
IUSE="firefox"
KEYWORDS="~x86 ~ppc ~alpha sparc ~amd64 ~ia64"
SLOT="0"

S=${WORKDIR}/${P}

RDEPEND="virtual/x11
	!firefox? ( >=www-client/mozilla-1.7.6-r1 )
	firefox? ( >=www-client/mozilla-firefox-1.0.2-r1 )
	>=dev-libs/glib-2
	>=x11-libs/gtk+-2.4.0
	>=dev-libs/libxml2-2.6.6
	>=gnome-base/gconf-2.3.2
	>=gnome-base/orbit-2
	>=gnome-base/libbonobo-2
	>=gnome-base/libbonoboui-2.1.1
	>=gnome-base/libgnomeui-2.5.2
	>=gnome-base/gnome-vfs-2
	>=gnome-base/gnome-desktop-2.10.0
	>=gnome-base/libglade-2.3.1
	app-text/scrollkeeper"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	>=dev-util/intltool-0.30
	>=sys-devel/gettext-0.11"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/galeon-1.3.20-toolbar-crash.diff
}

src_compile() {
	use firefox && myconf="--with-mozilla=firefox"
	use firefox || myconf="--with-mozilla=mozilla"

	econf ${myconf} || die "configure failed"
	make || die "compile failed"
}

DOCS="AUTHORS COPYING COPYING.README ChangeLog FAQ INSTALL README README.ExtraPrefs THANKS TODO NEWS"