Gentoo Archives: gentoo-proxy-maint

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-proxy-maint@l.g.o
Subject: [gentoo-proxy-maint] [PATCH 1/2] net-news/rssguard: add 4.0.4, drop 4.0.3
Date: Sun, 17 Oct 2021 12:16:44
Message-Id: 20211017121441.2711-1-cyber+gentoo@sysrq.in
1 Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in>
2 ---
3 net-news/rssguard/Manifest | 2 +-
4 .../{rssguard-4.0.3.ebuild => rssguard-4.0.4.ebuild} | 11 +----------
5 2 files changed, 2 insertions(+), 11 deletions(-)
6 rename net-news/rssguard/{rssguard-4.0.3.ebuild => rssguard-4.0.4.ebuild} (74%)
7
8 diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest
9 index e176bc34ad1..e45d6f14dd1 100644
10 --- a/net-news/rssguard/Manifest
11 +++ b/net-news/rssguard/Manifest
12 @@ -1,2 +1,2 @@
13 DIST rssguard-3.9.2.tar.gz 13607587 BLAKE2B 45b3dd406e64bb13a19580255971b0d5eb1fd90d70d8559c736366af7792e7fc0627ee254dce79936ce6a179399271958b7795279a359306e345ec086081fc37 SHA512 30d2524f4ca42d903a047fe39de925268a1aac65192a8b1089b6ec0ec0a9dfef09c535fe391f750149063c06e3275b2632cc2ea2c24ded178760070abcea4958
14 -DIST rssguard-4.0.3.tar.gz 14427592 BLAKE2B d01969e10eddd837d9e6541e573e6a5bd353eed8cc78508591340ffc354de877b392b79c80f4df725d06be84363412615fa941cc0895fddfd6c9b2e9751bdda9 SHA512 831b99d0b320338bf497ad1ca67120c5b2ee806c61fc1b82b08debc1904222757c3bf3aa068ea7e37bee93be061d444204e6982d2fb0ece2f26f8b4004f7132e
15 +DIST rssguard-4.0.4.tar.gz 14433147 BLAKE2B 6453d16cb440117c335d6773e675399ae4bee2d9226a2e920ffd1e10cc2d5025fc4c302357974352fad41f637aa33c3b66af2444d969f5e934d7432a16b7cb24 SHA512 8c69ec372a54e7e1ad4ff15476d2387fc84cd9d29c5031f9e5c18dcdf833781c54417101f252d23868eedc91262a9ac6446eb09104f5707b08fa92342d565481
16 diff --git a/net-news/rssguard/rssguard-4.0.3.ebuild b/net-news/rssguard/rssguard-4.0.4.ebuild
17 similarity index 74%
18 rename from net-news/rssguard/rssguard-4.0.3.ebuild
19 rename to net-news/rssguard/rssguard-4.0.4.ebuild
20 index 8f40201072b..9fbe9cc1ee9 100644
21 --- a/net-news/rssguard/rssguard-4.0.3.ebuild
22 +++ b/net-news/rssguard/rssguard-4.0.4.ebuild
23 @@ -1,75 +1,66 @@
24 # Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=8
28
29 inherit flag-o-matic optfeature qmake-utils xdg
30
31 DESCRIPTION="Simple (yet powerful) feed reader"
32 HOMEPAGE="https://github.com/martinrotter/rssguard"
33 SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
34
35 -LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT MPL-2.0"
36 +LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT"
37 SLOT="0"
38 KEYWORDS="~amd64"
39 IUSE="debug webengine"
40
41 BDEPEND="dev-qt/linguist-tools:5"
42 DEPEND="
43 dev-qt/qtcore:5
44 dev-qt/qtdbus:5
45 dev-qt/qtdeclarative:5
46 dev-qt/qtgui:5
47 dev-qt/qtmultimedia:5
48 dev-qt/qtnetwork:5[ssl]
49 dev-qt/qtsql:5
50 dev-qt/qtwidgets:5
51 dev-qt/qtxml:5
52 webengine? ( dev-qt/qtwebengine:5[widgets(+)] )
53 "
54 RDEPEND="${DEPEND}"
55
56 DOCS=( README.md resources/docs/Documentation.md )
57
58 -pkg_pretend() {
59 - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.0; then
60 - ewarn "RSS Guard 4.x is NOT backwards compatible with 3.x line."
61 - ewarn "You have to either export your feeds in OPML format or"
62 - ewarn "manually update your database.db file to 4.x.x format:"
63 - ewarn "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#migrating-user-data-from-392-to-4xx"
64 - fi
65 -}
66 -
67 src_prepare() {
68 default
69 sed -e 's:$$PREFIX/lib:$$PREFIX/'$(get_libdir)':' -i pri/install.pri || die
70 }
71
72 src_configure() {
73 eqmake5_args=(
74 CONFIG+=$(usex debug debug release)
75 USE_WEBENGINE=$(usex webengine true false)
76 PREFIX="${EPREFIX}"/usr
77 INSTALL_ROOT=.
78 )
79
80 # https://github.com/martinrotter/rssguard/issues/156
81 is-flagq "-flto*" && eqmake5_args+=( CONFIG+=ltcg )
82
83 eqmake5 "${eqmake5_args[@]}"
84 }
85
86 src_install() {
87 emake -j1 install INSTALL_ROOT="${D}"
88 einstalldocs
89 }
90
91 pkg_postinst() {
92 xdg_pkg_postinst
93
94 if use webengine; then
95 optfeature "ad blocking functionality" net-libs/nodejs[npm]
96 elog "Adblocker module requires additional npm modules to be installed:"
97 elog "npm i -g @cliqz/adblocker tldts-experimental"
98 fi
99 }
100 --
101 2.33.0

Replies

Subject Author
[gentoo-proxy-maint] [PATCH 2/2] profiles: unmask >=rssguard-4.0, add news item Anna Vyalkova <cyber+gentoo@×××××.in>