summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2007-08-17 15:46:01 +0000
committerHanno Böck <hanno@gentoo.org>2007-08-17 15:46:01 +0000
commit779f48990961dbff2ead272f807ea06dfb338f1a (patch)
treecf33d6b89e926f2f744789ec488fb8e728ecee09 /www-client
parentversion bump wrt bug 158633, thanks to Jakub Moc; introducing new dependency ... (diff)
downloadgentoo-2-779f48990961dbff2ead272f807ea06dfb338f1a.tar.gz
gentoo-2-779f48990961dbff2ead272f807ea06dfb338f1a.tar.bz2
gentoo-2-779f48990961dbff2ead272f807ea06dfb338f1a.zip
galeon xulrunner support
(Portage version: 2.1.3.6)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/galeon/ChangeLog5
-rw-r--r--www-client/galeon/galeon-2.0.3.ebuild20
2 files changed, 18 insertions, 7 deletions
diff --git a/www-client/galeon/ChangeLog b/www-client/galeon/ChangeLog
index d55f90d80cbc..c05167512527 100644
--- a/www-client/galeon/ChangeLog
+++ b/www-client/galeon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/galeon
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/ChangeLog,v 1.34 2007/04/11 01:38:17 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/ChangeLog,v 1.35 2007/08/17 15:46:01 hanno Exp $
+
+ 17 Aug 2007; Hanno Boeck <hanno@gentoo.org> galeon-2.0.3.ebuild:
+ Add xulrunner support.
*galeon-2.0.3 (11 Apr 2007)
diff --git a/www-client/galeon/galeon-2.0.3.ebuild b/www-client/galeon/galeon-2.0.3.ebuild
index 994f87bcea16..9a09df5acdba 100644
--- a/www-client/galeon/galeon-2.0.3.ebuild
+++ b/www-client/galeon/galeon-2.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.3.ebuild,v 1.1 2007/04/11 01:38:17 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.3.ebuild,v 1.2 2007/08/17 15:46:01 hanno Exp $
inherit gnome2 eutils
@@ -9,11 +9,14 @@ HOMEPAGE="http://galeon.sourceforge.net"
SRC_URI="mirror://sourceforge/galeon/${P}.tar.bz2"
LICENSE="GPL-2"
-IUSE="seamonkey"
+IUSE="seamonkey xulrunner"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
SLOT="0"
-RDEPEND="seamonkey? ( www-client/seamonkey )
- !seamonkey? ( >=www-client/mozilla-firefox-1.5.0.4 )
+RDEPEND="xulrunner? ( >=net-libs/xulrunner-1.8 )
+ !xulrunner? (
+ 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
@@ -40,8 +43,13 @@ src_unpack() {
}
src_compile() {
- use seamonkey && myconf="--with-mozilla=seamonkey"
- use seamonkey || myconf="--with-mozilla=firefox"
+ if use xulrunner; then
+ myconf="--with-mozilla=xulrunner"
+ elif use seamonkey; then
+ myconf="--with-mozilla=seamonkey"
+ else
+ myconf="--with-mozilla=firefox"
+ fi
econf ${myconf} || die "configure failed"
emake || die "compile failed"