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 <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2025-11-04 10:22:29 -05:00
parent 235806c1c0
commit fa2ec9f763
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
2 changed files with 46 additions and 0 deletions

View File

@ -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

View File

@ -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}]
!<x11-drivers/nvidia-drivers-565.57.01-r2
"
DEPEND="
${RDEPEND}
>=gui-libs/eglexternalplatform-1.2
media-libs/libglvnd
x11-base/xorg-proto
"