summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news')
-rw-r--r--net-news/rssguard/Manifest1
-rw-r--r--net-news/rssguard/rssguard-4.7.3.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest
index f90d5d182a6a..4143d10256d7 100644
--- a/net-news/rssguard/Manifest
+++ b/net-news/rssguard/Manifest
@@ -1 +1,2 @@
DIST rssguard-4.7.2.gh.tar.gz 23466960 BLAKE2B 39f563e7ffd824bc0412d64372b4a9c367eb2dc100efadee6a903b83473268f2ca9503c3ee10c1c7e2b49a9fc9135d9a2ce4fe3f9dc94ed1fc6675abadba86f1 SHA512 6094a57cbb0cf8ab948f101b3c2815b7a3da2219b1ead4bc67ec043a11195fb94a6dc61a373fafd9c11cf00b3584138bb10a9b49d16e5fb6ffa435937635fce3
+DIST rssguard-4.7.3.gh.tar.gz 23567754 BLAKE2B 604f36620b99964a5073bd77f549ccf75d68658d8016f71f6a2b852e84e7f1343a88a67278550a09ea592e9a3754e793a3586a12ab0f1b35b75373484ef133b4 SHA512 251331115779d24cf039682a99723a856da76b4a09339b0f55ad283d0d45e9c94c34be47b9384bad88b005e6235740e4320dee791774cdf4d42c045e1d4afe25
diff --git a/net-news/rssguard/rssguard-4.7.3.ebuild b/net-news/rssguard/rssguard-4.7.3.ebuild
new file mode 100644
index 000000000000..3625148b6cb5
--- /dev/null
+++ b/net-news/rssguard/rssguard-4.7.3.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]"
+}