Gentoo Archives: gentoo-proxy-maint

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-proxy-maint@l.g.o
Subject: [gentoo-proxy-maint] [PATCH] net-news/rssguard: bump masked version to 4.0.3
Date: Fri, 24 Sep 2021 18:00:38
Message-Id: 20210924175950.13066-1-cyber+gentoo@sysrq.in
1 Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in>
2 ---
3 net-news/rssguard/Manifest | 2 +-
4 .../rssguard/{rssguard-4.0.1.ebuild => rssguard-4.0.3.ebuild} | 2 +-
5 2 files changed, 2 insertions(+), 2 deletions(-)
6 rename net-news/rssguard/{rssguard-4.0.1.ebuild => rssguard-4.0.3.ebuild} (96%)
7
8 diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest
9 index 4bc3f7cefbb..e176bc34ad1 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.1.tar.gz 14417555 BLAKE2B 14689444eefefe0827d22a6886cd422fcbbbace83125fd28599fd17e2762d63f5e5d8b1b472de46282e7471d84195fb56594f9669bcd1432f595f354268241ad SHA512 1c791a85cf3b43737c5232dd4c63855bf8d6ad324c799d1abbfc0aa9392b0af3bfef6221d31b6ded5b512bec9c8ad82b2fbcd10330c7768420432363517709eb
15 +DIST rssguard-4.0.3.tar.gz 14427592 BLAKE2B d01969e10eddd837d9e6541e573e6a5bd353eed8cc78508591340ffc354de877b392b79c80f4df725d06be84363412615fa941cc0895fddfd6c9b2e9751bdda9 SHA512 831b99d0b320338bf497ad1ca67120c5b2ee806c61fc1b82b08debc1904222757c3bf3aa068ea7e37bee93be061d444204e6982d2fb0ece2f26f8b4004f7132e
16 diff --git a/net-news/rssguard/rssguard-4.0.1.ebuild b/net-news/rssguard/rssguard-4.0.3.ebuild
17 similarity index 96%
18 rename from net-news/rssguard/rssguard-4.0.1.ebuild
19 rename to net-news/rssguard/rssguard-4.0.3.ebuild
20 index d78e8192001..8f40201072b 100644
21 --- a/net-news/rssguard/rssguard-4.0.1.ebuild
22 +++ b/net-news/rssguard/rssguard-4.0.3.ebuild
23 @@ -1,75 +1,75 @@
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 SLOT="0"
37 KEYWORDS="~amd64"
38 IUSE="debug webengine"
39
40 BDEPEND="dev-qt/linguist-tools:5"
41 DEPEND="
42 dev-qt/qtcore:5
43 dev-qt/qtdbus:5
44 dev-qt/qtdeclarative:5
45 dev-qt/qtgui:5
46 dev-qt/qtmultimedia:5
47 dev-qt/qtnetwork:5[ssl]
48 dev-qt/qtsql:5
49 dev-qt/qtwidgets:5
50 dev-qt/qtxml:5
51 webengine? ( dev-qt/qtwebengine:5[widgets(+)] )
52 "
53 RDEPEND="${DEPEND}"
54
55 DOCS=( README.md resources/docs/Documentation.md )
56
57 pkg_pretend() {
58 if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.0; then
59 ewarn "RSS Guard 4.x is NOT backwards compatible with 3.x line."
60 ewarn "You have to either export your feeds in OPML format or"
61 ewarn "manually update your database.db file to 4.x.x format:"
62 ewarn "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#migrating-user-data-from-392-to-4xx"
63 fi
64 }
65
66 src_prepare() {
67 default
68 sed -e 's:$$PREFIX/lib:$$PREFIX/'$(get_libdir)':' -i pri/install.pri || die
69 }
70
71 src_configure() {
72 eqmake5_args=(
73 CONFIG+=$(usex debug debug release)
74 USE_WEBENGINE=$(usex webengine true false)
75 PREFIX="${EPREFIX}"/usr
76 INSTALL_ROOT=.
77 )
78
79 # https://github.com/martinrotter/rssguard/issues/156
80 is-flagq "-flto*" && eqmake5_args+=( CONFIG+=ltcg )
81
82 eqmake5 "${eqmake5_args[@]}"
83 }
84
85 src_install() {
86 emake -j1 install INSTALL_ROOT="${D}"
87 einstalldocs
88 }
89
90 pkg_postinst() {
91 xdg_pkg_postinst
92
93 if use webengine; then
94 optfeature "ad blocking functionality" net-libs/nodejs[npm]
95 elog "Adblocker module requires additional npm modules to be installed:"
96 - elog "npm i -g @cliqz/adblocker concat-stream tldts-experimental node-fetch"
97 + elog "npm i -g @cliqz/adblocker tldts-experimental"
98 fi
99 }
100 --
101 2.33.0

Replies