diff options
author | Anna Vyalkova <cyber+gentoo@sysrq.in> | 2022-10-02 13:00:41 +0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-03 14:34:07 -0400 |
commit | cf47132bb67b0c9b7f77d3922e4153254fea1945 (patch) | |
tree | f716a5653216a345c144e78abaacd35aae8f3ae9 /net-news/rssguard | |
parent | sci-libs/armadillo: add 11.4.0 (diff) | |
download | gentoo-cf47132bb67b0c9b7f77d3922e4153254fea1945.tar.gz gentoo-cf47132bb67b0c9b7f77d3922e4153254fea1945.tar.bz2 gentoo-cf47132bb67b0c9b7f77d3922e4153254fea1945.zip |
net-news/rssguard: add 4.2.5
* Enable Qt6 support
* Add USE flags for sqlite and mysql
* Disable built-in update check
* Remove npm-related instructions (installing modules is now integrated
into the program itself)
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-news/rssguard')
-rw-r--r-- | net-news/rssguard/Manifest | 1 | ||||
-rw-r--r-- | net-news/rssguard/metadata.xml | 1 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-4.2.5.ebuild | 64 |
3 files changed, 66 insertions, 0 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index 48daae3c9058..940d28d1e2f6 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1,2 +1,3 @@ DIST rssguard-4.2.1.tar.gz 22541187 BLAKE2B 78cc23a39cd75697b53b4c3b043a63d01b8b4e9a9b1cc3fc3f070487dede8d18a33ca462f806b4bfb6847e015a2bacaa77ce27745a95349fb2c09c72cccde3d2 SHA512 05b69d47b3d679005122e03c404ea26d8779f3905ac05ac0565631135c26c56d21ef2f4b3939af6c191a20727a4416e9669ceb4a001e729ffe45fc351183f53a DIST rssguard-4.2.3.tar.gz 21940720 BLAKE2B fe97fb26261ec0ec06eac305c96317299921492f7796d246a6d4e7348b7dd8c6484cf52bec0bdd032a02a897a0406a73077e7366d601e1ef80b98ce2dac592ad SHA512 0ead2ae8d23d9fc6e7a6d42fd462e36be06a5a28e26398550dfa9cb2b7dd4574f2cb7a881a0d0b6d43bdb219db87cc92af9d5f131429e93f255f17f70dee244d +DIST rssguard-4.2.5.tar.gz 22004006 BLAKE2B dc8dea6956a0d538cec5759e94246fc6f5314e6a5fd1ff4315cbf626568d8c817a6a4c378ca9275156d55f88e304d7db8afb0be952c68efef5acb8c8ba0f0a24 SHA512 2fc2a08226d41567db4758aaddeb533e6a4e96923b4df663080dd83dee3bae587ea6a8d06eb26788173c34b11f92859547bacc26465cdfbf2a9297de910c5b98 diff --git a/net-news/rssguard/metadata.xml b/net-news/rssguard/metadata.xml index 0dc55340e720..4ab4bd9aba64 100644 --- a/net-news/rssguard/metadata.xml +++ b/net-news/rssguard/metadata.xml @@ -11,6 +11,7 @@ <bugs-to>https://github.com/martinrotter/rssguard/issues</bugs-to> </upstream> <use> + <flag name="qt6" restrict=">=net-news/rssguard-4.2.5">Build with Qt6 support instead of the default Qt5</flag> <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag> </use> <longdescription> diff --git a/net-news/rssguard/rssguard-4.2.5.ebuild b/net-news/rssguard/rssguard-4.2.5.ebuild new file mode 100644 index 000000000000..2b3b95f56a64 --- /dev/null +++ b/net-news/rssguard/rssguard-4.2.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature xdg + +DESCRIPTION="Simple (yet powerful) feed reader" +HOMEPAGE="https://github.com/martinrotter/rssguard" +SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="mysql qt6 +sqlite webengine" +REQUIRED_USE="|| ( mysql sqlite )" + +BDEPEND=" + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" +DEPEND=" + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[gstreamer] + dev-qt/qtnetwork:5[ssl] + dev-qt/qtsql:5[mysql?,sqlite?] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + webengine? ( dev-qt/qtwebengine:5[widgets(+)] ) + ) + qt6? ( + dev-qt/qtbase:6[dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets] + dev-qt/qtdeclarative:6 + dev-qt/qtmultimedia:6[gstreamer] + dev-qt/qt5compat:6 + media-libs/libglvnd + webengine? ( dev-qt/qtwebengine:6[widgets(+)] ) + ) +" +RDEPEND="${DEPEND}" + +DOCS=( README.md resources/docs/Documentation.md ) + +src_configure() { + local mycmakeargs=( + -DBUILD_WITH_QT6=$(usex qt6) + -DUSE_WEBENGINE=$(usex webengine) + -DNO_UPDATE_CHECK=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + if use webengine; then + optfeature "ad blocking functionality" net-libs/nodejs[npm] + fi +} |