1 |
Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in> |
2 |
--- |
3 |
net-news/rssguard/Manifest | 2 +- |
4 |
net-news/rssguard/rssguard-3.9.2.ebuild | 50 ------------------ |
5 |
net-news/rssguard/rssguard-4.1.1.ebuild | 67 +++++++++++++++++++++++++ |
6 |
3 files changed, 68 insertions(+), 51 deletions(-) |
7 |
delete mode 100644 net-news/rssguard/rssguard-3.9.2.ebuild |
8 |
create mode 100644 net-news/rssguard/rssguard-4.1.1.ebuild |
9 |
|
10 |
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest |
11 |
index e45d6f14dd1..528a65b97de 100644 |
12 |
--- a/net-news/rssguard/Manifest |
13 |
+++ b/net-news/rssguard/Manifest |
14 |
@@ -1,2 +1,2 @@ |
15 |
-DIST rssguard-3.9.2.tar.gz 13607587 BLAKE2B 45b3dd406e64bb13a19580255971b0d5eb1fd90d70d8559c736366af7792e7fc0627ee254dce79936ce6a179399271958b7795279a359306e345ec086081fc37 SHA512 30d2524f4ca42d903a047fe39de925268a1aac65192a8b1089b6ec0ec0a9dfef09c535fe391f750149063c06e3275b2632cc2ea2c24ded178760070abcea4958 |
16 |
DIST rssguard-4.0.4.tar.gz 14433147 BLAKE2B 6453d16cb440117c335d6773e675399ae4bee2d9226a2e920ffd1e10cc2d5025fc4c302357974352fad41f637aa33c3b66af2444d969f5e934d7432a16b7cb24 SHA512 8c69ec372a54e7e1ad4ff15476d2387fc84cd9d29c5031f9e5c18dcdf833781c54417101f252d23868eedc91262a9ac6446eb09104f5707b08fa92342d565481 |
17 |
+DIST rssguard-4.1.1.tar.gz 21717154 BLAKE2B 0fca50aad47db6d63633422f7919382e407fb94e8717bd2c773e485bf87ba766b30e3b9d89074fe06229bff147b04f318296ecb125b36945056d10ba73ad8509 SHA512 85d92e3a3653d6eee5db26e61f496daacb80ab1ff600e5f6d897949ef3dd74e7772932c5fe6da241266fcf53d8dc86207064706837f09ed370c7143f6ab9b616 |
18 |
diff --git a/net-news/rssguard/rssguard-3.9.2.ebuild b/net-news/rssguard/rssguard-3.9.2.ebuild |
19 |
deleted file mode 100644 |
20 |
index 36a00b4c4bb..00000000000 |
21 |
--- a/net-news/rssguard/rssguard-3.9.2.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,50 +0,0 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-inherit flag-o-matic qmake-utils xdg |
30 |
- |
31 |
-DESCRIPTION="Tiny RSS and Atom 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" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64" |
38 |
-IUSE="debug webengine" |
39 |
- |
40 |
-BDEPEND="dev-qt/linguist-tools:5" |
41 |
-DEPEND=" |
42 |
- dev-qt/qtconcurrent:5 |
43 |
- dev-qt/qtcore:5 |
44 |
- dev-qt/qtgui:5 |
45 |
- dev-qt/qtnetwork:5[ssl] |
46 |
- dev-qt/qtsql:5 |
47 |
- dev-qt/qtwidgets:5 |
48 |
- dev-qt/qtxml:5 |
49 |
- dev-qt/qtdeclarative:5 |
50 |
- webengine? ( dev-qt/qtwebengine:5[widgets] ) |
51 |
-" |
52 |
-RDEPEND="${DEPEND}" |
53 |
- |
54 |
-src_prepare() { |
55 |
- default |
56 |
- |
57 |
- sed -e 's:lib.path = $$quote($$PREFIX/lib/):lib.path = $$quote($$PREFIX/'$(get_libdir)'/):' \ |
58 |
- -i pri/install.pri || die |
59 |
-} |
60 |
- |
61 |
-src_configure() { |
62 |
- # CONFIG+=ltcg is needed because of https://github.com/martinrotter/rssguard/issues/156 |
63 |
- eqmake5 \ |
64 |
- CONFIG+=$(usex debug debug release) \ |
65 |
- $(is-flagq -flto* && echo "CONFIG+=ltcg") \ |
66 |
- USE_WEBENGINE=$(usex webengine true false) \ |
67 |
- PREFIX="${EPREFIX}"/usr \ |
68 |
- INSTALL_ROOT=. |
69 |
-} |
70 |
- |
71 |
-src_install() { |
72 |
- emake -j1 install INSTALL_ROOT="${D}" |
73 |
-} |
74 |
diff --git a/net-news/rssguard/rssguard-4.1.1.ebuild b/net-news/rssguard/rssguard-4.1.1.ebuild |
75 |
new file mode 100644 |
76 |
index 00000000000..9dcccc8acdb |
77 |
--- /dev/null |
78 |
+++ b/net-news/rssguard/rssguard-4.1.1.ebuild |
79 |
@@ -0,0 +1,67 @@ |
80 |
+# Copyright 1999-2022 Gentoo Authors |
81 |
+# Distributed under the terms of the GNU General Public License v2 |
82 |
+ |
83 |
+EAPI=8 |
84 |
+ |
85 |
+QTMIN="5.9.0" |
86 |
+inherit flag-o-matic optfeature qmake-utils xdg |
87 |
+ |
88 |
+DESCRIPTION="Simple (yet powerful) feed reader" |
89 |
+HOMEPAGE="https://github.com/martinrotter/rssguard" |
90 |
+SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
91 |
+ |
92 |
+LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" |
93 |
+SLOT="0" |
94 |
+KEYWORDS="~amd64" |
95 |
+IUSE="debug webengine" |
96 |
+ |
97 |
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5" |
98 |
+DEPEND=" |
99 |
+ >=dev-qt/qtcore-${QTMIN}:5 |
100 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
101 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
102 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
103 |
+ >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer] |
104 |
+ >=dev-qt/qtnetwork-${QTMIN}:5[ssl] |
105 |
+ >=dev-qt/qtsql-${QTMIN}:5 |
106 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
107 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
108 |
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets(+)] ) |
109 |
+" |
110 |
+RDEPEND="${DEPEND}" |
111 |
+ |
112 |
+DOCS=( README.md resources/docs/Documentation.md ) |
113 |
+ |
114 |
+src_prepare() { |
115 |
+ default |
116 |
+ sed -e 's:$$PREFIX/lib:$$PREFIX/'$(get_libdir)':' -i pri/install.pri || die |
117 |
+} |
118 |
+ |
119 |
+src_configure() { |
120 |
+ eqmake5_args=( |
121 |
+ CONFIG+=$(usex debug debug release) |
122 |
+ USE_WEBENGINE=$(usex webengine true false) |
123 |
+ PREFIX="${EPREFIX}"/usr |
124 |
+ INSTALL_ROOT=. |
125 |
+ ) |
126 |
+ |
127 |
+ # https://github.com/martinrotter/rssguard/issues/156 |
128 |
+ is-flagq "-flto*" && eqmake5_args+=( CONFIG+=ltcg ) |
129 |
+ |
130 |
+ eqmake5 "${eqmake5_args[@]}" |
131 |
+} |
132 |
+ |
133 |
+src_install() { |
134 |
+ emake -j1 install INSTALL_ROOT="${D}" |
135 |
+ einstalldocs |
136 |
+} |
137 |
+ |
138 |
+pkg_postinst() { |
139 |
+ xdg_pkg_postinst |
140 |
+ |
141 |
+ if use webengine; then |
142 |
+ optfeature "ad blocking functionality" net-libs/nodejs[npm] |
143 |
+ elog "Adblocker module requires additional npm modules to be installed:" |
144 |
+ elog "npm i -g @cliqz/adblocker tldts-experimental" |
145 |
+ fi |
146 |
+} |
147 |
-- |
148 |
2.34.1 |