commit:     0480246a1d6bbd0395332480008684d84c80d6e5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  2 16:00:44 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Dec  2 16:14:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0480246a

gui-libs/egl-wayland2: add 1.0.1_pre20251124

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

 gui-libs/egl-wayland2/Manifest                     |  1 +
 .../egl-wayland2-1.0.1_pre20251124.ebuild          | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/gui-libs/egl-wayland2/Manifest b/gui-libs/egl-wayland2/Manifest
index fcb56d6e9eb1..b89f3ffe637c 100644
--- a/gui-libs/egl-wayland2/Manifest
+++ b/gui-libs/egl-wayland2/Manifest
@@ -1 +1,2 @@
 DIST egl-wayland2-1.0.0_rc.tar.gz 78099 BLAKE2B 
1ce9fa465bc929d99259d29b3d0aaa06c5afc51127e6d68f1d19cee83badb74454d76d5ce087b0253af405d7780d970592ba624bd895459106b80f6e598df446
 SHA512 
53ec956d3b9bf1b48191cc643ffc59954e070f9a7d48753c337f11fc211b0c368090353f3adf080d656d2d6e03d4b5dc157302c455f6f0e85e6ef101c58f7648
+DIST egl-wayland2-1.0.1_pre20251124.tar.gz 80258 BLAKE2B 
2d678adc27a45f372746c0359794fb884d8d4b00e0f10125007997a6e2d122219823293b98fb8734c68ef996a4be788f8bea201db0bb41a1924946dd7d4078af
 SHA512 
ab2c7c4d689221092e9be43ff22f8640e68774d5ffdb854eaf89021b5597dde138fcfdb5309f0ea2f05f03d42bcc56336812182e11fdd32a075e11210a3aa425

diff --git a/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251124.ebuild 
b/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251124.ebuild
new file mode 100644
index 000000000000..5d0d70c4126c
--- /dev/null
+++ b/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251124.ebuild
@@ -0,0 +1,44 @@
+# Copyright 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, version 2"
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland2/";
+
+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_EGLWAYLAND2=3e5b643542708cbb9c67d18fe19b5fa4151d7d8f
+       SRC_URI="
+               
https://github.com/NVIDIA/egl-wayland2/archive/${HASH_EGLWAYLAND2}.tar.gz
+                       -> ${P}.tar.gz
+       "
+       S=${WORKDIR}/${PN}-${HASH_EGLWAYLAND2}
+else
+       SRC_URI="
+               
https://github.com/NVIDIA/egl-wayland2/archive/refs/tags/v${PV}.tar.gz
+                       -> ${P}.tar.gz
+       "
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+       dev-libs/wayland[${MULTILIB_USEDEP}]
+       media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+       x11-libs/libdrm[${MULTILIB_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       >=dev-libs/wayland-protocols-1.38
+       >=gui-libs/eglexternalplatform-1.2
+       media-libs/libglvnd
+"
+BDEPEND="
+       dev-util/wayland-scanner
+"

Reply via email to