diff options
Diffstat (limited to 'net-news/rssguard/rssguard-4.6.2.ebuild')
-rw-r--r-- | net-news/rssguard/rssguard-4.6.2.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/net-news/rssguard/rssguard-4.6.2.ebuild b/net-news/rssguard/rssguard-4.6.2.ebuild new file mode 100644 index 000000000000..fd27e62a275e --- /dev/null +++ b/net-news/rssguard/rssguard-4.6.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 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 + 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 + 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) + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "ad blocking functionality" "net-libs/nodejs[npm]" +} |