x11-drivers/nvidia-drivers: allow using gui-libs/egl-wayland2

Meant to replace gui-libs/egl-wayland, but should still be considered
experimental (use as your own risks). Requires a modern wayland
compositor with dma-buf support and >=nvidia-drivers-560.

As such the default remains v1 (placed higher), but this will allow
depcleaning v1 if users opted in v2. Note that both can be installed
at same time in which case v2 will be used if >=560.x.

Won't bother revbumping over this, will propagate on kernel upgrades
modules rebuild either way.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-10-10 03:27:10 -04:00
parent 505cf11336
commit 61a79488d4
3 changed files with 12 additions and 3 deletions

View File

@@ -61,7 +61,10 @@ RDEPEND="
powerd? ( sys-apps/dbus[abi_x86_32(-)?] )
wayland? (
>=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?]
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
|| (
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
gui-libs/egl-wayland2[abi_x86_32(-)?]
)
X? ( gui-libs/egl-x11[abi_x86_32(-)?] )
)
"

View File

@@ -65,7 +65,10 @@ RDEPEND="
powerd? ( sys-apps/dbus[abi_x86_32(-)?] )
wayland? (
>=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?]
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
|| (
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
gui-libs/egl-wayland2[abi_x86_32(-)?]
)
X? ( gui-libs/egl-x11[abi_x86_32(-)?] )
)
"

View File

@@ -64,7 +64,10 @@ RDEPEND="
powerd? ( sys-apps/dbus[abi_x86_32(-)?] )
wayland? (
>=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?]
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
|| (
>=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?]
gui-libs/egl-wayland2[abi_x86_32(-)?]
)
X? ( gui-libs/egl-x11[abi_x86_32(-)?] )
)
"