commit:     3f6d92c17ea14c03f813c3937877379fb345160b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 17:34:16 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 18:16:48 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6d92c1

gui-libs/egl-x11: add 1.0.5_pre20251231

Snapshot to match the version shipped with nvidia-drivers-595.48.04
that hasn't been tagged yet.

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

 gui-libs/egl-x11/Manifest                         |  1 +
 gui-libs/egl-x11/egl-x11-1.0.5_pre20251231.ebuild | 45 +++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest
index 176e079690e8..1c201ffcb8e1 100644
--- a/gui-libs/egl-x11/Manifest
+++ b/gui-libs/egl-x11/Manifest
@@ -1 +1,2 @@
 DIST egl-x11-1.0.4.tar.gz 72446 BLAKE2B 
20b8a426eee275810d098906bb88c90770b315d350ea693f6827b933474d4b9bbefa1fa8ee4d222f0706914ad81056710d9a5c6a77bb43bbf80a7ad829a4a1a2
 SHA512 
60bc7252da78b0443423dbaff448aa8893c787b31c02193030c66bbc87342290baf33e0213b1c5ffc073d757867a448ec77156be02381b897991ff3e4a47ff22
+DIST egl-x11-1.0.5_pre20251231.tar.gz 73717 BLAKE2B 
210c06c1d03fbe913138a62ef743c037bbaa10f4f686a58d843395058d8f2372c7bea609f428b4727b157147eea1d2ade049f39ecabb253fa47e2225a1a6ffce
 SHA512 
6f79f4149428b33f47dfb5c3662eb7a75685a4ccc5611d71f70a4c258b0569b5c6fa198bc182a5156e1aff9978b83afc5512fa79db74f00198a7c953c0475b08

diff --git a/gui-libs/egl-x11/egl-x11-1.0.5_pre20251231.ebuild 
b/gui-libs/egl-x11/egl-x11-1.0.5_pre20251231.ebuild
new file mode 100644
index 000000000000..b7674bf4f57b
--- /dev/null
+++ b/gui-libs/egl-x11/egl-x11-1.0.5_pre20251231.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="NVIDIA X11/XCB EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-x11/";
+
+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_EGLX11=ee7617fdf119d81dd5d0211e4e14c6d283e780dc
+       SRC_URI="
+               https://github.com/NVIDIA/egl-x11/archive/${HASH_EGLX11}.tar.gz
+                       -> ${P}.tar.gz
+       "
+       S=${WORKDIR}/${PN}-${HASH_EGLX11}
+else
+       SRC_URI="
+               
https://github.com/NVIDIA/egl-x11/archive/refs/tags/v${PV}.tar.gz
+                       -> ${P}.tar.gz
+       "
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+# wrt blocker, may or may not cause problems if present with <560
+# drivers, and collides with <565.57.01-r2
+RDEPEND="
+       media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+       x11-libs/libX11[${MULTILIB_USEDEP}]
+       x11-libs/libdrm[${MULTILIB_USEDEP}]
+       x11-libs/libxcb:=[${MULTILIB_USEDEP}]
+       !<x11-drivers/nvidia-drivers-565.57.01-r2
+"
+DEPEND="
+       ${RDEPEND}
+       >=gui-libs/eglexternalplatform-1.2
+       media-libs/libglvnd
+       x11-base/xorg-proto
+"

Reply via email to