commit:     569ebea14949ee2a377abb923b3626c3716a539f
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 19:59:03 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 19:59:15 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=569ebea1

[kde-base/kwayland] New package

Package-Manager: portage-2.2.13

---
 .../kwayland/files/kwayland-9999-wayland-1.5.patch | 13 +++++++++++
 kde-base/kwayland/kwayland-9999.ebuild             | 26 ++++++++++++++++++++++
 kde-base/kwayland/metadata.xml                     |  5 +++++
 3 files changed, 44 insertions(+)

diff --git a/kde-base/kwayland/files/kwayland-9999-wayland-1.5.patch 
b/kde-base/kwayland/files/kwayland-9999-wayland-1.5.patch
new file mode 100644
index 0000000..246e207
--- /dev/null
+++ b/kde-base/kwayland/files/kwayland-9999-wayland-1.5.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5020a29..bf2c360 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,7 +28,7 @@ ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KWAYLAND
+ set(REQUIRED_QT_VERSION 5.3.0)
+ find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui)
+ 
+-find_package(Wayland 1.2 COMPONENTS Client Egl Cursor Server)
++find_package(Wayland 1.2 COMPONENTS Client Cursor Server)
+ set_package_properties(Wayland PROPERTIES
+                        TYPE REQUIRED
+                       )

diff --git a/kde-base/kwayland/kwayland-9999.ebuild 
b/kde-base/kwayland/kwayland-9999.ebuild
new file mode 100644
index 0000000..286635f
--- /dev/null
+++ b/kde-base/kwayland/kwayland-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+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=""
+IUSE=""
+
+DEPEND="
+       >=dev-libs/wayland-1.2.0
+       dev-qt/qtgui:5
+"
+RDEPEND="${DEPEND}"
+
+# All failing, i guess we need a virtual wayland server
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-wayland-1.5.patch" )

diff --git a/kde-base/kwayland/metadata.xml b/kde-base/kwayland/metadata.xml
new file mode 100644
index 0000000..a23f444
--- /dev/null
+++ b/kde-base/kwayland/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <herd>kde</herd>
+</pkgmetadata>

Reply via email to