# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

KDE_TEST="true"
inherit kde5

DESCRIPTION="Qt-style client and server library wrapper for Wayland libraries"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kwayland"

LICENSE="LGPL-2.1"
KEYWORDS="amd64 ~arm x86"
IUSE=""

DEPEND="
	$(add_qt_dep qtconcurrent)
	$(add_qt_dep qtgui 'egl')
	>=dev-libs/wayland-1.7.0
	media-libs/mesa[egl]
"
RDEPEND="${DEPEND}
	$(add_qt_dep qtwayland 'egl')
	!kde-plasma/kwayland
"

# All failing, i guess we need a virtual wayland server
RESTRICT+=" test"