nongnu: Add egl-x11.

* nongnu/packages/nvidia.scm (egl-x11): New variable.
This commit is contained in:
Hilton Chain 2024-12-13 23:07:28 +08:00
parent e2ddc617e7
commit 88f33edcb0
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -888,6 +888,30 @@ GBM EGL support.")
(home-page "https://github.com/NVIDIA/egl-gbm")
(license license-gnu:expat)))
(define-public egl-x11
(package
(name "egl-x11")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/NVIDIA/egl-x11")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"15zqzx061cpzcs0mxc7nnsv9rabfszfxxmwr5v7flxi4m9j6hshc"))))
(build-system meson-build-system)
(native-inputs (list pkg-config))
(inputs (list eglexternalplatform mesa-for-nvda))
(synopsis "X11 and XCB EGL external platform library")
(description
"This package provides an EGL platform library for the NVIDIA driver to
support XWayland via xlib (using @code{EGL_KHR_platform_x11}) or xcb (using
@code{EGL_EXT_platform_xcb}).")
(home-page "https://github.com/NVIDIA/egl-x11")
(license license-gnu:expat)))
(define-public gpustat
(package
(name "gpustat")