From a9c8cee5ca83c876fe9f6bb8cb39f7894f53940a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 21 Aug 2026 06:20:41 +0200 Subject: [PATCH] net-news/rssguard: Bump to 5.2.5 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.5.ebuild | 85 +++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 net-news/rssguard/rssguard-5.2.5.ebuild diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index d05959588165c..612537942d00d 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1,2 +1,3 @@ DIST rssguard-5.2.3-src.tar.gz 98694720 BLAKE2B fdd42de8c84281ed137a749cd9ded0f3cd924b7e989b560637dc5cc49279bd69973a094990bc1b97db2da77a1e177846d34080d31145abbc1ef535a828506519 SHA512 659bc88cde6f12b38f07a35823e6c56adab08a6e9d97e7fd3021f8fe17c56a9afea19e9d30edbdd20654cc87360153124371a23d2e1126df4672be2c278a95f6 DIST rssguard-5.2.4-src.tar.gz 98809591 BLAKE2B 37995aafdaf67c6ecc027d3abef2d0f6873d64d114123c1388798401a37e9ffad493f4e859e2eb7e2063431920b4b4f14493357d0ad1ffd1bef6c4723f30a851 SHA512 acd3f43dbf344243dd4d319af3d115a25f19d14171a59438037336e09f5284049f65e07bb0abb91c83d0ba76bd2542a81049df82061cb0099c6e9f7e253be0a7 +DIST rssguard-5.2.5-src.tar.gz 98814450 BLAKE2B 6dca27db22d91088b975ae37950b5ab21c98272010e161cdf9ecf442d245ffe29a2803552a9e6768ded328984b14f148104a6aebfef36a074dcb39bccafc8fcb SHA512 1afeef4517114d33c441c4809fbafa91e3b483837638ef5465a39ff3a276937ab812fef3579cbdfbc9fd12d7653b25c943db278e0153a7e7f113ee629040e3e1 diff --git a/net-news/rssguard/rssguard-5.2.5.ebuild b/net-news/rssguard/rssguard-5.2.5.ebuild new file mode 100644 index 0000000000000..bcbaf94e84383 --- /dev/null +++ b/net-news/rssguard/rssguard-5.2.5.ebuild @@ -0,0 +1,85 @@ +# 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/104" +KEYWORDS="~amd64" +IUSE="icu libmpv mysql qtmultimedia +sqlite test webengine xmpp" +REQUIRED_USE=" + || ( mysql sqlite ) + ?? ( libmpv qtmultimedia ) +" +RESTRICT="!test? ( test )" + +# 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) + -DENABLE_TESTING=$(usex test) + -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 +}