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