net-news/rssguard: Bump to 5.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-24 07:44:38 +02:00
parent c3b9059d9c
commit 611683fe02
2 changed files with 84 additions and 0 deletions

View File

@@ -1 +1,2 @@
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

View File

@@ -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
}