summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-10-02 16:09:40 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-10-02 16:09:40 +0000
commit53e3129c4385184a6459f1caceafd320ccfc55ce (patch)
tree0794706af438d4eac99f28521e29ea7862e98e35 /net-news
parentDropped ppc-macos keyword, because OSX can't cope with the libtool provided b... (diff)
downloadgentoo-2-53e3129c4385184a6459f1caceafd320ccfc55ce.tar.gz
gentoo-2-53e3129c4385184a6459f1caceafd320ccfc55ce.tar.bz2
gentoo-2-53e3129c4385184a6459f1caceafd320ccfc55ce.zip
Add 1.1 version of liferea. It seems good enough to use
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/liferea/ChangeLog8
-rw-r--r--net-news/liferea/files/digest-liferea-1.1.63
-rw-r--r--net-news/liferea/files/liferea-1.1.0-libnotify.patch14
-rw-r--r--net-news/liferea/liferea-1.1.6.ebuild72
4 files changed, 96 insertions, 1 deletions
diff --git a/net-news/liferea/ChangeLog b/net-news/liferea/ChangeLog
index 0fe4b6310369..0c684f7b24ac 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.54 2006/10/02 16:05:52 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/liferea/ChangeLog,v 1.55 2006/10/02 16:09:40 dang Exp $
+
+*liferea-1.1.6 (02 Oct 2006)
+
+ 02 Oct 2006; Daniel Gryniewicz <dang@gentoo.org>
+ +files/liferea-1.1.0-libnotify.patch, +liferea-1.1.6.ebuild:
+ Add 1.1 version of liferea. It seems good enough to use
02 Oct 2006; Daniel Gryniewicz <dang@gentoo.org>
-files/liferea-1.0.18-amd64.patch, -liferea-0.9.6.ebuild,
diff --git a/net-news/liferea/files/digest-liferea-1.1.6 b/net-news/liferea/files/digest-liferea-1.1.6
new file mode 100644
index 000000000000..56b9c2146f99
--- /dev/null
+++ b/net-news/liferea/files/digest-liferea-1.1.6
@@ -0,0 +1,3 @@
+MD5 2d471d6e5f1aec7f17b63fe6a75fb78f liferea-1.1.6.tar.gz 1164348
+RMD160 67f300141c4e790d37771fecf14bd9a9e528a6f9 liferea-1.1.6.tar.gz 1164348
+SHA256 d7799e197d65205cedf5be8b6dd6da917ed4f26c1caf7c05c3c2538646fbc46e liferea-1.1.6.tar.gz 1164348
diff --git a/net-news/liferea/files/liferea-1.1.0-libnotify.patch b/net-news/liferea/files/liferea-1.1.0-libnotify.patch
new file mode 100644
index 000000000000..96f290d399ea
--- /dev/null
+++ b/net-news/liferea/files/liferea-1.1.0-libnotify.patch
@@ -0,0 +1,14 @@
+Index: src/notification/Makefile.am
+===================================================================
+--- src/notification/Makefile.am (révision 2353)
++++ src/notification/Makefile.am (copie de travail)
+@@ -27,8 +27,7 @@
+ liblinotiflibnotify_la_CFLAGS = $(PACKAGE_CFLAGS) $(LIBNOTIFY_CFLAGS)
+ liblinotiflibnotify_la_SOURCES = notif_libnotify.c notif_libnotify.h notif_plugin.h
+
+-pkglib_LTLIBRARIES = liblinotifpopup.la \
+- liblinotiflibnotify.la
++pkglib_LTLIBRARIES = liblinotiflibnotify.la
+ else
+ pkglib_LTLIBRARIES = liblinotifpopup.la
+ endif
diff --git a/net-news/liferea/liferea-1.1.6.ebuild b/net-news/liferea/liferea-1.1.6.ebuild
new file mode 100644
index 000000000000..9ef96356fdd6
--- /dev/null
+++ b/net-news/liferea/liferea-1.1.6.ebuild
@@ -0,0 +1,72 @@
+# 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.1.6.ebuild,v 1.1 2006/10/02 16:09:40 dang Exp $
+
+inherit gnome2 flag-o-matic 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 libnotify gnutls"
+
+RDEPEND=">=x11-libs/gtk+-2.4.0
+ >=dev-libs/libxml2-2.5.10
+ || (
+ firefox? ( www-client/mozilla-firefox )
+ sealonkey? ( www-client/seamonkey )
+ =gnome-extra/gtkhtml-2*
+ )
+ gtkhtml? ( =gnome-extra/gtkhtml-2* )
+ >=gnome-base/gconf-2
+ dbus? ( >=sys-apps/dbus-0.30 )
+ libnotify? ( >=x11-libs/libnotify-0.3.2 )
+ gnutls? ( net-libs/gnutls )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+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 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) \
+ $(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}
+}