diff options
| author | Hilton Chain <hako@ultrarare.space> | 2024-12-13 23:07:28 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2024-12-20 17:00:53 +0800 |
| commit | 88f33edcb02d5be2cca1b9e23273a577ce69d480 (patch) | |
| tree | e607f27dff424ce9c4a7eb64db71ab5406b3c5a3 | |
| parent | e2ddc617e7ec3d4c1553b6004cbb992c2db54908 (diff) | |
nongnu: Add egl-x11.
* nongnu/packages/nvidia.scm (egl-x11): New variable.
| -rw-r--r-- | nongnu/packages/nvidia.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index c17d1b1..c9bebcf 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm | |||
| @@ -888,6 +888,30 @@ GBM EGL support.") | |||
| 888 | (home-page "https://github.com/NVIDIA/egl-gbm") | 888 | (home-page "https://github.com/NVIDIA/egl-gbm") |
| 889 | (license license-gnu:expat))) | 889 | (license license-gnu:expat))) |
| 890 | 890 | ||
| 891 | (define-public egl-x11 | ||
| 892 | (package | ||
| 893 | (name "egl-x11") | ||
| 894 | (version "1.0.0") | ||
| 895 | (source (origin | ||
| 896 | (method git-fetch) | ||
| 897 | (uri (git-reference | ||
| 898 | (url "https://github.com/NVIDIA/egl-x11") | ||
| 899 | (commit (string-append "v" version)))) | ||
| 900 | (file-name (git-file-name name version)) | ||
| 901 | (sha256 | ||
| 902 | (base32 | ||
| 903 | "15zqzx061cpzcs0mxc7nnsv9rabfszfxxmwr5v7flxi4m9j6hshc")))) | ||
| 904 | (build-system meson-build-system) | ||
| 905 | (native-inputs (list pkg-config)) | ||
| 906 | (inputs (list eglexternalplatform mesa-for-nvda)) | ||
| 907 | (synopsis "X11 and XCB EGL external platform library") | ||
| 908 | (description | ||
| 909 | "This package provides an EGL platform library for the NVIDIA driver to | ||
| 910 | support XWayland via xlib (using @code{EGL_KHR_platform_x11}) or xcb (using | ||
| 911 | @code{EGL_EXT_platform_xcb}).") | ||
| 912 | (home-page "https://github.com/NVIDIA/egl-x11") | ||
| 913 | (license license-gnu:expat))) | ||
| 914 | |||
| 891 | (define-public gpustat | 915 | (define-public gpustat |
| 892 | (package | 916 | (package |
| 893 | (name "gpustat") | 917 | (name "gpustat") |
