diff options
Diffstat (limited to 'net-news/rssguard')
-rw-r--r-- | net-news/rssguard/Manifest | 3 | ||||
-rw-r--r-- | net-news/rssguard/files/rssguard-3.5.9-qt-5.14.patch | 10 | ||||
-rw-r--r-- | net-news/rssguard/metadata.xml | 20 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-3.5.9-r1.ebuild | 52 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-4.6.6.ebuild | 89 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-4.7.2.ebuild | 89 |
6 files changed, 198 insertions, 65 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index c1a240e5a10b..419062e5422d 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1 +1,2 @@ -DIST rssguard-3.5.9.tar.gz 5775322 BLAKE2B f7d91e87b2a55d780bc1eae4f7e55b8059c049d21998f4c2554a84ca1d7b283e3145a556eef77e784d88ae2ad9f016d7b486a12141dceeada69dd1240205de23 SHA512 3a7223767185bf37bef316291b88d60bb2906fdbd0b045aa07c2ca4be19aadaeaa0b8c923f22aaa3483c7db783386744ad1411ad1ab214a8a71ef260948707b9 +DIST rssguard-4.6.6.gh.tar.gz 23432162 BLAKE2B f9febdc9d91ebfd4f8e8ade9de7b9ba6748bea9f5fa0e3ced0c4eaa908daedcbc2ae31c77e472418a05a8aca7fc30c7d56ab19aa144df40ea14a4530ac520e3d SHA512 82dbc1e5cbc527a965d17afe77aea978908544c2f8997a134749374e6acaf287de90c6be9a8e818c1097f826b54af94731f5f39fa9232ff8ee2491ac99e24063 +DIST rssguard-4.7.2.gh.tar.gz 23466960 BLAKE2B 39f563e7ffd824bc0412d64372b4a9c367eb2dc100efadee6a903b83473268f2ca9503c3ee10c1c7e2b49a9fc9135d9a2ce4fe3f9dc94ed1fc6675abadba86f1 SHA512 6094a57cbb0cf8ab948f101b3c2815b7a3da2219b1ead4bc67ec043a11195fb94a6dc61a373fafd9c11cf00b3584138bb10a9b49d16e5fb6ffa435937635fce3 diff --git a/net-news/rssguard/files/rssguard-3.5.9-qt-5.14.patch b/net-news/rssguard/files/rssguard-3.5.9-qt-5.14.patch deleted file mode 100644 index c1d9a8ccb5fe..000000000000 --- a/net-news/rssguard/files/rssguard-3.5.9-qt-5.14.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/gui/messagepreviewer.cpp 2019-06-04 13:16:48.000000000 +0200 -+++ b/src/gui/messagepreviewer.cpp 2020-01-05 17:26:13.405430006 +0100 -@@ -9,6 +9,7 @@ - #include "network-web/webfactory.h" - #include "services/abstract/serviceroot.h" - -+#include <QKeyEvent> - #include <QScrollBar> - #include <QToolBar> - #include <QToolTip> diff --git a/net-news/rssguard/metadata.xml b/net-news/rssguard/metadata.xml index 0728c0b6e44e..2c01a147ab62 100644 --- a/net-news/rssguard/metadata.xml +++ b/net-news/rssguard/metadata.xml @@ -1,11 +1,27 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> <upstream> + <maintainer> + <name>Martin Rotter</name> + <email>rotter.martinos@gmail.com</email> + </maintainer> <remote-id type="github">martinrotter/rssguard</remote-id> + <bugs-to>https://github.com/martinrotter/rssguard/issues</bugs-to> </upstream> <use> + <flag name="libmpv">Enable media player support via libmpv from <pkg>media-video/mpv</pkg></flag> + <flag name="qt6">Build with Qt6 support instead of the default Qt5</flag> + <flag name="qtmultimedia">Enable media player support via <pkg>dev-qt/qtmultimedia</pkg></flag> <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag> </use> + <longdescription> + RSS Guard is simple (yet powerful) feed reader. It is able to fetch the + most known feed formats, including RSS/RDF and ATOM. RSS Guard is + developed on top of the Qt library. + </longdescription> </pkgmetadata> diff --git a/net-news/rssguard/rssguard-3.5.9-r1.ebuild b/net-news/rssguard/rssguard-3.5.9-r1.ebuild deleted file mode 100644 index b78de6b3565d..000000000000 --- a/net-news/rssguard/rssguard-3.5.9-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic xdg-utils qmake-utils - -DESCRIPTION="Tiny RSS and Atom feed reader" -HOMEPAGE="https://github.com/martinrotter/rssguard" -SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="debug webengine" - -BDEPEND="dev-qt/linguist-tools:5" -DEPEND=" - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - webengine? ( dev-qt/qtwebengine:5[widgets] ) -" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-qt-5.14.patch" ) - -src_configure() { - # CONFIG+=ltcg is needed because of https://github.com/martinrotter/rssguard/issues/156 - eqmake5 \ - CONFIG+=$(usex debug debug release) \ - $(is-flagq -flto* && echo "CONFIG+=ltcg") \ - USE_WEBENGINE=$(usex webengine true false) \ - PREFIX="${EPREFIX}"/usr \ - INSTALL_ROOT=. -} - -src_install() { - emake install INSTALL_ROOT="${D}" -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/net-news/rssguard/rssguard-4.6.6.ebuild b/net-news/rssguard/rssguard-4.6.6.ebuild new file mode 100644 index 000000000000..1f8402333811 --- /dev/null +++ b/net-news/rssguard/rssguard-4.6.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature xdg + +DESCRIPTION="Simple (yet powerful) news feed reader" +HOMEPAGE="https://github.com/martinrotter/rssguard/" +SRC_URI=" + https://github.com/martinrotter/rssguard/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="libmpv mysql qt6 qtmultimedia +sqlite webengine" +REQUIRED_USE=" + || ( mysql sqlite ) + ?? ( libmpv qtmultimedia ) +" + +BDEPEND=" + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" +DEPEND=" + sys-libs/zlib:= + libmpv? ( media-video/mpv:= ) + !qt6? ( + dev-qt/qtconcurrent:5 + 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 + libmpv? ( + dev-qt/qtopengl:5 + ) + qtmultimedia? ( + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + ) + webengine? ( dev-qt/qtwebengine:5[widgets(+)] ) + ) + qt6? ( + dev-qt/qtbase:6[concurrent,dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets] + dev-qt/qtdeclarative:6 + dev-qt/qtmultimedia:6[gstreamer] + dev-qt/qt5compat:6 + media-libs/libglvnd + libmpv? ( + dev-qt/qtbase:6[opengl] + ) + qtmultimedia? ( + dev-qt/qtbase:6[opengl] + dev-qt/qtmultimedia:6 + ) + webengine? ( dev-qt/qtwebengine:6[widgets(+)] ) + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_WITH_QT6=$(usex qt6) + -DNO_LITE=$(usex webengine) + -DREVISION_FROM_GIT=OFF + -DNO_UPDATE_CHECK=ON + -DENABLE_COMPRESSED_SITEMAP=ON + -DENABLE_MEDIAPLAYER_QTMULTIMEDIA=$(usex qtmultimedia) + -DENABLE_MEDIAPLAYER_LIBMPV=$(usex libmpv) + # recommended + -DMEDIAPLAYER_FORCE_OPENGL=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "ad blocking functionality" "net-libs/nodejs[npm]" +} diff --git a/net-news/rssguard/rssguard-4.7.2.ebuild b/net-news/rssguard/rssguard-4.7.2.ebuild new file mode 100644 index 000000000000..3625148b6cb5 --- /dev/null +++ b/net-news/rssguard/rssguard-4.7.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature xdg + +DESCRIPTION="Simple (yet powerful) news feed reader" +HOMEPAGE="https://github.com/martinrotter/rssguard/" +SRC_URI=" + https://github.com/martinrotter/rssguard/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libmpv mysql qt6 qtmultimedia +sqlite webengine" +REQUIRED_USE=" + || ( mysql sqlite ) + ?? ( libmpv qtmultimedia ) +" + +BDEPEND=" + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" +DEPEND=" + sys-libs/zlib:= + libmpv? ( media-video/mpv:= ) + !qt6? ( + dev-qt/qtconcurrent:5 + 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 + libmpv? ( + dev-qt/qtopengl:5 + ) + qtmultimedia? ( + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + ) + webengine? ( dev-qt/qtwebengine:5[widgets(+)] ) + ) + qt6? ( + dev-qt/qtbase:6[concurrent,dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets] + dev-qt/qtdeclarative:6 + dev-qt/qtmultimedia:6[gstreamer] + dev-qt/qt5compat:6 + media-libs/libglvnd + libmpv? ( + dev-qt/qtbase:6[opengl] + ) + qtmultimedia? ( + dev-qt/qtbase:6[opengl] + dev-qt/qtmultimedia:6 + ) + webengine? ( dev-qt/qtwebengine:6[widgets(+)] ) + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_WITH_QT6=$(usex qt6) + -DNO_LITE=$(usex webengine) + -DREVISION_FROM_GIT=OFF + -DNO_UPDATE_CHECK=ON + -DENABLE_COMPRESSED_SITEMAP=ON + -DENABLE_MEDIAPLAYER_QTMULTIMEDIA=$(usex qtmultimedia) + -DENABLE_MEDIAPLAYER_LIBMPV=$(usex libmpv) + # recommended + -DMEDIAPLAYER_FORCE_OPENGL=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "ad blocking functionality" "net-libs/nodejs[npm]" +} |