From fa2ec9f76322d935db88be8b3654a18abb4fd035 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 4 Nov 2025 10:22:29 -0500 Subject: [PATCH] gui-libs/egl-x11: add 1.0.4_pre20251008 Latest nvidia-drivers have the libraries of 1.0.4 but there is no release yet, match using a snapshot fwiw albeit there's only a 1 commit difference and doubt it means much. Signed-off-by: Ionen Wolkens --- gui-libs/egl-x11/Manifest | 1 + .../egl-x11/egl-x11-1.0.4_pre20251008.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 gui-libs/egl-x11/egl-x11-1.0.4_pre20251008.ebuild diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest index 38b8901b9944..70a76e36f71c 100644 --- a/gui-libs/egl-x11/Manifest +++ b/gui-libs/egl-x11/Manifest @@ -1 +1,2 @@ DIST egl-x11-1.0.3.tar.gz 72063 BLAKE2B 42645b2b31040b74fa6e7043b4ec9eee8d467e5095c6d876b2672bb0a9e003e1eeb968cd5c6ae22ad34f3945b98382632ab211222647b4171cb2b2d9874e8fe3 SHA512 7e81ebc7c567e2198abc18e970e8f132fd1862b2f847f48cd8fe3d51703db08ced4e4cc05b99cb2d458c4341f584d45551003516000f9cb49ae77f623be06e36 +DIST egl-x11-1.0.4_pre20251008.tar.gz 72132 BLAKE2B 5dd529251d00ef345e9c75d04280d82f88aeec614ae8b2370f285c0590510a33f7e80bb88e854a8979806f1afb8d0d0a19cd61dc274cdbc0a87509c5c29ec671 SHA512 94f7e6f806d1c81ba5341b8649678367e660777da43095a0fa2bcfc9210dcab44aef394ee27501a935c70f7084fccfdae93bf74b3547e9f26d2f6d02195433df diff --git a/gui-libs/egl-x11/egl-x11-1.0.4_pre20251008.ebuild b/gui-libs/egl-x11/egl-x11-1.0.4_pre20251008.ebuild new file mode 100644 index 000000000000..40f44e3d48cc --- /dev/null +++ b/gui-libs/egl-x11/egl-x11-1.0.4_pre20251008.ebuild @@ -0,0 +1,45 @@ +# Copyright 2024-2025 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=511591256a9271c494ffcb47ea542803f6280d1a + 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}] + !