commit:     c32343c60cfde4724388a611c6ef413398a11199
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  6 02:02:30 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Aug  6 02:12:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32343c6

gui-libs/egl-wayland: add 1.1.20_pre20250707

nvidia-drivers-570.181 ships with unreleased 1.1.20,
not that it has interesting fixes (only for tegra)

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

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

diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
index c406f546de7a..eb778c007fbb 100644
--- a/gui-libs/egl-wayland/Manifest
+++ b/gui-libs/egl-wayland/Manifest
@@ -1 +1,2 @@
 DIST egl-wayland-1.1.19.tar.gz 76156 BLAKE2B 
a017023ea965ab0a7329c4224f8c24557ddc31b00339e49e942c85edec1b45504434ef417edf2f787a3b1de7980d8c59d552dcfd0c4690b2b95140a48a70224d
 SHA512 
5e50289656620d984a69d4dc5fbd1bdd214119db4386dd93ecee0d082ab75763db4039f1d3b40d160b32f144f3ff9638450ee63191a95dc7d3fadee1dd7120ce
+DIST egl-wayland-1.1.20_pre20250707.tar.gz 76236 BLAKE2B 
30aff57eac880c62d6ccb80946a54bcc4ffeb901f22ee0c965cc0b8fee94e11168b34664f8fd78676d17c9faa361677c5a076be095679c2ea9ef0677f072f044
 SHA512 
f1f2ad5e1c5b43e753d180ee5f9d2413e07ff0a8e44c5059bc8fd20343cf2f0129e28a844f1ee954f6c99d9611db2728351131865352bc6d23051f0327e23978

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.20_pre20250707.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.20_pre20250707.ebuild
new file mode 100644
index 000000000000..3e40a3f0a65b
--- /dev/null
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.20_pre20250707.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=91bca6e4b015330587f47400ad8d124fe0fe9927
+       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