diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /net-news/rssguard | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'net-news/rssguard')
-rw-r--r-- | net-news/rssguard/Manifest | 6 | ||||
-rw-r--r-- | net-news/rssguard/metadata.xml | 24 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-3.8.3.ebuild | 59 | ||||
-rw-r--r-- | net-news/rssguard/rssguard-4.0.1.ebuild | 75 |
4 files changed, 95 insertions, 69 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest index 518b43457bfb..332d29cff579 100644 --- a/net-news/rssguard/Manifest +++ b/net-news/rssguard/Manifest @@ -1,5 +1,5 @@ -DIST rssguard-3.8.3.tar.gz 9865909 BLAKE2B 7afc9dd0cec9ff58164c341f8cb3c6f31608da958a9c64f8099d9ba645cf7bbdaaa76accb3877943eefeb71b9172a13fa43c0ced7d58c6f368cc164e40a5ab39 SHA512 d7c1d18981177880d93bfaf4a87769638804058609f68b8c42db376c4a0e56230b57a29f70054deb30e02634cfa64355ecfe658b5f961a516b990af91c6f3ba8 DIST rssguard-3.9.2.tar.gz 13607587 BLAKE2B 45b3dd406e64bb13a19580255971b0d5eb1fd90d70d8559c736366af7792e7fc0627ee254dce79936ce6a179399271958b7795279a359306e345ec086081fc37 SHA512 30d2524f4ca42d903a047fe39de925268a1aac65192a8b1089b6ec0ec0a9dfef09c535fe391f750149063c06e3275b2632cc2ea2c24ded178760070abcea4958 -EBUILD rssguard-3.8.3.ebuild 1454 BLAKE2B f4ff9629f5f571646a8751006fa5ad23f185ebb176ab4a994e9192e4522afde4c43fa68b8ff0e93000686a46491e02d47d3e2171d70eb4843837878be6f50022 SHA512 b1c608f196735913a5913064fa4a7789c1afa2dbf14deb6e7bfa54817ce0aac655c4f3d21c1c22b363723f98b2dda0506ebc64f9be40a2973180097ac51272c6 +DIST rssguard-4.0.1.tar.gz 14417555 BLAKE2B 14689444eefefe0827d22a6886cd422fcbbbace83125fd28599fd17e2762d63f5e5d8b1b472de46282e7471d84195fb56594f9669bcd1432f595f354268241ad SHA512 1c791a85cf3b43737c5232dd4c63855bf8d6ad324c799d1abbfc0aa9392b0af3bfef6221d31b6ded5b512bec9c8ad82b2fbcd10330c7768420432363517709eb EBUILD rssguard-3.9.2.ebuild 1214 BLAKE2B 9cfda6ed8baa35badd04d80a679cc64b18bc29852b6f96d27182ffc537ed3e52a3a5bb3f5c025c74c312ee6a445306f5d23a619807f67262b614b746f784e88d SHA512 c674acf1c20cb8f3ce162b11231d9e42265b818dcfcd46874516571af2e3538c8c5227417271020c5909b1d06e32103d43bf2772e00d51ddc49b45036c33525a -MISC metadata.xml 359 BLAKE2B 39ba3058386b88bd289077c592c99631c58e54a027c00afd6de5d27639019174039038f48323605071f5dc7184686675e337032866ec93fba5d769f975b2d43c SHA512 0a87ec4aa15bdd0932912f519be77ea3c9a524d26847397b0753b7624af73912b46c320c901304b8df128df75f517f7e7d920c87b840fcc31627c5e039700c5e +EBUILD rssguard-4.0.1.ebuild 2000 BLAKE2B ffd1d91fc5eb3314f452d840198fa50242aa36956f199b66e615f0f931ed169f495d345bc892afdadf889ad35972ad255baacb98baf585a1eaa8a128a85244a0 SHA512 d6b8d8fb7c99a304cfc1d01a5701884ce750a2a9fff560801a932f72d99e9d2a7ce2314b527e28a7b5e747f12a806e796602eb1e09ba72c4a2774303c1aa8d68 +MISC metadata.xml 735 BLAKE2B 35d20ce92b5d3a05b555d071d442249d43e87ed26f09df52c75477b5651d5ec26a7cce3a5b2ea3d9aeb00dd72b0e1bdbefb6d9002f075003d136b396f0d96421 SHA512 551e042ab43e3cf718fb16a53410794811457393759a9481d6bb748c0c65f1dce43d33438b61bc876ba71db1aba1830f8e4f316999499fe64581db3c16c658e7 diff --git a/net-news/rssguard/metadata.xml b/net-news/rssguard/metadata.xml index 0728c0b6e44e..b6c063572f39 100644 --- a/net-news/rssguard/metadata.xml +++ b/net-news/rssguard/metadata.xml @@ -1,11 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">martinrotter/rssguard</remote-id> - </upstream> - <use> - <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag> - </use> +<!-- maintainer-needed --> +<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="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.8.3.ebuild b/net-news/rssguard/rssguard-3.8.3.ebuild deleted file mode 100644 index 15b6a7dac1db..000000000000 --- a/net-news/rssguard/rssguard-3.8.3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic qmake-utils xdg - -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 - dev-qt/qtdeclarative:5 - webengine? ( dev-qt/qtwebengine:5[widgets] ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - ebegin 'Sedding pri/install.pri to install to $(get_libdir)' - if grep -q 'lib.path = $$quote($$PREFIX/lib/)' pri/install.pri; then - sed -i \ - -e 's:lib.path = $$quote($$PREFIX/lib/):lib.path = $$quote($$PREFIX/'$(get_libdir)'/):' \ - pri/install.pri || die - eend - else - eend 1 - eerror 'grep for lib.path = $$quote($$PREFIX/lib/) failed' - die 'find out what changed and update the ebuild' - fi -} - -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 -j1 install INSTALL_ROOT="${D}" -} diff --git a/net-news/rssguard/rssguard-4.0.1.ebuild b/net-news/rssguard/rssguard-4.0.1.ebuild new file mode 100644 index 000000000000..d78e81920014 --- /dev/null +++ b/net-news/rssguard/rssguard-4.0.1.ebuild @@ -0,0 +1,75 @@ +# 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 MPL-2.0" +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 ) + +pkg_pretend() { + if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.0; then + ewarn "RSS Guard 4.x is NOT backwards compatible with 3.x line." + ewarn "You have to either export your feeds in OPML format or" + ewarn "manually update your database.db file to 4.x.x format:" + ewarn "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#migrating-user-data-from-392-to-4xx" + fi +} + +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 concat-stream tldts-experimental node-fetch" + fi +} |