gnu: igt-gpu-tools: Don't use NAME in source URI.
[jackhill/guix/guix.git] / gnu / packages / cinnamon.scm
CommitLineData
96acbc2b 1;;; GNU Guix --- Functional package management for GNU
4a78fd46 2;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
b22c44f1 3;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
96acbc2b 4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages cinnamon)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix utils)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages autotools)
28 #:use-module (gnu packages freedesktop)
29 #:use-module (gnu packages gettext)
30 #:use-module (gnu packages glib)
31 #:use-module (gnu packages gtk)
32 #:use-module (gnu packages gnome)
33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages pulseaudio)
35 #:use-module (gnu packages python)
36 #:use-module (gnu packages xorg))
37
38(define-public cinnamon-desktop
39 (package
40 (name "cinnamon-desktop")
41 (version "3.4.2")
42 (source (origin
43 (method url-fetch)
44 (uri (string-append "https://github.com/linuxmint/cinnamon-desktop/"
45 "archive/" version ".tar.gz"))
46 (file-name (string-append name "-" version ".tar.gz"))
47 (sha256
48 (base32
49 "1jf24csrbfi9aiza1g70jpvsbjiqwphk0i5wilxq9kpjjsl99maq"))))
50 (build-system gnu-build-system)
51 (arguments
52 `(#:phases
53 (modify-phases %standard-phases
b22c44f1 54 (add-before 'bootstrap 'skip-premature-configure
96acbc2b 55 (lambda _
b22c44f1
TGR
56 (setenv "NOCONFIGURE" "set")
57 #t)))))
96acbc2b 58 ;; TODO: package 'libgsystem'.
59 (inputs
60 `(("accountsservice" ,accountsservice)
61 ("gtk+" ,gtk+)
62 ("glib" ,glib)
63 ("gobject-introspection" ,gobject-introspection)
64 ("gnome-common" ,gnome-common)
65 ("libxkbfile" ,libxkbfile)
66 ("libxrandr" ,libxrandr)
67 ("python-2" ,python-2)
68 ("pulseaudio" ,pulseaudio)
69 ("xkeyboard-config" ,xkeyboard-config)))
70 (native-inputs
71 `(("autoconf" ,autoconf)
72 ("automake" ,automake)
73 ("gettext" ,gettext-minimal)
74 ("glib" ,glib "bin") ; glib-gettextize
75 ("intltool" ,intltool)
76 ("libtool" ,libtool)
77 ("pkg-config" ,pkg-config)))
78 (home-page "https://github.com/linuxmint/cinnamon-desktop/")
79 (synopsis "Library for the Cinnamon Desktop")
80 (description
81 "The cinnamon-desktop package contains the libcinnamon-desktop library,
82as well as some desktop-wide documents.")
83 (license (list license:gpl2+ license:lgpl2.0+
84 license:expat)))) ;display-name.c , edid-parse.c