gnu: qemu: Add OpenGL support.
Enables virgl support with spice 0.13+. * gnu/packages/virtualization.scm (qemu)[arguments]<#:configure-flags>: Add --enable-opengl. [inputs]: Add libdrm and libepoxy. (qemu-minimal)[inputs]: Remove libdrm and libepoxy. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
8da7f79281
commit
9a187b39b7
|
@ -86,7 +86,7 @@
|
||||||
'(;; Running tests in parallel can occasionally lead to failures, like:
|
'(;; Running tests in parallel can occasionally lead to failures, like:
|
||||||
;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead)
|
;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead)
|
||||||
#:parallel-tests? #f
|
#:parallel-tests? #f
|
||||||
#:configure-flags '("--enable-usb-redir")
|
#:configure-flags '("--enable-usb-redir" "--enable-opengl")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
@ -144,6 +144,8 @@
|
||||||
("libaio" ,libaio)
|
("libaio" ,libaio)
|
||||||
("libattr" ,attr)
|
("libattr" ,attr)
|
||||||
("libcap" ,libcap) ; virtfs support requires libcap & libattr
|
("libcap" ,libcap) ; virtfs support requires libcap & libattr
|
||||||
|
("libdrm" ,libdrm)
|
||||||
|
("libepoxy" ,libepoxy)
|
||||||
("libjpeg" ,libjpeg-8)
|
("libjpeg" ,libjpeg-8)
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
("libusb" ,libusb) ;USB pass-through support
|
("libusb" ,libusb) ;USB pass-through support
|
||||||
|
@ -198,7 +200,7 @@ server and embedded PowerPC, and S390 guests.")
|
||||||
;; Remove dependencies on optional libraries, notably GUI libraries.
|
;; Remove dependencies on optional libraries, notably GUI libraries.
|
||||||
(inputs (fold alist-delete (package-inputs qemu)
|
(inputs (fold alist-delete (package-inputs qemu)
|
||||||
'("libusb" "mesa" "sdl" "spice" "virglrenderer"
|
'("libusb" "mesa" "sdl" "spice" "virglrenderer"
|
||||||
"usbredir")))))
|
"usbredir" "libdrm" "libepoxy")))))
|
||||||
|
|
||||||
(define-public libosinfo
|
(define-public libosinfo
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue