summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 18:31:06 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:34:14 +0100
commit0d95fb1065f276ef0d832db567d6e84a0f7425dd (patch)
tree87f3c76a979de45a6229e226e52b7e5aa33782f3 /net-news/liferea/liferea-1.12.7-r1.ebuild
parentnet-misc/seafile: Switch to PYTHON_SINGLE_USEDEP (diff)
downloadgentoo-0d95fb1065f276ef0d832db567d6e84a0f7425dd.tar.gz
gentoo-0d95fb1065f276ef0d832db567d6e84a0f7425dd.tar.bz2
gentoo-0d95fb1065f276ef0d832db567d6e84a0f7425dd.zip
net-news/liferea: Switch to PYTHON_SINGLE_USEDEP
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-news/liferea/liferea-1.12.7-r1.ebuild')
-rw-r--r--net-news/liferea/liferea-1.12.7-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-news/liferea/liferea-1.12.7-r1.ebuild b/net-news/liferea/liferea-1.12.7-r1.ebuild
new file mode 100644
index 000000000000..de2b2a0b25b3
--- /dev/null
+++ b/net-news/liferea/liferea-1.12.7-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit gnome2 python-single-r1
+
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
+HOMEPAGE="https://lzone.de/liferea/"
+SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ dev-libs/json-glib
+ dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}]
+ dev-libs/libxml2:2
+ dev-libs/libxslt
+ gnome-base/gsettings-desktop-schemas
+ net-libs/libsoup:2.4
+ net-libs/webkit-gtk:4
+ x11-libs/gtk+:3
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+src_compile() {
+ # Workaround crash in libwebkit2gtk-4.0.so
+ # https://bugs.gentoo.org/704594
+ WEBKIT_DISABLE_COMPOSITING_MODE=1 \
+ gnome2_src_compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ elog "Additional features can be enabled via"
+ elog "\tapp-crypt/libsecret[introspection] for Libsecret Support plugin"
+ elog "\tdev-python/pycairo and x11-libs/gdk-pixbuf[introspection] for Tray Icon (GNOME Classic) plugin"
+ elog "\tmedia-libs/gstreamer[introspection] for Media Player plugin"
+ elog "\tnet-misc/networkmanager for monitoring network status"
+ elog "\tx11-libs/libnotify[introspection] for Popup Notifications plugin"
+}