commit:     305fddebcc99e2ebef5746d903db10291de177a9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 10 00:31:44 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Dec 10 00:34:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=305fddeb

gui-libs/egl-wayland: add 1.1.21

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

 gui-libs/egl-wayland/Manifest                  |  1 +
 gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild | 47 ++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
index cb0df5f63faa..29b4460608f7 100644
--- a/gui-libs/egl-wayland/Manifest
+++ b/gui-libs/egl-wayland/Manifest
@@ -1 +1,2 @@
 DIST egl-wayland-1.1.20.tar.gz 76168 BLAKE2B 
dc06a04a3a7e909c403619a98c484ff17fd03d47f6510a41d9fe9e19233d82ef99cfaf3439a2af39ab95a48575d4a3d42471bbeb53916f91f033d1fad897e316
 SHA512 
aed74dd76de1a0ca34264293e2ce0a0969f8434b77f978322a7fa6866e835f0f7f0735964c2c9d95533a342fc6f50e77d0c6ac52ccf5387b14972a07627eaee8
+DIST egl-wayland-1.1.21.tar.gz 76374 BLAKE2B 
c16ff00b26bb94a55ee20dc8b89d3d8b08e684f7bf6f7ceeb23fe22158222e36c8642aa20995d43daab33f58662a56a56311828533a09fc1eef608403cf5bb23
 SHA512 
52638b17b339201862942bd7e3f91254c1acc3e68cbe21778a29ae88e037dc589b0ba7e50a2aad9b43bd06dcb6a2b889292cd10f4d5b04c00afe5d59d9594b6f

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild
new file mode 100644
index 000000000000..fc1e96d8cb92
--- /dev/null
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="NVIDIA wayland EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland/";
+
+if [[ ${PV} == *_pre* ]]; then
+       # happens often that nvidia-drivers ships with a (yet) unreleased
+       # version and we need to ship a snapshot to provide the same fixes
+       HASH_EGLWAYLAND=
+       SRC_URI="
+               
https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz
+                       -> ${P}.tar.gz
+       "
+       S=${WORKDIR}/${PN}-${HASH_EGLWAYLAND}
+else
+       SRC_URI="
+               
https://github.com/NVIDIA/egl-wayland/archive/refs/tags/${PV}.tar.gz
+                       -> ${P}.tar.gz
+       "
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+       dev-libs/wayland[${MULTILIB_USEDEP}]
+       x11-libs/libdrm[${MULTILIB_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       >=dev-libs/wayland-protocols-1.34
+       >=gui-libs/eglexternalplatform-1.1-r1
+       media-libs/libglvnd
+"
+BDEPEND="
+       dev-util/wayland-scanner
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch
+)

Reply via email to