diff options
-rw-r--r-- | net-news/quiterss/Manifest | 1 | ||||
-rw-r--r-- | net-news/quiterss/metadata.xml | 2 | ||||
-rw-r--r-- | net-news/quiterss/quiterss-0.18.4.ebuild | 91 |
3 files changed, 92 insertions, 2 deletions
diff --git a/net-news/quiterss/Manifest b/net-news/quiterss/Manifest index 2ea00f9f6ab6..35f5fb545a4f 100644 --- a/net-news/quiterss/Manifest +++ b/net-news/quiterss/Manifest @@ -1,2 +1,3 @@ DIST QuiteRSS-0.16.2-src.tar.bz2 3645410 SHA256 794d0290048b713fe24e2db6967ac3f902c7e8d01fc41f6cd5b30ce24d643f73 SHA512 18456254418fa9854c146cc987a125fdd96618bc2631dbe0bb10f2a899c7ae3fcf168a37920e3e98862cad88dadbc566952e543c77852e01fdb70b3325b4be0c WHIRLPOOL 62463125f20e5747382c24ee8b568479c0f5910b40c11486741d706d39c44e651ac041f05db0b831c30edeb3f9e5bf6604e57a26d288e762c01ebb932b17140c DIST quiterss-0.18.3.tar.gz 3331546 SHA256 12f80ae4fb3e4936a6c75ae4561168a17f0817fcd7c3629ec38533e839d89028 SHA512 6b2eadc5ad7beb085772d82fd1f4917e9c2206d44c573709c37e932934688dcdac4b2db7a4ce3f3b51afe8c27326676ecde4d3ee8173e68c2a4ed7bc02696fb5 WHIRLPOOL b725de0defe801bd33746c4f26a071571ba482476393d00ce9e223be7dca750d8420328141bbbd3a2a2421f33c74bfc8a8c8fc66d6958df266f8f1b89880a23f +DIST quiterss-0.18.4.tar.gz 3341511 SHA256 df1de257561160f18ef5e86bd9eb6d28b2044814db16df061b9c881607481629 SHA512 345061e631b1e536fb17f8550ded185128f58ce51366fd0d0ad088dc6cfb61739e9b7edd1f6ebc4eb87a62b8902ea8d17bcf74fdcfd675092dd70cf2ccfaf13d WHIRLPOOL d6c5823c178250e0b5ed933940ea2a63acf69f8ae1625d59a8bf621b0e3e2b545aad5c4705d4b42ff64e1bee1d3153d3047cb382fa63c3e4ea1a9291f7a690e9 diff --git a/net-news/quiterss/metadata.xml b/net-news/quiterss/metadata.xml index 07de3b913ec8..f49745d638a3 100644 --- a/net-news/quiterss/metadata.xml +++ b/net-news/quiterss/metadata.xml @@ -18,8 +18,6 @@ or <pkg>dev-qt/qtphonon</pkg></flag> </use> <upstream> - <remote-id type="google-code">quite-rss</remote-id> - <bugs-to>https://code.google.com/p/quite-rss/issues</bugs-to> <remote-id type="github">QuiteRSS/quiterss</remote-id> </upstream> </pkgmetadata> diff --git a/net-news/quiterss/quiterss-0.18.4.ebuild b/net-news/quiterss/quiterss-0.18.4.ebuild new file mode 100644 index 000000000000..f223b2a9da28 --- /dev/null +++ b/net-news/quiterss/quiterss-0.18.4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PLOCALES="ar bg cs de el_GR es fa fi fr gl he hi hu it ja ko lt nl pl pt_BR pt_PT ro_RO ru sk sr sv tg_TJ th_TH tr uk vi zh_CN zh_TW" + +inherit fdo-mime gnome2-utils l10n qmake-utils + +DESCRIPTION="A Qt-based RSS/Atom feed reader" +HOMEPAGE="https://quiterss.org" + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/QuiteRSS/quiterss.git" + inherit git-r3 +else + SRC_URI="https://github.com/QuiteRSS/quiterss/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="phonon qt5" + +RDEPEND=">=dev-db/sqlite-3.11.1:3 + !qt5? ( dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsingleapplication[X,qt4(+)] + dev-qt/qtsql:4[sqlite] + dev-qt/qtwebkit:4 + phonon? ( || ( media-libs/phonon[qt4] dev-qt/qtphonon:4 ) ) ) + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsingleapplication[X,qt5(-)] + dev-qt/qtsql:5[sqlite] + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS CHANGELOG README.md ) + +src_prepare() { + default + + my_rm_loc() { + sed -i -e "s:lang/${PN}_${1}.ts::" lang/lang.pri || die + } + + # dedicated english locale file is not installed at all + rm "lang/${PN}_en.ts" || die + + l10n_find_plocales_changes lang ${PN}_ .ts + l10n_for_each_disabled_locale_do my_rm_loc +} + +src_configure() { + local myqmakeargs=( + PREFIX="${EPREFIX}/usr" + SYSTEMQTSA=1 + ) + if use qt5; then + eqmake5 "${myqmakeargs[@]}" + else + eqmake4 "${myqmakeargs[@]}" \ + $(usex phonon '' 'DISABLE_PHONON=1') + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |