diff options
author | 2015-09-07 13:29:52 -0400 | |
---|---|---|
committer | 2015-09-07 13:33:23 -0400 | |
commit | 3e828ee766a6ebaa5c71ed1764f7998d59c24054 (patch) | |
tree | 5a9656054994abd214db55840332ad757902d0ed /net-nntp/pan/pan-0.139-r1.ebuild | |
parent | sci-calculators/calculator: amd64 stable, bug #535832 (diff) | |
download | gentoo-3e828ee766a6ebaa5c71ed1764f7998d59c24054.tar.gz gentoo-3e828ee766a6ebaa5c71ed1764f7998d59c24054.tar.bz2 gentoo-3e828ee766a6ebaa5c71ed1764f7998d59c24054.zip |
net-nntp/pan: fix newsrc-* files created in wrong place with g++-5
Gentoo-Bug: 559666
Reported-by: Holger Hoffstätte
Upstream-Bug-url: https://bugzilla.gnome.org/show_bug.cgi?id=754698
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-nntp/pan/pan-0.139-r1.ebuild')
-rw-r--r-- | net-nntp/pan/pan-0.139-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-nntp/pan/pan-0.139-r1.ebuild b/net-nntp/pan/pan-0.139-r1.ebuild new file mode 100644 index 000000000000..382c8c2799d3 --- /dev/null +++ b/net-nntp/pan/pan-0.139-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="A newsreader for GNOME" +HOMEPAGE="http://pan.rebelbase.com/" +SRC_URI="http://pan.rebelbase.com/download/releases/${PV}/source/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="dbus gnome-keyring libnotify spell ssl" + +RDEPEND=">=dev-libs/glib-2.26:2 + >=x11-libs/gtk+-2.16:2 + dev-libs/gmime:2.6 + gnome-keyring? ( >=gnome-base/libgnome-keyring-3.2 ) + libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) + spell? ( + >=app-text/enchant-1.6 + >=app-text/gtkspell-2.0.7:2 ) + ssl? ( >=net-libs/gnutls-3:0= )" + +DEPEND="${RDEPEND} + app-text/gnome-doc-utils + >=dev-util/intltool-0.35.5 + sys-devel/gettext + virtual/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + # in next release + epatch "${FILESDIR}/${P}-pan.desktop.patch" + + # g++-5 fix, https://bugzilla.gnome.org/show_bug.cgi?id=754698 + epatch "${FILESDIR}"/${PN}-0.139-get_pan_home.patch + + # upstream release was in 2012 - users may want to apply patches + epatch_user +} + +src_configure() { + econf \ + --without-gtk3 \ + $(use_with dbus) \ + $(use_enable gnome-keyring gkr) \ + $(use_with spell gtkspell) \ + $(use_enable libnotify) \ + $(use_with ssl gnutls) +} |