commit:     014de51999383373ac28f0e2dbb4e0db0aad8c36
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 21:08:45 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 23:23:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014de519

gui-libs/egl-wayland: add 1.1.9

While this version resolve the plasma blackscreen issue,
it still leaves it in a unusable state with everything
being unresponsive/odd.

Adding anyway because it is the version that ships with
official nvidia-drivers-495.29.05, but keeping masked.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 gui-libs/egl-wayland/Manifest                 |  1 +
 gui-libs/egl-wayland/egl-wayland-1.1.9.ebuild | 42 +++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
index d6e204049ff..145b0f370b1 100644
--- a/gui-libs/egl-wayland/Manifest
+++ b/gui-libs/egl-wayland/Manifest
@@ -1,2 +1,3 @@
 DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B 
eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b
 SHA512 
edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af
 DIST egl-wayland-1.1.8.tar.gz 53776 BLAKE2B 
452f56a54abb2db11e9041b8c21bc0cd57e1583449bcbc7c4fed90c1f7504102598d72d5bf4c1582392f609579bd84cec5b42d078c6b12843f15d56484982c04
 SHA512 
2308789f68447e8993acca88b86d21787b235de4c457aa66d1b49005ac7b159a07c4d6666b9e1beb490572b06da6b83283cd936e7beed140844955edca6f2338
+DIST egl-wayland-1.1.9.tar.gz 57069 BLAKE2B 
64cc1d91c5dab5d070ea23211ffac47a5e5ddde31dfd18bc2a31f24b4cd0b85510752a5d2219e8a919690645426914a1dae325f47dbf46ec0487e0042b392d8f
 SHA512 
3125f4130a5a738f8ecb2acf4d1a7936ca44958a78ade29118222fcd0b5d46f6edf6e18f4e992f541294e08e88c54a8dc231eb2bdcfcd7d56ac543f4e1ed3f8c

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.9.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.9.ebuild
new file mode 100644
index 00000000000..5a213c283b8
--- /dev/null
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.9.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="EGLStream-based Wayland external platform"
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland";
+SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-libs/wayland
+       !<x11-drivers/nvidia-drivers-470.57.02[wayland(-)]"
+DEPEND="
+       ${RDEPEND}
+       dev-libs/wayland-protocols
+       gui-libs/eglexternalplatform
+       >=media-libs/libglvnd-1.3.4"
+BDEPEND="dev-util/wayland-scanner"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch
+)
+
+src_install() {
+       meson_src_install
+
+       insinto /usr/share/egl/egl_external_platform.d
+       doins "${FILESDIR}"/10_nvidia_wayland.json
+}
+
+pkg_postinst() {
+       if has_version "<x11-drivers/nvidia-drivers-391"; then
+               ewarn "<=nvidia-drivers-390.xx may not work properly with this 
version of"
+               ewarn "egl-wayland, it is recommended to use nouveau drivers 
for wayland."
+       fi
+}

Reply via email to