Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rssguard/
Date: Sun, 13 Aug 2017 13:23:21
Message-Id: 1502630592.34392deaeeac83e04b59dd8a1570468c083868d4.monsieurp@gentoo
1 commit: 34392deaeeac83e04b59dd8a1570468c083868d4
2 Author: soredake <fdsfgs <AT> krutt <DOT> org>
3 AuthorDate: Tue Aug 1 22:10:01 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 13 13:23:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34392dea
7
8 net-news/rssguard: add live version.
9
10 net-news/rssguard/rssguard-9999.ebuild | 49 ++++++++++++++++++++++++++++++++++
11 1 file changed, 49 insertions(+)
12
13 diff --git a/net-news/rssguard/rssguard-9999.ebuild b/net-news/rssguard/rssguard-9999.ebuild
14 new file mode 100644
15 index 00000000000..4ca7b2a4399
16 --- /dev/null
17 +++ b/net-news/rssguard/rssguard-9999.ebuild
18 @@ -0,0 +1,49 @@
19 +# Copyright 1999-2016 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +
24 +inherit git-r3 qmake-utils
25 +
26 +DESCRIPTION="A tiny RSS and Atom feed reader"
27 +HOMEPAGE="https://github.com/martinrotter/rssguard"
28 +EGIT_REPO_URI="https://github.com/martinrotter/${PN}.git"
29 +EGIT_SUBMODULES=()
30 +
31 +LICENSE="GPL-3"
32 +SLOT="0"
33 +IUSE="debug webengine"
34 +
35 +RDEPEND="
36 + >=dev-qt/qtcore-5.6:5
37 + >=dev-qt/qtgui-5.6:5
38 + >=dev-qt/qtnetwork-5.6:5
39 + >=dev-qt/qtsql-5.6:5
40 + >=dev-qt/qtwidgets-5.6:5
41 + >=dev-qt/qtxml-5.6:5
42 + webengine? ( >=dev-qt/qtwebengine-5.6:5[widgets] )
43 +"
44 +DEPEND="${RDEPEND}
45 + >=dev-qt/linguist-tools-5.6:5
46 +"
47 +
48 +src_prepare() {
49 + default
50 +
51 + # remove bundled qtbase translations
52 + rm -v localization/qtbase* || die
53 + sed -i -e "s|localization/qtbase_[a-z][a-z].ts||g" ${PN}.pro || die
54 +}
55 +
56 +src_configure() {
57 + eqmake5 \
58 + CONFIG+=$(usex debug debug release) \
59 + USE_WEBENGINE=$(usex webengine true false) \
60 + LRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" \
61 + PREFIX="${EPREFIX}"/usr \
62 + INSTALL_ROOT=.
63 +}
64 +
65 +src_install() {
66 + emake install INSTALL_ROOT="${D}"
67 +}