diff options
| author | nick <nicholascaitong@gmail.com> | 2026-08-13 21:01:11 -0300 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-08-27 15:09:02 +0900 |
| commit | 177d5d5a7c248b1f62a07c8629e7baab8f5b18c6 (patch) | |
| tree | d73537c60efa7f8b6593b81ba6bf0c34afe721fa /gnu | |
| parent | bdd148b7139c09539f26112be441baa572066ec8 (diff) | |
gnu: virglrenderer: Enable Venus, video, and DRM renderers.
* gnu/packages/gl.scm (virglrenderer)[arguments]<#:configure-flags>:
Enable venus and video. Set drm-renderers to amdgpu-experimental,msm.
[inputs]: Add libdrm.
[propagated-inputs]: Add libva, and vulkan-loader.
[native-inputs]: Add vulkan-headers.
Merges: https://codeberg.org/guix/guix/pulls/10544
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/spice.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 16ed13cc78f..ab144aa7396 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm | |||
| @@ -50,7 +50,9 @@ | |||
| 50 | #:use-module (gnu packages python-xyz) | 50 | #:use-module (gnu packages python-xyz) |
| 51 | #:use-module (gnu packages security-token) | 51 | #:use-module (gnu packages security-token) |
| 52 | #:use-module (gnu packages tls) | 52 | #:use-module (gnu packages tls) |
| 53 | #:use-module (gnu packages video) | ||
| 53 | #:use-module (gnu packages virtualization) | 54 | #:use-module (gnu packages virtualization) |
| 55 | #:use-module (gnu packages vulkan) | ||
| 54 | #:use-module (gnu packages xorg) | 56 | #:use-module (gnu packages xorg) |
| 55 | #:use-module (gnu packages xdisorg) | 57 | #:use-module (gnu packages xdisorg) |
| 56 | #:use-module (gnu packages xiph) | 58 | #:use-module (gnu packages xiph) |
| @@ -101,8 +103,14 @@ different (virtual) machine than the one to which the USB device is attached.") | |||
| 101 | (base32 | 103 | (base32 |
| 102 | "0cw3a0xkmlkc5a0yydbcyvr1hhxm0x6msn8d4pf1q4ck4q97ff3q")))) | 104 | "0cw3a0xkmlkc5a0yydbcyvr1hhxm0x6msn8d4pf1q4ck4q97ff3q")))) |
| 103 | (build-system meson-build-system) | 105 | (build-system meson-build-system) |
| 104 | (inputs (list libepoxy mesa)) | 106 | (arguments |
| 105 | (native-inputs (list pkg-config python)) | 107 | (list #:configure-flags |
| 108 | #~'("-Dvenus=true" | ||
| 109 | "-Dvideo=true" | ||
| 110 | "-Ddrm-renderers=amdgpu-experimental,msm"))) | ||
| 111 | (inputs (list libepoxy mesa libdrm)) | ||
| 112 | (propagated-inputs (list libva vulkan-loader)) | ||
| 113 | (native-inputs (list pkg-config python vulkan-headers)) | ||
| 106 | (synopsis "Virtual 3D GPU library") | 114 | (synopsis "Virtual 3D GPU library") |
| 107 | (description "A virtual 3D GPU library that enables a virtualized operating | 115 | (description "A virtual 3D GPU library that enables a virtualized operating |
| 108 | system to use the host GPU to accelerate 3D rendering.") | 116 | system to use the host GPU to accelerate 3D rendering.") |
