diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-03-22 06:21:54 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-03-22 22:32:52 +0800 |
| commit | d926729294f395faf4967e3daf0ac7a560c40a27 (patch) | |
| tree | a562707a55462eb980a9555c9506ba6318bb95ba /nongnu | |
| parent | 1c4f6f5a5ce81fa9dc2042e8422ffe999f4f82af (diff) | |
nongnu: egl-gbm: Update to 1.1.3.
* nongnu/packages/nvidia.scm (egl-gbm): Update to 1.1.3.
[arguments]: Patch library reference in EGL external platform configuraiton.
Diffstat (limited to 'nongnu')
| -rw-r--r-- | nongnu/packages/nvidia.scm | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 08c03ab..4c17e32 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -896,11 +896,10 @@ support. For dependency of other packages, use @code{nvidia-driver} instead.") ;;; Other packages ;;; - (define-public egl-gbm (package (name "egl-gbm") - (version "1.1.2.1") + (version "1.1.3") (source (origin (method git-fetch) (uri (git-reference @@ -909,8 +908,20 @@ support. For dependency of other packages, use @code{nvidia-driver} instead.") (file-name (git-file-name name version)) (sha256 (base32 - "1zcr1jksnh0431marzvgg301aybli29r1xw5vs4wnxgcp9bigvn6")))) + "1p9w7xc7zdrwxxiwmmhmsqf0jlzcgnrkgci2j5da4xzjasyf109s")))) (build-system meson-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'patch-library-reference + (lambda* (#:key outputs #:allow-other-keys) + (let ((dir "share/egl/egl_external_platform.d")) + (with-directory-excursion (in-vicinity #$output dir) + (substitute* "15_nvidia_gbm.json" + (("libnvidia-egl-.*\\.so\\.." lib) + (search-input-file + outputs (in-vicinity "lib" lib))))))))))) (native-inputs (list pkg-config)) (inputs (list eglexternalplatform mesa-for-nvda)) (synopsis "GBM EGL external platform library") |
