From 80295ff1adc6efd536909123888c2fe99707f5ec Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 21 Jun 2022 01:56:46 -0400 Subject: [PATCH] net-nntp/pan: Resurrect and bump ebuild. Adapt the removed pan-0.146 ebuild to pan-0.149 which supports gmime-3. --- net-nntp/pan/Manifest | 2 ++ net-nntp/pan/pan-0.149.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 net-nntp/pan/Manifest create mode 100644 net-nntp/pan/pan-0.149.ebuild diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest new file mode 100644 index 0000000..f7e29de --- /dev/null +++ b/net-nntp/pan/Manifest @@ -0,0 +1,2 @@ +DIST pan-0.149.tar.bz2 2328015 BLAKE2B 6c40c215a63f14bc0a9585c0476f5c92c96c0547de67767b353ec79c0999a1ad3a9e3fd23740ae25f29c32ce51ac3d48995aac622997f16ccd06ab842ed9a653 SHA512 2e558f53bbc0c9ae907c566fe8efd56ed2ef0edeffa23f922b63c956f16096c2ad1ea0bd43c31f82ee096899550bf47cb7011f354a6941a1d53cb6c6eaa5e5a6 +EBUILD pan-0.149.ebuild 1389 BLAKE2B 3b01b468928056c3bf14a80fce8c2829720efc74fbeefec1adf73a864fc079a765df9bb3b843f476d4615b636abc18a7ddd1460345cbdf9bf571cf5064152d05 SHA512 dfc2ddcf3c7600a9175713bcc7b0961358ee4ff3aaec43fc9a640e89c537b0f94a279443f653fa10a4d0e6ae3536da82e1c2aeb534261d356eefb5d912f5523f diff --git a/net-nntp/pan/pan-0.149.ebuild b/net-nntp/pan/pan-0.149.ebuild new file mode 100644 index 0000000..2915a7a --- /dev/null +++ b/net-nntp/pan/pan-0.149.ebuild @@ -0,0 +1,53 @@ +# This ebuild is a modified version of the work originally distributed with +# Gentoo GNU/Linux, covered by the following copyright and permission notice: +# +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# +# The modifications are: +# +# * Update for gmime-3 support in newer pan (2022-06) + +EAPI=6 +inherit gnome2 + +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" +IUSE="dbus gnome-keyring libnotify spell ssl" + +RDEPEND=" + >=dev-libs/glib-2.26:2 + dev-libs/gmime:3.0 + >=sys-libs/zlib-1.2.0 + >=x11-libs/gtk+-2.16:2 + gnome-keyring? ( >=gnome-base/libgnome-keyring-3.2 ) + libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) + spell? ( + >=app-text/enchant-1.6:0/0 + >=app-text/gtkspell-2.0.7:2 ) + ssl? ( >=net-libs/gnutls-3:0= ) +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=sys-devel/gettext-0.19.7 + virtual/pkgconfig +" + +src_configure() { + # Wait for webkitgtk4 support + # gtk3 support is still not ready (follow what Fedora does) + gnome2_src_configure \ + --with-yelp-tools \ + --without-gtk3 \ + --without-webkit \ + $(use_with dbus) \ + $(use_enable gnome-keyring gkr) \ + $(use_with spell gtkspell) \ + $(use_enable libnotify) \ + $(use_with ssl gnutls) +} -- 2.43.2