-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-
-EGIT_REPO_URI="git://github.com/0xd34df00d/Qross.git"
+EAPI=6
inherit cmake-utils git-r3
+EGIT_REPO_URI="git://github.com/0xd34df00d/Qross.git"
+
DESCRIPTION="KDE-free version of Kross (core libraries and Qt Script backend)"
HOMEPAGE="https://github.com/0xd34df00d/Qross"
IUSE="debug"
RDEPEND="
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/designer:4
- dev-qt/qtscript:4
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/designer:5
+ dev-qt/qtscript:5
"
DEPEND="${RDEPEND}"
CMAKE_USE_DIR="${S}/src/qross"
+
+mycmakeargs=( -DUSE_QT5=ON )