summaryrefslogtreecommitdiff
blob: 052f974c10bb97abbf356f6456bb528ef6a1197d (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
40
41
42
43
44
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils desktop

DESCRIPTION="full featured educational application for children from 2 to 10"
HOMEPAGE="https://gcompris.net/"
SRC_URI="http://gcompris.net/download/qt/src/gcompris-qt-${PV}.tar.xz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}/${PN}-qt-${PV}"

RDEPEND="
	dev-qt/qtcore
	dev-qt/qtgraphicaleffects
	dev-qt/qtgui
	dev-qt/qtmultimedia[qml]
	dev-qt/qtnetwork
	dev-qt/qtquickcontrols
	dev-qt/qtsensors[qml]
	dev-qt/qtsvg
	dev-qt/qtxml
	dev-qt/qtxmlpatterns"
DEPEND="${RDEPEND}
	dev-qt/linguist-tools"

src_configure() {
	local mycmakeargs=(
		# TODO: add box2d support
		-DQML_BOX2D_MODULE=disabled
	)
	cmake-utils_src_configure
}

src_install() {
	cmake-utils_src_install
	domenu org.kde.gcompris.desktop
}