summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtwayland')
-rw-r--r--dev-qt/qtwayland/Manifest1
-rw-r--r--dev-qt/qtwayland/qtwayland-5.6.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-qt/qtwayland/Manifest b/dev-qt/qtwayland/Manifest
index a5d6e7b785ca..3b3271d33452 100644
--- a/dev-qt/qtwayland/Manifest
+++ b/dev-qt/qtwayland/Manifest
@@ -1,2 +1,3 @@
DIST qtwayland-opensource-src-5.5.1.tar.xz 259312 SHA256 c3804bdc49a952af0301bbccdb402d8f859044732246f5a12ae8e0f4ae8bdda6 SHA512 27b319abce8fa16bc166fb46eb033200d3f2dda1d15038e0b2da432d186a4444c297e0e5be449513d71fd26f891419f300688b6e130edda601ffdc69d4ab93ed WHIRLPOOL e69d384acf1f7c11f3699c1d42f92b6340184aff5e25388cbbe183e260aa7872aaec92015156f5cc534f0fad63629178073479603e66bc90c6fb1750ca87cf46
DIST qtwayland-opensource-src-5.6.0.tar.xz 262996 SHA256 b55d0142f245c927970031ef908e98cb20f1d7a2a5441647ed937252fed3bfcc SHA512 aacf86de372033f396986a956519f913741752ffda1418c08e6735e3facc61bf561c78b8d6e4ec9a970f4db473b7e67eb3f619148d381c4d2b17feccb976dadb WHIRLPOOL d0f40cf0385a59ee95284690089c4b15a598b3019b06351d9edcd68098e16e80a3ec9103e2f0517235ded8f0d789caa1aab1a224b51b2d143bef8978dd49a67f
+DIST qtwayland-opensource-src-5.6.1.tar.xz 263748 SHA256 2134545f46145fca57a2828f4dbd1969a6dff953903feebef39c83979d84efc9 SHA512 af8c7bac652e996086ef3b1f60ec8799645e13c4f2397a70f45480386732c10c31fa76fe8f5ba78ef85aca408c88adcbfffa9377afee9b324b28d8fa298965ca WHIRLPOOL 8e28af3f9370fc6b599571f56209ded985006f3842b8a7abc734b26b0f982e9b9ab5d172fc3e75dc59f16c37eebdfbb32600cf7ab312d4a30ebba38c7366e026
diff --git a/dev-qt/qtwayland/qtwayland-5.6.1.ebuild b/dev-qt/qtwayland/qtwayland-5.6.1.ebuild
new file mode 100644
index 000000000000..1039d3d172da
--- /dev/null
+++ b/dev-qt/qtwayland/qtwayland-5.6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit qt5-build
+
+DESCRIPTION="Wayland platform plugin for Qt"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
+fi
+
+IUSE="egl qml wayland-compositor xcomposite"
+
+DEPEND="
+ >=dev-libs/wayland-1.4.0
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtgui-${PV}[egl=]
+ media-libs/mesa[egl?]
+ >=x11-libs/libxkbcommon-0.2.0
+ wayland-compositor? (
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
+ )
+ xcomposite? (
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ if use wayland-compositor; then
+ echo "CONFIG += wayland-compositor" >> "${QT5_BUILD_DIR}"/.qmake.cache
+ fi
+
+ qt_use_compile_test xcomposite
+ qt_use_disable_mod qml quick src/compositor/compositor_api/compositor_api.pri
+
+ qt5-build_src_configure
+}