Commit | Line | Data |
---|---|---|
0992cfa1 TK |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2019 Todor Kondić <tk.code@protonmail.com> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages tigervnc) | |
20 | #:use-module (gnu packages autotools) | |
21 | #:use-module (gnu packages compression) | |
22 | #:use-module (gnu packages gettext) | |
23 | #:use-module (gnu packages tls) | |
24 | #:use-module (gnu packages linux) | |
25 | #:use-module (gnu packages xorg) | |
26 | #:use-module (gnu packages fltk) | |
27 | #:use-module (gnu packages image) | |
28 | #:use-module (gnu packages cmake) | |
29 | #:use-module (gnu packages perl) | |
30 | #:use-module (gnu packages base) | |
31 | #:use-module (gnu packages commencement) | |
32 | #:use-module (guix build-system cmake) | |
33 | #:use-module (guix packages) | |
34 | #:use-module (guix download) | |
35 | #:use-module (guix git-download) | |
36 | #:use-module (guix utils) | |
37 | #:use-module ((guix licenses) #:prefix license:)) | |
38 | ||
39 | (define-public tigervnc-client | |
40 | (package | |
41 | (name "tigervnc-client") | |
42 | (version "1.9.0") | |
43 | (source | |
44 | (origin | |
45 | (method git-fetch) | |
46 | (uri | |
47 | (git-reference | |
48 | (url "https://github.com/TigerVNC/tigervnc.git") | |
49 | (commit (string-append "v" version)))) | |
50 | (sha256 | |
51 | (base32 | |
52 | "0b47fg3741qs3zdpl2zr0s6jz46dypp2j6gqrappbzm3ywnnmm1x")))) | |
53 | (build-system cmake-build-system) | |
54 | (arguments | |
55 | '(#:tests? #f ; Tests that do exists are not automated. | |
56 | #:phases (modify-phases %standard-phases | |
57 | (replace 'install | |
58 | (lambda* (#:key outputs #:allow-other-keys) | |
59 | (with-directory-excursion "vncviewer" | |
60 | (invoke "make" "install"))))))) | |
61 | (native-inputs | |
62 | `(("autoconf" ,autoconf) | |
63 | ("gettext-minimal" ,gettext-minimal) | |
64 | ("automake" ,automake))) | |
65 | (inputs | |
66 | `(("zlib" ,zlib) | |
67 | ("gnutls" ,gnutls) | |
68 | ("libjpeg-turbo" ,libjpeg-turbo) | |
69 | ("fltk" ,fltk) | |
70 | ("linux-pam" ,linux-pam) | |
71 | ("libx11" ,libx11) | |
72 | ("libxext" ,libxext) | |
73 | ("libxtst" ,libxtst) | |
74 | ("libxrandr" ,libxrandr) | |
75 | ("libxdamage" ,libxdamage))) | |
76 | (home-page "https://tigervnc.org/") | |
77 | (synopsis "High-performance, platform-neutral | |
78 | implementation of VNC (client)") | |
79 | (description "TigerVNC is a client/server implementation of VNC (Virtual | |
80 | Network Computing). It provides enough performance to run even 3D and video | |
81 | applications. It also provides extensions for advanced authentication methods | |
82 | and TLS encryption. This package installs only the VNC client, the | |
83 | application which is needed to connect to VNC servers.") | |
84 | (license license:gpl2))) |