gnu: lookingglass: Update to commit 41f4166.

* gnu/packages/virtualization.scm (lookingglass): Update to commit 41f4166.
[inputs]: Add wayland.
This commit is contained in:
Rutger Helling 2019-02-25 15:55:09 +01:00
parent cc842b58af
commit 16a47f23f4
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 47 additions and 44 deletions

View File

@ -48,6 +48,7 @@
#:use-module (gnu packages firmware) #:use-module (gnu packages firmware)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages gl) #:use-module (gnu packages gl)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
@ -796,53 +797,55 @@ Machine Protocol.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public lookingglass (define-public lookingglass
(package (let ((commit "41f4166aedeba65892f6db4de4de467aec9a2052"))
(name "lookingglass") (package
(version "a12") (name "lookingglass")
(source (version (string-append "a12-" (string-take commit 7)))
(origin (source
(method git-fetch) (origin
(uri (git-reference (url "https://github.com/gnif/LookingGlass") (method git-fetch)
(commit version))) (uri (git-reference (url "https://github.com/gnif/LookingGlass")
(file-name (git-file-name name version)) (commit commit)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0r6bvl9q94039r6ff4f2bg8si95axx9w8bf1h1qr5730d2kv5yxq")))) (base32
(build-system cmake-build-system) "1sjxf4zy7h0zprla3s6dfwsxhmkrwhlhj07svf5bk5ij20bs0dc2"))))
(inputs `(("fontconfig" ,fontconfig) (build-system cmake-build-system)
("glu" ,glu) (inputs `(("fontconfig" ,fontconfig)
("mesa" ,mesa) ("glu" ,glu)
("openssl" ,openssl) ("mesa" ,mesa)
("sdl2" ,sdl2) ("openssl" ,openssl)
("sdl2-ttf" ,sdl2-ttf) ("sdl2" ,sdl2)
("spice-protocol" ,spice-protocol-0.12.14))) ("sdl2-ttf" ,sdl2-ttf)
(native-inputs `(("libconfig" ,libconfig) ("spice-protocol" ,spice-protocol)
("nettle" ,nettle) ("wayland" ,wayland)))
("pkg-config" ,pkg-config))) (native-inputs `(("libconfig" ,libconfig)
(arguments ("nettle" ,nettle)
`(#:tests? #f ;; No tests are available. ("pkg-config" ,pkg-config)))
#:make-flags '("CC=gcc") (arguments
#:phases (modify-phases %standard-phases `(#:tests? #f ;; No tests are available.
(add-before 'configure 'chdir-to-client #:make-flags '("CC=gcc")
(lambda* (#:key outputs #:allow-other-keys) #:phases (modify-phases %standard-phases
(chdir "client") (add-before 'configure 'chdir-to-client
#t)) (lambda* (#:key outputs #:allow-other-keys)
(replace 'install (chdir "client")
(lambda* (#:key outputs #:allow-other-keys) #t))
(install-file "looking-glass-client" (replace 'install
(string-append (assoc-ref outputs "out") (lambda* (#:key outputs #:allow-other-keys)
"/bin")) (install-file "looking-glass-client"
#t)) (string-append (assoc-ref outputs "out")
))) "/bin"))
(home-page "https://looking-glass.hostfission.com") #t))
(synopsis "KVM Frame Relay (KVMFR) implementation") )))
(description "Looking Glass allows the use of a KVM (Kernel-based Virtual (home-page "https://looking-glass.hostfission.com")
(synopsis "KVM Frame Relay (KVMFR) implementation")
(description "Looking Glass allows the use of a KVM (Kernel-based Virtual
Machine) configured for VGA PCI Pass-through without an attached physical Machine) configured for VGA PCI Pass-through without an attached physical
monitor, keyboard or mouse. It displays the VM's rendered contents on your main monitor, keyboard or mouse. It displays the VM's rendered contents on your main
monitor/GPU.") monitor/GPU.")
;; This package requires SSE instructions. ;; This package requires SSE instructions.
(supported-systems '("i686-linux" "x86_64-linux")) (supported-systems '("i686-linux" "x86_64-linux"))
(license license:gpl2+))) (license license:gpl2+))))
(define-public runc (define-public runc
(package (package