1 |
* Enable Qt6 support |
2 |
* Add USE flags for sqlite and mysql |
3 |
* Disable built-in update check |
4 |
* Remove npm-related instructions (installing modules is now integrated |
5 |
into the program itself) |
6 |
|
7 |
Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in> |
8 |
--- |
9 |
net-news/rssguard/Manifest | 1 + |
10 |
net-news/rssguard/metadata.xml | 1 + |
11 |
net-news/rssguard/rssguard-4.2.5.ebuild | 64 +++++++++++++++++++++++++ |
12 |
3 files changed, 66 insertions(+) |
13 |
create mode 100644 net-news/rssguard/rssguard-4.2.5.ebuild |
14 |
|
15 |
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest |
16 |
index 48daae3c90..940d28d1e2 100644 |
17 |
--- a/net-news/rssguard/Manifest |
18 |
+++ b/net-news/rssguard/Manifest |
19 |
@@ -1,2 +1,3 @@ |
20 |
DIST rssguard-4.2.1.tar.gz 22541187 BLAKE2B 78cc23a39cd75697b53b4c3b043a63d01b8b4e9a9b1cc3fc3f070487dede8d18a33ca462f806b4bfb6847e015a2bacaa77ce27745a95349fb2c09c72cccde3d2 SHA512 05b69d47b3d679005122e03c404ea26d8779f3905ac05ac0565631135c26c56d21ef2f4b3939af6c191a20727a4416e9669ceb4a001e729ffe45fc351183f53a |
21 |
DIST rssguard-4.2.3.tar.gz 21940720 BLAKE2B fe97fb26261ec0ec06eac305c96317299921492f7796d246a6d4e7348b7dd8c6484cf52bec0bdd032a02a897a0406a73077e7366d601e1ef80b98ce2dac592ad SHA512 0ead2ae8d23d9fc6e7a6d42fd462e36be06a5a28e26398550dfa9cb2b7dd4574f2cb7a881a0d0b6d43bdb219db87cc92af9d5f131429e93f255f17f70dee244d |
22 |
+DIST rssguard-4.2.5.tar.gz 22004006 BLAKE2B dc8dea6956a0d538cec5759e94246fc6f5314e6a5fd1ff4315cbf626568d8c817a6a4c378ca9275156d55f88e304d7db8afb0be952c68efef5acb8c8ba0f0a24 SHA512 2fc2a08226d41567db4758aaddeb533e6a4e96923b4df663080dd83dee3bae587ea6a8d06eb26788173c34b11f92859547bacc26465cdfbf2a9297de910c5b98 |
23 |
diff --git a/net-news/rssguard/metadata.xml b/net-news/rssguard/metadata.xml |
24 |
index 0dc55340e7..4ab4bd9aba 100644 |
25 |
--- a/net-news/rssguard/metadata.xml |
26 |
+++ b/net-news/rssguard/metadata.xml |
27 |
@@ -1,21 +1,22 @@ |
28 |
<?xml version="1.0" encoding="UTF-8"?> |
29 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
30 |
<pkgmetadata> |
31 |
<!-- maintainer-needed --> |
32 |
<upstream> |
33 |
<maintainer> |
34 |
<name>Martin Rotter</name> |
35 |
<email>rotter.martinos@×××××.com</email> |
36 |
</maintainer> |
37 |
<remote-id type="github">martinrotter/rssguard</remote-id> |
38 |
<bugs-to>https://github.com/martinrotter/rssguard/issues</bugs-to> |
39 |
</upstream> |
40 |
<use> |
41 |
+ <flag name="qt6" restrict=">=net-news/rssguard-4.2.5">Build with Qt6 support instead of the default Qt5</flag> |
42 |
<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag> |
43 |
</use> |
44 |
<longdescription> |
45 |
RSS Guard is simple (yet powerful) feed reader. It is able to fetch the |
46 |
most known feed formats, including RSS/RDF and ATOM. RSS Guard is |
47 |
developed on top of the Qt library. |
48 |
</longdescription> |
49 |
</pkgmetadata> |
50 |
diff --git a/net-news/rssguard/rssguard-4.2.5.ebuild b/net-news/rssguard/rssguard-4.2.5.ebuild |
51 |
new file mode 100644 |
52 |
index 0000000000..2b3b95f56a |
53 |
--- /dev/null |
54 |
+++ b/net-news/rssguard/rssguard-4.2.5.ebuild |
55 |
@@ -0,0 +1,64 @@ |
56 |
+# Copyright 1999-2022 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=8 |
60 |
+ |
61 |
+inherit cmake optfeature xdg |
62 |
+ |
63 |
+DESCRIPTION="Simple (yet powerful) feed reader" |
64 |
+HOMEPAGE="https://github.com/martinrotter/rssguard" |
65 |
+SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
66 |
+ |
67 |
+LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" |
68 |
+SLOT="0" |
69 |
+KEYWORDS="~amd64" |
70 |
+IUSE="mysql qt6 +sqlite webengine" |
71 |
+REQUIRED_USE="|| ( mysql sqlite )" |
72 |
+ |
73 |
+BDEPEND=" |
74 |
+ !qt6? ( dev-qt/linguist-tools:5 ) |
75 |
+ qt6? ( dev-qt/qttools:6[linguist] ) |
76 |
+" |
77 |
+DEPEND=" |
78 |
+ !qt6? ( |
79 |
+ dev-qt/qtcore:5 |
80 |
+ dev-qt/qtdbus:5 |
81 |
+ dev-qt/qtdeclarative:5 |
82 |
+ dev-qt/qtgui:5 |
83 |
+ dev-qt/qtmultimedia:5[gstreamer] |
84 |
+ dev-qt/qtnetwork:5[ssl] |
85 |
+ dev-qt/qtsql:5[mysql?,sqlite?] |
86 |
+ dev-qt/qtwidgets:5 |
87 |
+ dev-qt/qtxml:5 |
88 |
+ webengine? ( dev-qt/qtwebengine:5[widgets(+)] ) |
89 |
+ ) |
90 |
+ qt6? ( |
91 |
+ dev-qt/qtbase:6[dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets] |
92 |
+ dev-qt/qtdeclarative:6 |
93 |
+ dev-qt/qtmultimedia:6[gstreamer] |
94 |
+ dev-qt/qt5compat:6 |
95 |
+ media-libs/libglvnd |
96 |
+ webengine? ( dev-qt/qtwebengine:6[widgets(+)] ) |
97 |
+ ) |
98 |
+" |
99 |
+RDEPEND="${DEPEND}" |
100 |
+ |
101 |
+DOCS=( README.md resources/docs/Documentation.md ) |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local mycmakeargs=( |
105 |
+ -DBUILD_WITH_QT6=$(usex qt6) |
106 |
+ -DUSE_WEBENGINE=$(usex webengine) |
107 |
+ -DNO_UPDATE_CHECK=ON |
108 |
+ ) |
109 |
+ |
110 |
+ cmake_src_configure |
111 |
+} |
112 |
+ |
113 |
+pkg_postinst() { |
114 |
+ xdg_pkg_postinst |
115 |
+ |
116 |
+ if use webengine; then |
117 |
+ optfeature "ad blocking functionality" net-libs/nodejs[npm] |
118 |
+ fi |
119 |
+} |
120 |
-- |
121 |
2.35.1 |