From 608d25a8994ae076f6ad1fcbb321cae356fc5983 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 5 Aug 2025 22:07:37 -0400 Subject: [PATCH] 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 --- gui-libs/egl-x11/Manifest | 1 + .../egl-x11/egl-x11-1.0.3_pre20250707.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 gui-libs/egl-x11/egl-x11-1.0.3_pre20250707.ebuild diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest index e17aac883145a..89cdccec50e09 100644 --- a/gui-libs/egl-x11/Manifest +++ b/gui-libs/egl-x11/Manifest @@ -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 diff --git a/gui-libs/egl-x11/egl-x11-1.0.3_pre20250707.ebuild b/gui-libs/egl-x11/egl-x11-1.0.3_pre20250707.ebuild new file mode 100644 index 0000000000000..d0891e9495400 --- /dev/null +++ b/gui-libs/egl-x11/egl-x11-1.0.3_pre20250707.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=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}] + !