gui-libs/egl-x11: add 1.0.3_pre20250707

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

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-05 22:07:37 -04:00
parent c32343c60c
commit 608d25a899
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST egl-x11-1.0.2.tar.gz 72043 BLAKE2B 9e282dba0864c6a4f4e02ca9b9a75559d090fcaadf44eb660fa988b198e55d796ea713c2c6374c6e4096d2dee21b7566767cee4282531ec31f697b0fc2d561e6 SHA512 a0f78d4937f5c447c18ffb799ff78913d23484d7eeed4b60a00714d4e42b3a762008156b0ef0334cdc212b9df5993b4abbdab2873bb63c4dc17d1c4599abf694
DIST egl-x11-1.0.3_pre20250707.tar.gz 72134 BLAKE2B ca99a026750e740736842d01b251aabe895fca130a19c22a5a14176ff82a40f5c2c7e43ce87fdb1a041192a59a9386f4ff3d92e67a6e8799aaa3f10ae95ba991 SHA512 597b066dd8b34e14f211b4679ca8647ff5450c071fb00e3473ad4cfdbcd3e2aebae5bb10371dd6f484db75a7d4c867bf5f89a5d87df30f001a9a4a71141772d7

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=5dc860774a201ee6b90ce45dc4c70f1c2a6c419a
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
"