--- galeon-2.0.4.ebuild 2008-03-14 18:37:13.000000000 +0100 +++ galeon-2.0.7.ebuild 2009-02-17 12:31:44.000000000 +0100 @@ -1,56 +1,63 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.4.ebuild,v 1.8 2008/03/14 17:27:42 armin76 Exp $ - -inherit gnome2 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="seamonkey xulrunner" -KEYWORDS="amd64 ia64 ppc sparc x86" -SLOT="0" -RDEPEND="xulrunner? ( =net-libs/xulrunner-1.8* ) - !xulrunner? ( - seamonkey? ( =www-client/seamonkey-1* ) - !seamonkey? ( =www-client/mozilla-firefox-2* ) - ) - >=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" + # galeon-2.0.7.ebuild 2009-02-16 19:26:42 + # Distributed under the terms of the GNU General Public License v2 + # $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.7.ebuild,v 1.0 2009/02/16 19:26:42 Lukyn Exp $ + + EAPI="1" + + inherit gnome2 eutils + + DESCRIPTION="A GNOME Web browser based on gecko (mozilla's rendering engine)" + HOMEPAGE="http://galeon.sourceforge.net" + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + + LICENSE="GPL-2" + IUSE="xulrunner" + SLOT="0" + + KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" + + RDEPEND=" + xulrunner? ( =net-libs/xulrunner-1.9* ) + !xulrunner? ( =www-client/mozilla-firefox-2* ) + >=dev-libs/glib-2 + >=x11-libs/gtk+-2.4.0 + >=dev-libs/libxml2-2.6.6 + >=gnome-base/libgnomeui-2.5.2 + >=gnome-base/gnome-vfs-2 + >=gnome-base/gnome-desktop-2.10.0 + >=gnome-base/libglade-2.3.1" + DEPEND="${RDEPEND} + app-text/scrollkeeper + 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() { + gnome2_src_unpack cd "${S}" - epatch "${FILESDIR}/${P}-maketest.diff" + epatch "${FILESDIR}/${P}-confignspr.patch" + epatch "${FILESDIR}/${P}-dfltfont.patch" + epatch "${FILESDIR}/${P}-gtkprint.patch" + epatch "${FILESDIR}/${P}-plugins.patch" + epatch "${FILESDIR}/${P}-warnings.patch" + + if has_version "=net-libs/xulrunner-1.9.1*"; then + epatch "${FILESDIR}/${P}-moz191.patch" + fi } -src_compile() { + + src_compile() { if use xulrunner; then - myconf="--with-mozilla=xulrunner" - elif use seamonkey; then - myconf="--with-mozilla=seamonkey" + myconf="--with-mozilla=libxul-embedding-unstable" else myconf="--with-mozilla=firefox" fi econf ${myconf} || die "configure failed" emake || die "compile failed" -} + }