# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.1-r2.ebuild,v 1.2 2006/07/15 20:51:33 hanno Exp $ inherit gnome2 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="seamonkey" KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" SLOT="0" RDEPEND="seamonkey? ( www-client/seamonkey ) !seamonkey? ( >=www-client/mozilla-firefox-1.5.0.4 ) >=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" DOCS="AUTHORS ChangeLog FAQ README README.ExtraPrefs THANKS TODO NEWS" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/galeon-2.0.1-imagebehaviour.diff epatch ${FILESDIR}/galeon-2.0.1-findahead.diff } src_compile() { use seamonkey && myconf="--with-mozilla=seamonkey" use seamonkey || myconf="--with-mozilla=firefox" econf ${myconf} || die "configure failed" emake || die "compile failed" }