new-news/liferea: add 1.5.2b ebuild.
authorLeonardo Valeri Manera <lvalerimanera@gmail.com>
Sat, 10 May 2008 13:34:21 +0000 (10 15:34 +0200)
committerLeonardo Valeri Manera <lvalerimanera@gmail.com>
Sat, 10 May 2008 13:34:21 +0000 (10 15:34 +0200)
profiles/categories: add net-news

net-news/liferea/Manifest [new file with mode: 0644]
net-news/liferea/liferea-1.5.2b.ebuild [new file with mode: 0644]
profiles/categories

diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest
new file mode 100644 (file)
index 0000000..c59d2a0
--- /dev/null
@@ -0,0 +1,2 @@
+DIST liferea-1.5.2b.tar.gz 1575132 RMD160 81f790e1f956c7dbe169466a949d8764294dd6e4 SHA1 73b4f1740c1823309f6b911e1ba8d786c1c51166 SHA256 6698647a253bb8ae7beaf07f9a473695e36082b0dd652889d29086def3e4be1b
+EBUILD liferea-1.5.2b.ebuild 1916 RMD160 b618035bf9bdc563e0f70fb82af8da3b148a34e2 SHA1 9095878cf1152d0336014664110a3fc1df0bd889 SHA256 520e408ec8b91b4f885a84802b5bb75f9c3e9632ea03d951fc67ce01b4855a46
diff --git a/net-news/liferea/liferea-1.5.2b.ebuild b/net-news/liferea/liferea-1.5.2b.ebuild
new file mode 100644 (file)
index 0000000..456d2a3
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+WANT_AUTOMAKE=1.7
+WANT_AUTOCONF=latest
+inherit gnome2 eutils
+
+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 ~x86-fbsd"
+IUSE="avahi dbus gtkhtml gnutls libnotify lua networkmanager webkit xulrunner"
+
+RDEPEND="xulrunner? ( net-libs/xulrunner:1.8 )
+                webkit? ( net-libs/webkitgtk )
+                !amd64? ( gtkhtml? ( gnome-extra/gtkhtml:2 ) )
+                >=x11-libs/gtk+-2.8:2
+                x11-libs/pango
+                gnome-base/gconf:2
+                >=dev-libs/libxml2-2.6.27:2
+                >=dev-libs/libxslt-1.1.19
+                >=dev-db/sqlite-3.3:3
+                dev-libs/glib:2
+                gnome-base/libglade:2.0
+                avahi? ( net-dns/avahi )
+                dbus? ( >=dev-libs/dbus-glib-0.71 )
+                gnutls? ( net-libs/gnutls )
+                libnotify? ( >=x11-libs/libnotify-0.3.2 )
+                lua? ( >=dev-lang/lua-5.1 )
+                networkmanager? ( net-misc/networkmanager )"
+
+DEPEND="${RDEPEND}
+               dev-util/pkgconfig
+               >=dev-util/intltool-0.35"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+       # Backends are now mutually exclusive.
+       # we prefer xulrunner over firefox over seamonkey over gtkhtml
+       if ! ( use xulrunner || use webkit || use gtkhtml ); then
+               ewarn "You must choose at least one backend for liferea to work."
+               ewarn "Choices are: xulrunner, webkit, gtkhtml."
+               die "You must enable one of the backends"
+       fi
+
+       G2CONF="${G2CONF} \
+               --disable-gecko \
+               $(use_enable xulrunner) \
+               $(use_enable webkit) \
+               $(use_enable gtkhtml gtkhtml2) \
+               $(use_enable avahi) \
+               $(use_enable dbus) \
+               $(use_enable gnutls) \
+               $(use_enable libnotify) \
+               $(use_enable lua) \
+               $(use_enable networkmanager nm)"
+}
+
+src_install() {
+       gnome2_src_install
+       rm -f "${D}"/usr/bin/${PN}
+       mv "${D}"/usr/bin/${PN}-bin "${D}"/usr/bin/${PN}
+}
index faa26c0..a10d744 100644 (file)
@@ -10,6 +10,7 @@ games-util
 kde-misc
 media-libs
 net-im
+net-news
 net-p2p
 net-www
 sys-apps