Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rssguard/
Date: Wed, 29 Nov 2017 23:20:00
Message-Id: 1511997560.41a54521bd78bd8d90e9cca129208ce9060b3b5c.asturm@gentoo
1 commit: 41a54521bd78bd8d90e9cca129208ce9060b3b5c
2 Author: soredake <fdsfgs <AT> krutt <DOT> org>
3 AuthorDate: Tue Nov 28 09:06:24 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 29 23:19:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a54521
7
8 net-news/rssguard: update live version
9
10 Closes: https://github.com/gentoo/gentoo/pull/6115
11
12 net-news/rssguard/rssguard-9999.ebuild | 35 ++++++++++++++++------------------
13 1 file changed, 16 insertions(+), 19 deletions(-)
14
15 diff --git a/net-news/rssguard/rssguard-9999.ebuild b/net-news/rssguard/rssguard-9999.ebuild
16 index 4ca7b2a4399..06be77e74c1 100644
17 --- a/net-news/rssguard/rssguard-9999.ebuild
18 +++ b/net-news/rssguard/rssguard-9999.ebuild
19 @@ -1,43 +1,40 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25
26 -inherit git-r3 qmake-utils
27 +inherit flag-o-matic git-r3 qmake-utils
28
29 DESCRIPTION="A tiny RSS and Atom feed reader"
30 HOMEPAGE="https://github.com/martinrotter/rssguard"
31 -EGIT_REPO_URI="https://github.com/martinrotter/${PN}.git"
32 +EGIT_REPO_URI="https://github.com/martinrotter/rssguard.git"
33 EGIT_SUBMODULES=()
34
35 LICENSE="GPL-3"
36 SLOT="0"
37 IUSE="debug webengine"
38 +MINQT="5.8:5"
39
40 RDEPEND="
41 - >=dev-qt/qtcore-5.6:5
42 - >=dev-qt/qtgui-5.6:5
43 - >=dev-qt/qtnetwork-5.6:5
44 - >=dev-qt/qtsql-5.6:5
45 - >=dev-qt/qtwidgets-5.6:5
46 - >=dev-qt/qtxml-5.6:5
47 - webengine? ( >=dev-qt/qtwebengine-5.6:5[widgets] )
48 + >=dev-qt/qtcore-${MINQT}
49 + >=dev-qt/qtgui-${MINQT}
50 + >=dev-qt/qtnetwork-${MINQT}
51 + >=dev-qt/qtsql-${MINQT}
52 + >=dev-qt/qtwidgets-${MINQT}
53 + >=dev-qt/qtxml-${MINQT}
54 + webengine? ( >=dev-qt/qtwebengine-${MINQT}[widgets] )
55 "
56 DEPEND="${RDEPEND}
57 - >=dev-qt/linguist-tools-5.6:5
58 + >=dev-qt/linguist-tools-${MINQT}
59 "
60
61 -src_prepare() {
62 - default
63 -
64 - # remove bundled qtbase translations
65 - rm -v localization/qtbase* || die
66 - sed -i -e "s|localization/qtbase_[a-z][a-z].ts||g" ${PN}.pro || die
67 -}
68 -
69 src_configure() {
70 + # needed after 8eb640b6f2e140e7c5a1adbe5532cf3662d850b5
71 + "$(qt5_get_bindir)/lrelease" rssguard.pro || die "lrelease failed"
72 + # CONFIG+=ltcg is needed because of https://github.com/martinrotter/rssguard/issues/156
73 eqmake5 \
74 CONFIG+=$(usex debug debug release) \
75 + $(is-flagq -flto* && echo "CONFIG+=ltcg") \
76 USE_WEBENGINE=$(usex webengine true false) \
77 LRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" \
78 PREFIX="${EPREFIX}"/usr \