summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-12-13 13:53:44 +0000
committerMichael Palimaka <kensington@gentoo.org>2014-12-13 13:53:44 +0000
commit5b8c949e0fa096b2ef8b6f14f1b70a50e2a21dfb (patch)
tree5fbe00a736261bcf11020ea49979195c3af8965f /dev-qt
parentBump glib to 0.13.0.6 (diff)
downloadgentoo-2-5b8c949e0fa096b2ef8b6f14f1b70a50e2a21dfb.tar.gz
gentoo-2-5b8c949e0fa096b2ef8b6f14f1b70a50e2a21dfb.tar.bz2
gentoo-2-5b8c949e0fa096b2ef8b6f14f1b70a50e2a21dfb.zip
Import from qt overlay.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtwayland/ChangeLog9
-rw-r--r--dev-qt/qtwayland/metadata.xml14
-rw-r--r--dev-qt/qtwayland/qtwayland-5.4.0.ebuild42
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-qt/qtwayland/ChangeLog b/dev-qt/qtwayland/ChangeLog
new file mode 100644
index 000000000000..b412516f7d77
--- /dev/null
+++ b/dev-qt/qtwayland/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-qt/qtwayland
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwayland/ChangeLog,v 1.1 2014/12/13 13:53:44 kensington Exp $
+
+*qtwayland-5.4.0 (13 Dec 2014)
+
+ 13 Dec 2014; Michael Palimaka <kensington@gentoo.org> +metadata.xml,
+ +qtwayland-5.4.0.ebuild:
+ Import from qt overlay.
diff --git a/dev-qt/qtwayland/metadata.xml b/dev-qt/qtwayland/metadata.xml
new file mode 100644
index 000000000000..6596561c5719
--- /dev/null
+++ b/dev-qt/qtwayland/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <use>
+ <flag name="egl">Use EGL instead of GLX to manage OpenGL contexts</flag>
+ <flag name="qml">Build QML/QtQuick bindings</flag>
+ <flag name="wayland-compositor">Build Qt compositor for wayland</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://bugreports.qt-project.org/</bugs-to>
+ <doc>http://qt-project.org/doc/</doc>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-qt/qtwayland/qtwayland-5.4.0.ebuild b/dev-qt/qtwayland/qtwayland-5.4.0.ebuild
new file mode 100644
index 000000000000..ae89cb30c8a3
--- /dev/null
+++ b/dev-qt/qtwayland/qtwayland-5.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwayland/qtwayland-5.4.0.ebuild,v 1.1 2014/12/13 13:53:44 kensington Exp $
+
+EAPI=5
+
+inherit qt5-build
+
+DESCRIPTION="Wayland platform plugin for Qt"
+HOMEPAGE="http://qt-project.org/wiki/QtWayland"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
+fi
+
+IUSE="egl qml wayland-compositor xcomposite"
+
+DEPEND="
+ >=dev-libs/wayland-1.3.0
+ >=dev-qt/qtcore-${PV}:5[debug=]
+ >=dev-qt/qtgui-${PV}:5[debug=,egl=,opengl]
+ media-libs/mesa[egl?]
+ >=x11-libs/libxkbcommon-0.2.0
+ qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
+ 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
+
+ qt5-build_src_configure
+}