diff options
author | Jory Pratt <anarchy@gentoo.org> | 2006-07-03 22:04:49 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2006-07-03 22:04:49 +0000 |
commit | 58778485d3f201d00876164b0b9a3f39784421aa (patch) | |
tree | 6519d70802d4b4d32275e8fcdb8a93e48750139b /net-news | |
parent | Stable on sparc wrt AllanonJL (diff) | |
download | gentoo-2-58778485d3f201d00876164b0b9a3f39784421aa.tar.gz gentoo-2-58778485d3f201d00876164b0b9a3f39784421aa.tar.bz2 gentoo-2-58778485d3f201d00876164b0b9a3f39784421aa.zip |
revision bump with seamonkey support
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/liferea/ChangeLog | 8 | ||||
-rw-r--r-- | net-news/liferea/files/digest-liferea-1.0.16 | 3 | ||||
-rw-r--r-- | net-news/liferea/files/liferea-1.0.16-seamonkey.diff | 22 | ||||
-rw-r--r-- | net-news/liferea/liferea-1.0.16.ebuild | 65 |
4 files changed, 97 insertions, 1 deletions
diff --git a/net-news/liferea/ChangeLog b/net-news/liferea/ChangeLog index b4a2c8b6a375..a1b719b14dd7 100644 --- a/net-news/liferea/ChangeLog +++ b/net-news/liferea/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-news/liferea # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/liferea/ChangeLog,v 1.38 2006/06/15 15:10:12 allanonjl Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/liferea/ChangeLog,v 1.39 2006/07/03 22:04:49 anarchy Exp $ + +*liferea-1.0.16 (03 Jul 2006) + + 03 Jul 2006; anarchy <anarchy@gentoo.org> + +files/liferea-1.0.16-seamonkey.diff, +liferea-1.0.16.ebuild: + revision bump with seamonkey support *liferea-1.0.15 (15 Jun 2006) diff --git a/net-news/liferea/files/digest-liferea-1.0.16 b/net-news/liferea/files/digest-liferea-1.0.16 new file mode 100644 index 000000000000..6fe2f0a8364f --- /dev/null +++ b/net-news/liferea/files/digest-liferea-1.0.16 @@ -0,0 +1,3 @@ +MD5 99d1655499a05a46bea0193576ddfde1 liferea-1.0.16.tar.gz 1575690 +RMD160 c5ba8aed414c333a9e12d950a821042216cee310 liferea-1.0.16.tar.gz 1575690 +SHA256 591d7d6b6ea6d8c0a90c68418d1e65076bbfe32976f00d229357f45176e3ebe4 liferea-1.0.16.tar.gz 1575690 diff --git a/net-news/liferea/files/liferea-1.0.16-seamonkey.diff b/net-news/liferea/files/liferea-1.0.16-seamonkey.diff new file mode 100644 index 000000000000..b2709d6f73c6 --- /dev/null +++ b/net-news/liferea/files/liferea-1.0.16-seamonkey.diff @@ -0,0 +1,22 @@ +--- configure.ac-orig 2006-07-03 16:41:42.000000000 -0500 ++++ configure.ac 2006-07-03 16:48:12.000000000 -0500 +@@ -29,7 +29,7 @@ + AC_ARG_ENABLE(gtkhtml2, AS_HELP_STRING([--disable-gtkhtml2],[don't compile the gtkhtml2 backend]),,enable_gtkhtml2=yes) + AC_ARG_ENABLE(xulrunner, AS_HELP_STRING([--disable-xulrunner],[don't compile the xulrunner backend]),,enable_xulrunner=yes) + AC_ARG_ENABLE(gecko, AS_HELP_STRING([--disable-gecko],[don't compile the Gecko backend]),,enable_gecko=yes) +-AC_ARG_ENABLE(gecko, AS_HELP_STRING([--enable-gecko=ARG],[specify which Gecko provider to use ("mozilla" or "firefox")]),,enable_gecko=yes) ++AC_ARG_ENABLE(gecko, AS_HELP_STRING([--enable-gecko=ARG],[specify which Gecko provider to use ("seamonkey" or "firefox")]),,enable_gecko=yes) + + AC_CHECK_FUNCS([strsep getaddrinfo]) + +@@ -118,8 +118,8 @@ + dnl Mozilla + dnl ******* + +-if test "x$enable_gecko" = "xyes" -o "x$enable_gecko" = "xmozilla" ; then +- gecko_provider=mozilla ++if test "x$enable_gecko" = "xyes" -o "x$enable_gecko" = "xseamonkey" ; then ++ gecko_provider=seamonkey + PKG_CHECK_MODULES(MOZILLA, $gecko_provider-gtkmozembed, enable_mozilla=yes, enable_mozilla=no) + AC_MSG_RESULT($gecko_provider: $enable_mozilla) + fi diff --git a/net-news/liferea/liferea-1.0.16.ebuild b/net-news/liferea/liferea-1.0.16.ebuild new file mode 100644 index 000000000000..0e965d11d895 --- /dev/null +++ b/net-news/liferea/liferea-1.0.16.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/liferea/liferea-1.0.16.ebuild,v 1.1 2006/07/03 22:04:49 anarchy Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo/etc feeds" +HOMEPAGE="http://liferea.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="dbus firefox gtkhtml seamonkey" + +RDEPEND=">=x11-libs/gtk+-2.4.0 + >=dev-libs/libxml2-2.5.10 + firefox? ( www-client/mozilla-firefox ) + !firefox? ( seamonkey? ( www-client/seamonkey ) ) + gtkhtml? ( =gnome-extra/gtkhtml-2* ) + !seamonkey? ( !firefox? ( =gnome-extra/gtkhtml-2* ) ) + >=gnome-base/gconf-2 + dbus? ( >=sys-apps/dbus-0.30 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + + # if you don't choose a gecko to use, we will automatically + # use gtkhtml2 as the backend. + if ! use seamonkey && ! use firefox || use gtkhtml ; then + G2CONF="${G2CONF} --enable-gtkhtml2" + else + G2CONF="${G2CONF} --disable-gtkhtml2" + fi + + # we prefer firefox over seamonkey + if use firefox ; then + G2CONF="${G2CONF} --enable-gecko=firefox" + elif use seamonkey ; then + G2CONF="${G2CONF} --enable-gecko=seamonkey" + else + G2CONF="${G2CONF} --disable-gecko" + fi + + G2CONF="${G2CONF} $(use_enable dbus)" +} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch "${FILESDIR}/${P}-seamonkey.diff" || die "Failed patching for seamonkey" + + eautoreconf || die "Failed running eautoreconf" +} + +src_install() { + gnome2_src_install + rm -f ${D}/usr/bin/${PN} + mv ${D}/usr/bin/${PN}-bin ${D}/usr/bin/${PN} +} |