commit:     e6d3a5c8230b5371c2e2d93b6d4658feb5334fae
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 16 11:06:41 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 16 13:36:50 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=e6d3a5c8

gui-libs/wrapland: New package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 gui-libs/wrapland/metadata.xml                 | 11 +++++++
 gui-libs/wrapland/wrapland-5.18.49.9999.ebuild | 41 ++++++++++++++++++++++++++
 gui-libs/wrapland/wrapland-9999.ebuild         | 41 ++++++++++++++++++++++++++
 3 files changed, 93 insertions(+)

diff --git a/gui-libs/wrapland/metadata.xml b/gui-libs/wrapland/metadata.xml
new file mode 100644
index 0000000000..f5723086ce
--- /dev/null
+++ b/gui-libs/wrapland/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo KDE Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="gitlab">kwinft/wrapland</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/gui-libs/wrapland/wrapland-5.18.49.9999.ebuild 
b/gui-libs/wrapland/wrapland-5.18.49.9999.ebuild
new file mode 100644
index 0000000000..38236bab39
--- /dev/null
+++ b/gui-libs/wrapland/wrapland-5.18.49.9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KFMIN=5.66.0
+QTMIN=5.12.3
+inherit ecm
+
+if [[ ${PV} = *9999* ]]; then
+       if [[ ${PV} != 9999 ]]; then
+               EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
+       fi
+       EGIT_REPO_URI="https://gitlab.com/kwinft/wrapland.git";
+       inherit git-r3
+else
+       
SRC_URI="https://gitlab.com/kwinft/${PN}/-/archive/${P/-/@}/${PN}-${P/-/@}.tar.gz";
+       S="${WORKDIR}/${PN}-${P/-/@}"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Qt/C++ library wrapping libwayland"
+HOMEPAGE="https://gitlab.com/kwinft/wrapland";
+
+LICENSE="LGPL-2.1+"
+SLOT="5"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/wayland-1.15.0
+       >=dev-qt/qtconcurrent-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5[egl]
+       media-libs/mesa[egl]
+"
+DEPEND="${RDEPEND}
+       >=dev-libs/wayland-protocols-1.15
+"
+
+# All failing, I guess we need a virtual wayland server
+RESTRICT+=" test"

diff --git a/gui-libs/wrapland/wrapland-9999.ebuild 
b/gui-libs/wrapland/wrapland-9999.ebuild
new file mode 100644
index 0000000000..38236bab39
--- /dev/null
+++ b/gui-libs/wrapland/wrapland-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KFMIN=5.66.0
+QTMIN=5.12.3
+inherit ecm
+
+if [[ ${PV} = *9999* ]]; then
+       if [[ ${PV} != 9999 ]]; then
+               EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
+       fi
+       EGIT_REPO_URI="https://gitlab.com/kwinft/wrapland.git";
+       inherit git-r3
+else
+       
SRC_URI="https://gitlab.com/kwinft/${PN}/-/archive/${P/-/@}/${PN}-${P/-/@}.tar.gz";
+       S="${WORKDIR}/${PN}-${P/-/@}"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Qt/C++ library wrapping libwayland"
+HOMEPAGE="https://gitlab.com/kwinft/wrapland";
+
+LICENSE="LGPL-2.1+"
+SLOT="5"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/wayland-1.15.0
+       >=dev-qt/qtconcurrent-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5[egl]
+       media-libs/mesa[egl]
+"
+DEPEND="${RDEPEND}
+       >=dev-libs/wayland-protocols-1.15
+"
+
+# All failing, I guess we need a virtual wayland server
+RESTRICT+=" test"

Reply via email to