mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
net-news/rssguard: Bump to 5.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST rssguard-5.0.4-src.tar.gz 93187733 BLAKE2B 37363de21f45711bf87e8cdc77cbc36118339d2d7ce20e4ac4d7c3d23c4fcf6ca12d588a366206b4e50d5f0427dd8e605e0270ff2dc8aa92f93700c4db2c112f SHA512 812327d446ae81361e401fa7f89ab61524b64dac61f1f9bf72c047528a456a56d43df72ffbc6b3f106f0a19543736bd0745ee58f4cfae3dc8500257966327c96
|
||||
DIST rssguard-5.1.0-src.tar.gz 95732013 BLAKE2B ad4e15a4a0e14ad37d9ed10b95d830ed670f5820d5e4ed3b5aa41b12a2b1ca17e6da76826fd44230320607ee63aaf8267e8f3b96d1c0ca8b16e7db41faca4e6f SHA512 104e7d5648562a96a71e563f80987c4cc80561a0989fa0895df5e1de55d2c2cff71a7935da2c15c2c03ced326bc2609c6d9a0d530600c85bd2f6cb7d0d2f2527
|
||||
DIST rssguard-5.1.1-src.tar.gz 95706512 BLAKE2B afcd049970f853c446f85210f7b4edce773cc27d382bbcbb6f2d6af9fff32dc36310da01f3910eb19cad7d318ae1ec9083ea2e8b164f1a6234d0225de2b82b9c SHA512 c14d3438bc161bbef381a0f0f58ce1f7da838c18af3b289533c07f2d41c621a7b1f5ce9b95c95e921d20c80b0a7402caa15be770ca8d0cf93bc49b0726080074
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
# 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/101"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="icu libmpv mysql qtmultimedia +sqlite webengine"
|
||||
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 support pending qxmpp bump: https://bugs.gentoo.org/973427
|
||||
# xmpp? ( net-libs/qxmpp:= )
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# go
|
||||
QA_FLAGS_IGNORED="/usr/bin/rssguard-article-extractor"
|
||||
|
||||
pkg_pretend() {
|
||||
if ver_replacing -lt 5.1.0; then
|
||||
ewarn "RSSGuard 5.1.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
|
||||
}
|
||||
Reference in New Issue
Block a user