diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index 1b2226532b5f8..9b0a9fbe3c210 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1 +1,2 @@ DIST rssguard-4.5.5.gh.tar.gz 23236465 BLAKE2B b650826169f42983799af04c044922b9ad0e2f6d7656df93ca1b9529a359daeb91556dfd65e9a8b7a2a97119c2f9d5b10ce6c594f6f958669f4c8c765160d7e0 SHA512 c0fd179052d26a354b6ca053725ef59ae1db6587c3bc4a92aedce36de1ecfbfd06fde387960dade22fca195fa9568e5714939113833e058dbae0d8056158d010 +DIST rssguard-4.6.0.gh.tar.gz 60426983 BLAKE2B 82c7b0dea84c5750578fbc284ea2b5fec052e3eb49646520ed390620ef1b0833994179c3583af17d79da29f8e833ff8f9f1ef2ff3df1ff3903a5ebaebd8313e0 SHA512 147ed789124acfb5038a68141e0257ed316fc25ce94406c8dbe5495f3f42761a1445bfe73eada9a17ca4b0177d0744217810a03667281e643e3a18b5f8a4d675 diff --git a/net-news/rssguard/metadata.xml b/net-news/rssguard/metadata.xml index 30afe4afbbf3f..2c01a147ab621 100644 --- a/net-news/rssguard/metadata.xml +++ b/net-news/rssguard/metadata.xml @@ -14,7 +14,9 @@ https://github.com/martinrotter/rssguard/issues + Enable media player support via libmpv from media-video/mpv Build with Qt6 support instead of the default Qt5 + Enable media player support via dev-qt/qtmultimedia Use dev-qt/qtwebengine for embedded web browser diff --git a/net-news/rssguard/rssguard-4.6.0.ebuild b/net-news/rssguard/rssguard-4.6.0.ebuild new file mode 100644 index 0000000000000..fd27e62a275ed --- /dev/null +++ b/net-news/rssguard/rssguard-4.6.0.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]" +} diff --git a/profiles/package.mask b/profiles/package.mask index 8feca43a4905a..59224d8a0a6e1 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -33,6 +33,12 @@ #--- END OF EXAMPLES --- +# Michał Górny (2023-11-30) +# The new release fails to build if media player backend is disabled. +# Masked pending a fix. +# https://github.com/martinrotter/rssguard/issues/1237 +=net-news/rssguard-4.6.0 + # Hans de Graaff (2023-12-06) # Copy of dev-ruby/listen spefically for dev-ruby/sass. That package now # uses dev-ruby/listen directly so there is no longer a need for