diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2006-11-13 18:58:42 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2006-11-13 18:58:42 +0000 |
commit | 7f4ac9db978bdf0ce2770a9475a37920f089a684 (patch) | |
tree | ebfedc8001af5691f03c98fd7f69363b64bf29cb /net-news | |
parent | catch *-linux targets (diff) | |
download | gentoo-2-7f4ac9db978bdf0ce2770a9475a37920f089a684.tar.gz gentoo-2-7f4ac9db978bdf0ce2770a9475a37920f089a684.tar.bz2 gentoo-2-7f4ac9db978bdf0ce2770a9475a37920f089a684.zip |
Drop old version; add xulrunner support; temporarily drop ppc, ppc64, and sparc until xulrunner can be worked out (bug #155053)
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/liferea/ChangeLog | 9 | ||||
-rw-r--r-- | net-news/liferea/files/digest-liferea-1.2_rc1-r1 | 3 | ||||
-rw-r--r-- | net-news/liferea/liferea-1.2_rc1-r1.ebuild | 80 |
3 files changed, 91 insertions, 1 deletions
diff --git a/net-news/liferea/ChangeLog b/net-news/liferea/ChangeLog index 92873733c336..cbedc1fdfb4f 100644 --- a/net-news/liferea/ChangeLog +++ b/net-news/liferea/ChangeLog @@ -1,6 +1,13 @@ # 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.65 2006/11/13 18:14:07 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/liferea/ChangeLog,v 1.66 2006/11/13 18:58:42 dang Exp $ + +*liferea-1.2_rc1-r1 (13 Nov 2006) + + 13 Nov 2006; Daniel Gryniewicz <dang@gentoo.org> -liferea-1.1.7.ebuild, + +liferea-1.2_rc1-r1.ebuild: + Drop old version; add xulrunner support; temporarily drop ppc, ppc64, and + sparc until xulrunner can be worked out (bug #155053) 13 Nov 2006; Daniel Gryniewicz <dang@gentoo.org> liferea-1.1.9-r1.ebuild, liferea-1.2_rc1.ebuild: diff --git a/net-news/liferea/files/digest-liferea-1.2_rc1-r1 b/net-news/liferea/files/digest-liferea-1.2_rc1-r1 new file mode 100644 index 000000000000..4717ac39d6f0 --- /dev/null +++ b/net-news/liferea/files/digest-liferea-1.2_rc1-r1 @@ -0,0 +1,3 @@ +MD5 48225f5b3d923a9fb14360709dfc4c2a liferea-1.2-RC1.tar.gz 1226770 +RMD160 e7edd8ee63600babc5c4a01a9b72941b22254567 liferea-1.2-RC1.tar.gz 1226770 +SHA256 f9bcd9e31c3d6bebfaf5114d422cba19a7be31b054c6074193a7ee55f715d6bb liferea-1.2-RC1.tar.gz 1226770 diff --git a/net-news/liferea/liferea-1.2_rc1-r1.ebuild b/net-news/liferea/liferea-1.2_rc1-r1.ebuild new file mode 100644 index 000000000000..cd942064b14a --- /dev/null +++ b/net-news/liferea/liferea-1.2_rc1-r1.ebuild @@ -0,0 +1,80 @@ +# 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.2_rc1-r1.ebuild,v 1.1 2006/11/13 18:58:42 dang Exp $ + +inherit gnome2 flag-o-matic eutils autotools + +MY_P=${PN}-1.2-RC1 +DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo/etc feeds" +HOMEPAGE="http://liferea.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus firefox gtkhtml seamonkey libnotify gnutls xulrunner" + +RDEPEND=">=x11-libs/gtk+-2.8 + x11-libs/pango + >=gnome-base/gconf-2 + >=dev-libs/libxml2-2.5.10 + dev-libs/libxslt + >=dev-libs/glib-2 + xulrunner? ( net-libs/xulrunner ) + !xulrunner? ( firefox? ( www-client/mozilla-firefox ) ) + !xulrunner? ( !firefox? ( seamonkey? ( www-client/seamonkey ) ) ) + !xulrunner? ( !firefox? ( !seamonkey? ( =gnome-extra/gtkhtml-2* ) ) ) + gtkhtml? ( =gnome-extra/gtkhtml-2* ) + dbus? ( >=sys-apps/dbus-0.30 ) + libnotify? ( >=x11-libs/libnotify-0.3.2 ) + gnutls? ( net-libs/gnutls )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.35 + =sys-devel/automake-1.7*" + +DOCS="AUTHORS ChangeLog NEWS README" + +S=${WORKDIR}/${MY_P} +src_unpack() { + unpack ${A} + + cd ${S} + + epatch "${FILESDIR}/${PN}-1.1.0-libnotify.patch" + + eautoreconf || die "Autoreconf failed" +} + +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 xulrunner over firefox over seamonkey + if use xulrunner ; then + G2CONF="${G2CONF} --enable-gecko=xulrunner" + elif 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) \ + $(use_enable gnutls) \ + $(use_enable libnotify)" +} + +src_install() { + gnome2_src_install + rm -f ${D}/usr/bin/${PN} + mv ${D}/usr/bin/${PN}-bin ${D}/usr/bin/${PN} +} |