# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 # 2020.1214 tried gtk3 for wayland, still horrible # release ebuild we are based on (for patching) Pnorm="${PN}-0.146" GNOME2_EAUTORECONF=yes inherit gnome2 git-r3 DESCRIPTION="A newsreader for GNOME" HOMEPAGE="http://pan.rebelbase.com/" SRC_URI= EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/pan.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="crypt dbus gnome-keyring libnotify spell ssl" RDEPEND=" >=dev-libs/glib-2.26:2 >=sys-libs/zlib-1.2.0 x11-libs/gtk+:3 gnome-keyring? ( >=gnome-base/libgnome-keyring-3.2 ) libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) dev-libs/gmime:3.0[crypt=] spell? ( >=app-text/enchant-1.6:0/0 app-text/gtkspell:3 ) ssl? ( >=net-libs/gnutls-3:0= ) " # dev-libs/gmime:2.6 # >=app-text/gtkspell-2.0.7:2 #spell DEPEND="${RDEPEND} >=sys-devel/gettext-0.19.7 virtual/pkgconfig " # app-text/yelp-tools src_unpack() { git-r3_src_unpack cp -t ${S}/pan/icons ${FILESDIR}/icon_layout_6.png || die } src_configure() { # Wait for webkitgtk4 support # gtk3 support is still not ready (follow what Fedora does) # gmime:3.0 support claimed to be experimental still in 0.145, waiting with it until it's not experimental anymore or we work towards removing :2.6 # JED 19.1013 --disable-nls to avoid gettext errors # JED 21.0805 try gtk3 for wayland # JED 21.0907 make it gmime:3.0, without crypto gnome2_src_configure \ --disable-nls \ --without-yelp-tools \ --with-gtk3 \ --with-gmime30 \ --without-webkit \ $(use_with crypt gmime-crypto) \ $(use_with dbus) \ $(use_enable gnome-keyring gkr) \ $(use_with spell gtkspell) \ $(use_enable libnotify) \ $(use_with ssl gnutls) }