aboutsummaryrefslogtreecommitdiff
blob: 8873eff93cd2652b13780026c3519889e7b2a3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit qmake-utils

if [[ ${PV} == *9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/martinrotter/${PN}"
	EGIT_SUBMODULES=()
else
	SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="Simple, light and easy-to-use RSS/ATOM feed aggregator developed using Qt framework"
HOMEPAGE="https://github.com/martinrotter/rssguard"

LICENSE="GPLv3"
SLOT="0"
IUSE="+webengine"

# minimum Qt version required
QT_PV="5.6.0:5"

DEPEND=">=dev-qt/qtcore-${QT_PV}
	>=dev-qt/qtgui-${QT_PV}
	>=dev-qt/qtwidgets-${QT_PV}
	>=dev-qt/qtsql-${QT_PV}
	>=dev-qt/qtnetwork-${QT_PV}
	>=dev-qt/qtxml-${QT_PV}
	webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets] )"
RDEPEND="${DEPEND}"

src_configure() {
	use webengine && WEBENGINE="true" || WEBENGINE="false"
	eqmake5 PREFIX="${D}" USE_WEBENGINE="${WEBENGINE}"
}