Diff rssguard-4.8.6 with a rssguard-5.0.0

/usr/portage/net-news/rssguard/rssguard-5.0.0.ebuild 2026-03-03 11:46:18.670319072 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake optfeature xdg
6
inherit cmake xdg
7 7

  
8 8
DESCRIPTION="Simple (yet powerful) news feed reader"
9 9
HOMEPAGE="https://github.com/martinrotter/rssguard/"
10 10
SRC_URI="
11
	https://github.com/martinrotter/rssguard/archive/${PV}.tar.gz
12
		-> ${P}.gh.tar.gz
11
	https://github.com/martinrotter/rssguard/releases/download/${PV}/${P}-src.tar.gz
13 12
"
14 13

  
15 14
LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT"
16 15
SLOT="0"
17
KEYWORDS="amd64"
18
IUSE="libmpv mysql qtmultimedia +sqlite webengine"
16
KEYWORDS="~amd64"
17
IUSE="icu libmpv mysql qtmultimedia +sqlite"
19 18
REQUIRED_USE="
20 19
	|| ( mysql sqlite )
21 20
	?? ( libmpv qtmultimedia )
22 21
"
23 22

  
23
# go for article-extractor plugin
24 24
BDEPEND="
25
	dev-lang/go
25 26
	dev-qt/qttools:6[linguist]
26 27
"
27 28
DEPEND="
28 29
	dev-qt/qtbase:6[concurrent,dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets]
29 30
	dev-qt/qtdeclarative:6
30 31
	dev-qt/qtmultimedia:6[gstreamer]
31
	dev-qt/qt5compat:6
32 32
	media-libs/libglvnd
33 33
	virtual/zlib:=
34
	icu? ( dev-libs/icu:= )
34 35
	libmpv? (
35 36
		dev-qt/qtbase:6[opengl]
36 37
		media-video/mpv:=
......
39 40
		dev-qt/qtbase:6[opengl]
40 41
		dev-qt/qtmultimedia:6
41 42
	)
42
	webengine? ( dev-qt/qtwebengine:6[widgets(+)] )
43 43
"
44 44
RDEPEND="${DEPEND}"
45 45

  
46
PATCHES=(
47
	# https://github.com/martinrotter/rssguard/pull/2031
48
	"${FILESDIR}/${P}-build.patch"
49
)
50

  
51
# go
52
QA_FLAGS_IGNORED="/usr/bin/rssguard-article-extractor"
53

  
46 54
src_configure() {
47 55
	local mycmakeargs=(
48 56
		-DBUILD_WITH_QT6=ON
49
		-DNO_LITE=$(usex webengine)
50 57
		-DREVISION_FROM_GIT=OFF
51 58
		-DNO_UPDATE_CHECK=ON
52 59
		-DENABLE_COMPRESSED_SITEMAP=ON
60
		-DENABLE_ICU=$(usex icu)
53 61
		-DENABLE_MEDIAPLAYER_QTMULTIMEDIA=$(usex qtmultimedia)
54 62
		-DENABLE_MEDIAPLAYER_LIBMPV=$(usex libmpv)
55 63
		# recommended
56 64
		-DMEDIAPLAYER_FORCE_OPENGL=ON
65
		# TODO: unbundle gumbo? unfortunately upstream is inlining it
66
		# into their CMakeLists rather than using litehtml CMakeLists
67
		# that support external gumbo
57 68
	)
58 69

  
59 70
	cmake_src_configure
60 71
}
61

  
62
pkg_postinst() {
63
	xdg_pkg_postinst
64

  
65
	optfeature "ad blocking functionality" "net-libs/nodejs[npm]"
66
}
Thank you!