commit: 82de1d32141e29fb6bc954cc158f24180d642677 Author: Yuri Konotopov <ykonotopov <AT> gnome <DOT> org> AuthorDate: Mon Mar 17 19:39:27 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 25 08:21:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82de1d32
net-news/liferea: add 1.16_rc3 Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org> Part-of: https://github.com/gentoo/gentoo/pull/40506 Signed-off-by: Sam James <sam <AT> gentoo.org> net-news/liferea/Manifest | 1 + .../liferea/files/liferea-1.16_rc3-build.patch | 22 ++++++ net-news/liferea/liferea-1.16_rc3.ebuild | 79 ++++++++++++++++++++++ 3 files changed, 102 insertions(+) diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest index 9f8de83f00a2..9c1408adf63d 100644 --- a/net-news/liferea/Manifest +++ b/net-news/liferea/Manifest @@ -1,2 +1,3 @@ DIST liferea-1.15.5.tar.gz 1878299 BLAKE2B e74c67fa1b124dabdd3abec2ecb7d42e9d3f36bdb14c5edc2f645aa9f163c71822f43e0eb44761c4be8e14e39c7cf74218e825a87a20c208601a8dcbf7629ab8 SHA512 7d3ec5dd46ccecc3879adba1daf180b05e043f256694146dad466fd8f0a7c840a4dff39d5facbbd304cbb287578c7a258cf83191dfd726077ac332b1d167db17 DIST liferea-1.15.8.tar.gz 1829024 BLAKE2B 0a24cef596f8278034b53f909d84edfd994b38165c6ea30b3aa973157e6bb2725b026748b1f17f630597906d61de7fde1db4160c3b343c50d342f68b9fcbcd11 SHA512 19433433849d729f4314dc603cbd7bb824694bfb7f042a97bb2bec38627e56e1b8cbcbef0573f473bfef620a165de28ad16788cdec1f31462eb939b6d7794272 +DIST liferea-1.16_rc3.tar.gz 1811852 BLAKE2B b3379054ef9b9cbbc92019d675bd2e15a803e55cee4082f2a56bdaab5acc998d3e31340852df919ea4d4ab361065259dab409926d62ada035b71584931946919 SHA512 8da922b2cf583123277b7e1da70ab20c5c10395226754b9ca89e3575a4047f76ab88a5204d10f017f8ffe955457b05627ef02c6484f2f0dabb2edc9548639aeb diff --git a/net-news/liferea/files/liferea-1.16_rc3-build.patch b/net-news/liferea/files/liferea-1.16_rc3-build.patch new file mode 100644 index 000000000000..cfb5924031fb --- /dev/null +++ b/net-news/liferea/files/liferea-1.16_rc3-build.patch @@ -0,0 +1,22 @@ +From 5764bcc2f9919c2493a0eea917f6821235ec3166 Mon Sep 17 00:00:00 2001 +From: Lars Windolf <[email protected]> +Date: Wed, 16 Apr 2025 22:36:58 +0200 +Subject: [PATCH] Fix compile error + +--- + src/ui/liferea_shell.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ui/liferea_shell.c b/src/ui/liferea_shell.c +index ba6813f11..bf91c50a6 100644 +--- a/src/ui/liferea_shell.c ++++ b/src/ui/liferea_shell.c +@@ -1027,7 +1027,7 @@ static const GActionEntry liferea_shell_gaction_entries[] = { + {"zoom-in", on_action_zoomin_activate, NULL, NULL, NULL}, + {"zoom-out", on_action_zoomout_activate, NULL, NULL, NULL}, + {"zoom-reset", on_action_zoomreset_activate, NULL, NULL, NULL}, +- {"discover-feeds", on_action_discover_feeds, NULL, NULL, NULL, NULL}, ++ {"discover-feeds", on_action_discover_feeds, NULL, NULL, NULL}, + {"show-update-monitor", on_menu_show_update_monitor, NULL, NULL, NULL}, + {"show-preferences", on_prefbtn_clicked, NULL, NULL, NULL}, + {"manage-plugins", on_manage_plugins_clicked, NULL, NULL, NULL}, diff --git a/net-news/liferea/liferea-1.16_rc3.ebuild b/net-news/liferea/liferea-1.16_rc3.ebuild new file mode 100644 index 000000000000..2a7b51507cde --- /dev/null +++ b/net-news/liferea/liferea-1.16_rc3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +MY_PV="${PV/_/-}" +MY_PV="${MY_PV^^}" +MY_P="${PN}-${MY_PV}" + +inherit autotools gnome2-utils optfeature python-single-r1 xdg + +DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds" +HOMEPAGE="https://lzone.de/liferea/" +SRC_URI="https://github.com/lwindolf/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2+" +SLOT="0" +if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-db/sqlite:3 + dev-libs/fribidi + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/json-glib + dev-libs/libpeas:2[python,${PYTHON_SINGLE_USEDEP}] + dev-libs/libxml2:2 + dev-libs/libxslt + gnome-base/gsettings-desktop-schemas + net-libs/libsoup:3.0 + net-libs/webkit-gtk:4.1= + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/pango" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}"-build.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_compile() { + # Workaround crash in libwebkit2gtk-4.0.so + # https://bugs.gentoo.org/704594 + WEBKIT_DISABLE_COMPOSITING_MODE=1 \ + default +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection] + optfeature "Tray Icon (AppIndicator and GNOME Classic) plugin" \ + "dev-libs/libayatana-appindicator dev-python/pycairo x11-libs/gdk-pixbuf[introspection]" + optfeature "Media Player plugin" media-libs/gstreamer[introspection] + optfeature "monitoring network status" net-misc/networkmanager + optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection] +}
