summary refs log tree commit diff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-01-30 13:15:34 +0800
committerHilton Chain <hako@ultrarare.space>2024-02-05 14:13:22 +0800
commit049ca6d4765c26d7d7822ea5ac0ca27351351578 (patch)
tree1dad21777d416a49c661b8a1e313afc0b6f5ea2d /gnu/packages/xorg.scm
parent082cb392194e36e96fec1795e3c494c1992371e7 (diff)
downloadguix-049ca6d4765c26d7d7822ea5ac0ca27351351578.tar.gz
gnu: Add egl-gbm.
* gnu/packages/xorg.scm (egl-gbm): New variable.

Change-Id: Idb7785e898f7289ddc6100d3d11b797db163ca3e
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index e768cdb725..17a35d964d 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5217,6 +5217,29 @@ application-facing EGL functions.")
     (home-page "https://github.com/NVIDIA/eglexternalplatform")
     (license license:expat)))
 
+(define-public egl-gbm
+  (package
+    (name "egl-gbm")
+    (version "1.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/NVIDIA/egl-gbm")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "125h1751vdg60klci0cbmcqj46spxalzqawvvd469qvx69bm30da"))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config))
+    (inputs (list eglexternalplatform mesa))
+    (synopsis "GBM EGL external platform library")
+    (description
+     "This package provides an EGL External Platform library implementation for
+GBM EGL support.")
+    (home-page "https://github.com/NVIDIA/egl-gbm")
+    (license license:expat)))
+
 (define-public egl-wayland
   (package
     (name "egl-wayland")