gnu: dealii: Update to 8.5.0.
[jackhill/guix/guix.git] / gnu / packages / inkscape.scm
CommitLineData
1d07e931
JD
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 John Darrington <jmd@gnu.org>
8e359335 3;;; Copyright © 2014, 2016 Mark H Weaver <mhw@netris.org>
3f62fa2b 4;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
1d07e931
JD
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages inkscape)
b5b73a82 22 #:use-module ((guix licenses) #:prefix license:)
1d07e931
JD
23 #:use-module (guix packages)
24 #:use-module (guix download)
bc351001 25 #:use-module (guix utils)
68f90673 26 #:use-module (guix build-system cmake)
1d07e931
JD
27 #:use-module (gnu packages)
28 #:use-module (gnu packages aspell)
29 #:use-module (gnu packages bdw-gc)
30 #:use-module (gnu packages boost)
31 #:use-module (gnu packages glib)
32 #:use-module (gnu packages gtk)
33 #:use-module (gnu packages maths)
34 #:use-module (gnu packages perl)
35 #:use-module (gnu packages pdf)
36 #:use-module (gnu packages popt)
37 #:use-module (gnu packages python)
38 #:use-module (gnu packages xml)
39 #:use-module (gnu packages ghostscript)
40 #:use-module (gnu packages fontutils)
e55354b8 41 #:use-module (gnu packages image)
1d07e931
JD
42 #:use-module (gnu packages pkg-config))
43
44(define-public inkscape
45 (package
46 (name "inkscape")
fbbb1abf 47 (version "0.92.1")
1d07e931
JD
48 (source (origin
49 (method url-fetch)
68f90673
RW
50 (uri (string-append "https://media.inkscape.org/dl/"
51 "resources/file/"
52 "inkscape-" version ".tar.bz2"))
1d07e931
JD
53 (sha256
54 (base32
fbbb1abf 55 "01chr3vh728dkg7l7lilwgmh5nrp784khdhjgpqjbq9dh2zhax15"))))
68f90673 56 (build-system cmake-build-system)
1d07e931
JD
57 (inputs
58 `(("aspell" ,aspell)
59 ("gtkmm" ,gtkmm-2)
60 ("gtk" ,gtk+-2)
61 ("gsl" ,gsl)
62 ("poppler" ,poppler)
63 ("libpng" ,libpng)
64 ("libxml2" ,libxml2)
65 ("libxslt" ,libxslt)
618ea7c9 66 ("libgc" ,libgc)
1d07e931
JD
67 ("freetype" ,freetype)
68 ("popt" ,popt)
69 ("python" ,python-2)
70 ("lcms" ,lcms)
71 ("boost" ,boost)))
72 (native-inputs
73 `(("intltool" ,intltool)
68f90673 74 ("glib" ,glib "bin")
1d07e931
JD
75 ("perl" ,perl)
76 ("pkg-config" ,pkg-config)))
68f90673
RW
77 ;; FIXME: tests require gmock
78 (arguments `(#:tests? #f))
1d07e931
JD
79 (home-page "http://inkscape.org/")
80 (synopsis "Vector graphics editor")
81 (description "Inkscape is a vector graphics editor. What sets Inkscape
82apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standard,
83as the native format.")
84 (license license:gpl2+)))