From bc64870e0efbd903eab2bd2586c995b7f48a0da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 1 Jul 2026 04:38:36 +0200 Subject: [PATCH] net-news/rssguard: Bump to 5.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- net-news/rssguard/Manifest | 1 + net-news/rssguard/rssguard-5.2.1.ebuild | 83 +++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 net-news/rssguard/rssguard-5.2.1.ebuild diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index 0a50f481b4253..b71217d11e2bf 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1,2 +1,3 @@ DIST rssguard-5.1.2-src.tar.gz 95296956 BLAKE2B fcb41f20c0c328d6e0431cf011ea25aa76b98d13244c7800c46427a1f191e6a2dea2e9cbbb1d239a39d1db0e2450634054662905a15fdc9bdbd4a6472729a140 SHA512 658b3919ed26746735c292fb428c389b3a4b8a7b3270433dcc465597a4dff3e978e8dbaa1771513bbd51883e6f1498bd2cb95831b128f3905a3228d2a2a07ef9 DIST rssguard-5.2.0-src.tar.gz 95207718 BLAKE2B 09ed83814c2492ca02dc41894362d6da4493bf7679826381d1a5147ec211fa4774a4da2fbe118d0f8daa3b3247414fd462df1e6b9af07792ae8a617bbb3c7dfb SHA512 74a8f75464ef93e5992a56b989ee40c2f6195fe6664659fad94359176f6976f3e2cc79f3d8e06da9e8fac5786ec1dae2de3f9c6a170d8c64051411231f49aeb2 +DIST rssguard-5.2.1-src.tar.gz 95309296 BLAKE2B 0438d2ebeae8b3592630a139a35bf83c79008c4820fb53aa88823eb7012d3bf55dfff43ab1b76d8a38eda18af43c41ecb85504720778d57db0b5178f72042056 SHA512 a630923856e41fc51fa0e46c9aab056586920a97e66fb5ea01beada87f62e7bb8077332416e40387f253838376fc3759e17e1fa2379b8456cfdbad4847c1ea4f diff --git a/net-news/rssguard/rssguard-5.2.1.ebuild b/net-news/rssguard/rssguard-5.2.1.ebuild new file mode 100644 index 0000000000000..e627578662c79 --- /dev/null +++ b/net-news/rssguard/rssguard-5.2.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake eapi9-ver xdg + +DESCRIPTION="Simple (yet powerful) news feed reader" +HOMEPAGE="https://github.com/martinrotter/rssguard/" +SRC_URI=" + https://github.com/martinrotter/rssguard/releases/download/${PV}/${P}-src.tar.gz +" + +LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" +SLOT="0/103" +KEYWORDS="~amd64" +IUSE="icu libmpv mysql qtmultimedia +sqlite webengine xmpp" +REQUIRED_USE=" + || ( mysql sqlite ) + ?? ( libmpv qtmultimedia ) +" + +# go for article-extractor plugin +BDEPEND=" + dev-lang/go + dev-qt/qttools:6[linguist] +" +DEPEND=" + dev-qt/qtbase:6[concurrent,dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets] + dev-qt/qtdeclarative:6 + dev-qt/qtmultimedia:6[gstreamer] + media-libs/libglvnd + virtual/zlib:= + icu? ( dev-libs/icu:= ) + libmpv? ( + dev-qt/qtbase:6[opengl] + media-video/mpv:= + ) + qtmultimedia? ( + dev-qt/qtbase:6[opengl] + dev-qt/qtmultimedia:6 + ) + webengine? ( dev-qt/qtwebengine:6 ) + xmpp? ( >=net-libs/qxmpp-1.15.1:= ) +" +RDEPEND="${DEPEND}" + +# go +QA_FLAGS_IGNORED="/usr/bin/rssguard-article-extractor" + +pkg_pretend() { + if ver_replacing -lt 5.2.0; then + ewarn "RSSGuard 5.2.0 changed its database schema. Once you start the new" + ewarn "version, the database will be upgraded in place and it will" + ewarn "no longer be possible to run an older version of RSSGuard with it." + fi +} + +src_configure() { + grep -q "^#define APP_DB_SCHEMA_VERSION\s*\"${SLOT#0/}\"$" \ + src/librssguard/definitions/definitions.h || + die "APP_DB_SCHEMA_VERSION changed, update SLOT" + + local mycmakeargs=( + -DBUILD_WITH_QT6=ON + -DREVISION_FROM_GIT=OFF + -DNO_UPDATE_CHECK=ON + -DENABLE_COMPRESSED_SITEMAP=ON + -DENABLE_ICU=$(usex icu) + -DENABLE_MEDIAPLAYER_QTMULTIMEDIA=$(usex qtmultimedia) + -DENABLE_MEDIAPLAYER_LIBMPV=$(usex libmpv) + -DUSE_SYSTEM_QXMPP=ON + -DBUILD_XMPP_PLUGIN=$(usex xmpp) + -DWEB_ARTICLE_VIEWER_WEBENGINE=$(usex webengine) + # recommended + -DMEDIAPLAYER_FORCE_OPENGL=ON + # TODO: unbundle gumbo? unfortunately upstream is inlining it + # into their CMakeLists rather than using litehtml CMakeLists + # that support external gumbo + ) + + cmake_src_configure +}