diff --git a/gui-libs/egl-wayland2/Manifest b/gui-libs/egl-wayland2/Manifest index b89f3ffe637c5..8249be3f950d2 100644 --- a/gui-libs/egl-wayland2/Manifest +++ b/gui-libs/egl-wayland2/Manifest @@ -1,2 +1,3 @@ DIST egl-wayland2-1.0.0_rc.tar.gz 78099 BLAKE2B 1ce9fa465bc929d99259d29b3d0aaa06c5afc51127e6d68f1d19cee83badb74454d76d5ce087b0253af405d7780d970592ba624bd895459106b80f6e598df446 SHA512 53ec956d3b9bf1b48191cc643ffc59954e070f9a7d48753c337f11fc211b0c368090353f3adf080d656d2d6e03d4b5dc157302c455f6f0e85e6ef101c58f7648 DIST egl-wayland2-1.0.1_pre20251124.tar.gz 80258 BLAKE2B 2d678adc27a45f372746c0359794fb884d8d4b00e0f10125007997a6e2d122219823293b98fb8734c68ef996a4be788f8bea201db0bb41a1924946dd7d4078af SHA512 ab2c7c4d689221092e9be43ff22f8640e68774d5ffdb854eaf89021b5597dde138fcfdb5309f0ea2f05f03d42bcc56336812182e11fdd32a075e11210a3aa425 +DIST egl-wayland2-1.0.1_pre20251231.tar.gz 80900 BLAKE2B 591e44ebf209496230fea9be041c82100388dfab85127a9f54008b67d7600a63ff19a566553db8e9a649fbf5a35fe3221a52bcff3742d2283fabb7d1efa3a7d5 SHA512 e0779440a8048b8ee2c82dcc699d254227c09d5e42a3bd21ed88ca7b796997d60ff31724b542dfb6262289f498ff9141693d373ff1cda737a5c90dae162972e6 diff --git a/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251231.ebuild b/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251231.ebuild new file mode 100644 index 0000000000000..6229a36c3dab9 --- /dev/null +++ b/gui-libs/egl-wayland2/egl-wayland2-1.0.1_pre20251231.ebuild @@ -0,0 +1,44 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +DESCRIPTION="NVIDIA wayland EGL external platform library, version 2" +HOMEPAGE="https://github.com/NVIDIA/egl-wayland2/" + +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_EGLWAYLAND2=6bbe588f21255222d8a149048a48f8b1091f12e5 + SRC_URI=" + https://github.com/NVIDIA/egl-wayland2/archive/${HASH_EGLWAYLAND2}.tar.gz + -> ${P}.tar.gz + " + S=${WORKDIR}/${PN}-${HASH_EGLWAYLAND2} +else + SRC_URI=" + https://github.com/NVIDIA/egl-wayland2/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + " +fi + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-libs/wayland[${MULTILIB_USEDEP}] + media-libs/mesa[gbm(+),${MULTILIB_USEDEP}] + x11-libs/libdrm[${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} + >=dev-libs/wayland-protocols-1.38 + >=gui-libs/eglexternalplatform-1.2 + media-libs/libglvnd +" +BDEPEND=" + dev-util/wayland-scanner +"