summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-03-23 16:44:28 +0500
committerIonen Wolkens <ionen@gentoo.org>2022-03-24 03:27:37 -0400
commit5289c66d9966179b925e69c0e2388d68239875bd (patch)
tree9c96ce9e195d27adf7930ada7c2cb54f56fce9a9 /net-news
parentwww-client/opera: remove old (diff)
downloadgentoo-5289c66d9966179b925e69c0e2388d68239875bd.tar.gz
gentoo-5289c66d9966179b925e69c0e2388d68239875bd.tar.bz2
gentoo-5289c66d9966179b925e69c0e2388d68239875bd.zip
net-news/rssguard: drop 4.0.4, add 4.2.1
New version uses CMake instead of qmake. Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-news')
-rw-r--r--net-news/rssguard/Manifest2
-rw-r--r--net-news/rssguard/rssguard-4.0.4.ebuild66
-rw-r--r--net-news/rssguard/rssguard-4.2.1.ebuild51
3 files changed, 52 insertions, 67 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest
index 28e95e1fd39f..80064be09140 100644
--- a/net-news/rssguard/Manifest
+++ b/net-news/rssguard/Manifest
@@ -1,2 +1,2 @@
-DIST rssguard-4.0.4.tar.gz 14433147 BLAKE2B 6453d16cb440117c335d6773e675399ae4bee2d9226a2e920ffd1e10cc2d5025fc4c302357974352fad41f637aa33c3b66af2444d969f5e934d7432a16b7cb24 SHA512 8c69ec372a54e7e1ad4ff15476d2387fc84cd9d29c5031f9e5c18dcdf833781c54417101f252d23868eedc91262a9ac6446eb09104f5707b08fa92342d565481
DIST rssguard-4.1.2.tar.gz 21716383 BLAKE2B 5c8da03cdc563799e569dd8c2170f28c5c627a0452a5d0eb325ebb7c88c352248b13624b46d26e94fe443ef1dd948bd281dedb8dcbb0546a984f56472ba0d216 SHA512 d02c6ec7ba6156b6a40e9ad929dc614b7e4aaeb8dfcfe9002e927a4c446908bcb5f299daa1fc67745fea6ebc4954e54a2c296542044a1b86ae98864d5f25bf39
+DIST rssguard-4.2.1.tar.gz 22541187 BLAKE2B 78cc23a39cd75697b53b4c3b043a63d01b8b4e9a9b1cc3fc3f070487dede8d18a33ca462f806b4bfb6847e015a2bacaa77ce27745a95349fb2c09c72cccde3d2 SHA512 05b69d47b3d679005122e03c404ea26d8779f3905ac05ac0565631135c26c56d21ef2f4b3939af6c191a20727a4416e9669ceb4a001e729ffe45fc351183f53a
diff --git a/net-news/rssguard/rssguard-4.0.4.ebuild b/net-news/rssguard/rssguard-4.0.4.ebuild
deleted file mode 100644
index 9fbe9cc1ee9a..000000000000
--- a/net-news/rssguard/rssguard-4.0.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic optfeature qmake-utils 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="debug webengine"
-
-BDEPEND="dev-qt/linguist-tools:5"
-DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtmultimedia: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}"
-
-DOCS=( README.md resources/docs/Documentation.md )
-
-src_prepare() {
- default
- sed -e 's:$$PREFIX/lib:$$PREFIX/'$(get_libdir)':' -i pri/install.pri || die
-}
-
-src_configure() {
- eqmake5_args=(
- CONFIG+=$(usex debug debug release)
- USE_WEBENGINE=$(usex webengine true false)
- PREFIX="${EPREFIX}"/usr
- INSTALL_ROOT=.
- )
-
- # https://github.com/martinrotter/rssguard/issues/156
- is-flagq "-flto*" && eqmake5_args+=( CONFIG+=ltcg )
-
- eqmake5 "${eqmake5_args[@]}"
-}
-
-src_install() {
- emake -j1 install INSTALL_ROOT="${D}"
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if use webengine; then
- optfeature "ad blocking functionality" net-libs/nodejs[npm]
- elog "Adblocker module requires additional npm modules to be installed:"
- elog "npm i -g @cliqz/adblocker tldts-experimental"
- fi
-}
diff --git a/net-news/rssguard/rssguard-4.2.1.ebuild b/net-news/rssguard/rssguard-4.2.1.ebuild
new file mode 100644
index 000000000000..bb1e5906f153
--- /dev/null
+++ b/net-news/rssguard/rssguard-4.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QTMIN="5.10.0"
+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="webengine"
+
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+DEPEND="
+ >=dev-qt/qtcore-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer]
+ >=dev-qt/qtnetwork-${QTMIN}:5[ssl]
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets(+)] )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md resources/docs/Documentation.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_WEBENGINE=$(usex webengine)
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if use webengine; then
+ optfeature "ad blocking functionality" net-libs/nodejs[npm]
+ elog "Adblocker module requires additional npm modules to be installed:"
+ elog "npm i -g @cliqz/adblocker tldts-experimental"
+ fi
+}