gnu: qemu: Add pulseaudio support.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add --audio-drv-list flag. [inputs]: Add pulseaudio. (qemu-minimal)[inputs]: Remove pulseaudio.
This commit is contained in:
parent
dc993847f1
commit
28e3569f1f
|
@ -52,6 +52,7 @@
|
||||||
#:use-module (gnu packages protobuf)
|
#:use-module (gnu packages protobuf)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-web)
|
#:use-module (gnu packages python-web)
|
||||||
|
#:use-module (gnu packages pulseaudio)
|
||||||
#:use-module (gnu packages selinux)
|
#:use-module (gnu packages selinux)
|
||||||
#:use-module (gnu packages sdl)
|
#:use-module (gnu packages sdl)
|
||||||
#:use-module (gnu packages spice)
|
#:use-module (gnu packages spice)
|
||||||
|
@ -99,7 +100,8 @@
|
||||||
#:configure-flags (list "--enable-usb-redir" "--enable-opengl"
|
#:configure-flags (list "--enable-usb-redir" "--enable-opengl"
|
||||||
(string-append "--smbd="
|
(string-append "--smbd="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/libexec/samba-wrapper"))
|
"/libexec/samba-wrapper")
|
||||||
|
"--audio-drv-list=alsa,pa,sdl")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
@ -181,6 +183,7 @@ exec smbd $@")))
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
;; ("pciutils" ,pciutils)
|
;; ("pciutils" ,pciutils)
|
||||||
("pixman" ,pixman)
|
("pixman" ,pixman)
|
||||||
|
("pulseaudio" ,pulseaudio)
|
||||||
("sdl" ,sdl)
|
("sdl" ,sdl)
|
||||||
("spice" ,spice)
|
("spice" ,spice)
|
||||||
("usbredir" ,usbredir)
|
("usbredir" ,usbredir)
|
||||||
|
@ -228,7 +231,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" "libdrm" "libepoxy")))))
|
"usbredir" "libdrm" "libepoxy" "pulseaudio")))))
|
||||||
|
|
||||||
(define-public libosinfo
|
(define-public libosinfo
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue