commit:     c27a815bde9912260d8f2b2a660cfc8b63400154
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 18 09:56:50 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Apr 18 09:59:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c27a815b

gui-libs/egl-x11: add 1.0.1_pre20250318

Has a notable fix for e.g. firefox and is what is included with
the latest NVIDIA 575 beta, but no proper release yet.

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

 gui-libs/egl-x11/Manifest                         |  1 +
 gui-libs/egl-x11/egl-x11-1.0.1_pre20250318.ebuild | 36 +++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest
index 9cbd4ddc400a..debc5ebff8e2 100644
--- a/gui-libs/egl-x11/Manifest
+++ b/gui-libs/egl-x11/Manifest
@@ -1 +1,2 @@
 DIST egl-x11-1.0.0.tar.gz 71522 BLAKE2B 
37fa6459ab3480e58e0b410adccb96c936a47d2d381006e5ca57fa04641b91fa72d66e490692c618bf40e95c8440aaf2f18e0ce3820979d9aeae7e21e0694aac
 SHA512 
b240698bfc6dae02c391e8ff5b5619992a237984a456a433ed0989fd0a805511c88737b87d6d748feb0482fdb5d81c76e9419414d4d1b109097a30412665aafe
+DIST egl-x11-1.0.1_pre20250318.tar.gz 72138 BLAKE2B 
0790b4000e3fb7daacc753696cafb60fb09aba462e7524366723e8eb93a8f58609cf9d71f08d86a54366b8579447b535936d9955de4f30f1b86c80bcbede2819
 SHA512 
e0d3ff6eaf9aa54526e50bd4cb7937e27eb76b86e3d12b6913319bb7c5a769984f65a8a57cb6b98c53f247116e485f75970a358bc583129fccc0265a936b594f

diff --git a/gui-libs/egl-x11/egl-x11-1.0.1_pre20250318.ebuild 
b/gui-libs/egl-x11/egl-x11-1.0.1_pre20250318.ebuild
new file mode 100644
index 000000000000..590afe5d9052
--- /dev/null
+++ b/gui-libs/egl-x11/egl-x11-1.0.1_pre20250318.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+EGLX11_HASH=0558d54cdbc563706d44671ba7d846fc12b96485
+
+DESCRIPTION="NVIDIA X11/XCB EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-x11/";
+SRC_URI="
+       https://github.com/NVIDIA/egl-x11/archive/${EGLX11_HASH}.tar.gz
+               -> ${P}.tar.gz
+"
+S=${WORKDIR}/${PN}-${EGLX11_HASH}
+
+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