summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news')
-rw-r--r--net-news/quiterss/Manifest1
-rw-r--r--net-news/quiterss/quiterss-0.18.3.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/net-news/quiterss/Manifest b/net-news/quiterss/Manifest
index eae07cf8c555..05be2f0daba3 100644
--- a/net-news/quiterss/Manifest
+++ b/net-news/quiterss/Manifest
@@ -2,3 +2,4 @@ DIST QuiteRSS-0.16.2-src.tar.bz2 3645410 SHA256 794d0290048b713fe24e2db6967ac3f9
DIST QuiteRSS-0.17.6-src.tar.bz2 3832771 SHA256 b14c715755ff6a1a4fa39b1d3efae893835fde07a23e69275fc12fa742cc8e7d SHA512 c6b16bfd7003e343768793a2d972ca9dfa9402c3ce923f0db501249b9f0826707763652ff6f7a37882e9151215245803b0dd6a25781ba5fa166c4594d59d847f WHIRLPOOL 1ae970d36c76f54bf92afd422fc33b5248f4b828c04df2b5705853ded45790ef1bb56711fdb1feec9eee3749abfaea4f569a1ae5ca6bbec1eb8238fd396800fe
DIST quiterss-0.17.7.tar.gz 5356077 SHA256 5deeeb3fffba57dcc4d9f98d3be15b605549301462388107c45aba222889896c SHA512 ddee530789890fa4462f42fec139fd2dab3cff2f32f27dd49f8b8873ecf2f187731c92adc7804955e6f27cc7f399823f1847b62286aa12268deb8a5192977797 WHIRLPOOL bc7cd42f38a8d7c505af8abb566717bf66d0beef7a5cb709b78b27bce9ac048f5be66705df2eaf426b6669c46c87fbc61aea88b539314cec57226e194bee40fd
DIST quiterss-0.18.2.tar.gz 3061821 SHA256 7c934c1e2a531662277164765fa4ddc18f691c6a5de3240fd2c2c5cfd95b4d75 SHA512 e55e6a4c52ce19c976e7a47007557d31471a520d896ceddffc6475a75ccef1541960311c175daeeb93a9a395fff33e8bbf6b7dee3e657c465b2c4a0fd91b6531 WHIRLPOOL cdf50c06e17fe20e6fe7f26500ca05f48cdefeaab4c6e3fb354407fe37f9b35051da4bf1e9fe2beea6156deaf9913dcce1ef404d33e6d62211edb6e8502702e6
+DIST quiterss-0.18.3.tar.gz 3331546 SHA256 12f80ae4fb3e4936a6c75ae4561168a17f0817fcd7c3629ec38533e839d89028 SHA512 6b2eadc5ad7beb085772d82fd1f4917e9c2206d44c573709c37e932934688dcdac4b2db7a4ce3f3b51afe8c27326676ecde4d3ee8173e68c2a4ed7bc02696fb5 WHIRLPOOL b725de0defe801bd33746c4f26a071571ba482476393d00ce9e223be7dca750d8420328141bbbd3a2a2421f33c74bfc8a8c8fc66d6958df266f8f1b89880a23f
diff --git a/net-news/quiterss/quiterss-0.18.3.ebuild b/net-news/quiterss/quiterss-0.18.3.ebuild
new file mode 100644
index 000000000000..3e826036f1f8
--- /dev/null
+++ b/net-news/quiterss/quiterss-0.18.3.ebuild
@@ -0,0 +1,83 @@
+# 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 hi hu it ja ko lt nl pl pt_BR pt_PT ro_RO ru sk sr sv tg_TJ tr uk vi zh_CN zh_TW"
+inherit eutils l10n fdo-mime gnome2-utils 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="debug phonon +qt4 qt5"
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+RDEPEND=">=dev-db/sqlite-3.10.0:3
+ dev-qt/qtsingleapplication[X,qt4(+)?,qt5(-)?]
+ qt4? ( dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ 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/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() {
+ my_rm_loc() {
+ sed -i -e "s:lang/${PN}_${1}.ts::" lang/lang.pri || die
+ }
+
+ default
+
+ # 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() {
+ use qt4 && eqmake4 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1 \
+ $(usex phonon '' 'DISABLE_PHONON=1')
+ use qt5 && eqmake5 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+}
+
+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
+}