1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| | ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages libopenjpeg)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages ncurses))
(define-public libopenjpeg
(package
(name "libopenjpeg")
(version "2.0.0")
(source (origin
(method url-fetch)
(uri (string-append
"http://openjpeg.googlecode.com/files/openjpeg-"
version ".tar.gz"))
(sha256
(base32 "1n05yrmscpgksrh2kfh12h18l0lw9j03mgmvwcg3hm8m0lwgak9k"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
#:configure-flags
'("-DBUILD_DOC:BOOL=ON"
"-DBUILD_TESTING:BOOL=ON")))
(home-page "http://www.openjpeg.org/")
(synopsis "A JPEG 2000 codec")
(description
"The OpenJPEG library is an open-source JPEG 2000 codec written in C
language. It has been developed in order to promote the use of JPEG 2000, the
new still-image compression standard from the Joint Photographic Experts Group
(JPEG). In addition to the basic codec, various other features are under
development, among them the JP2 and MJ2 (Motion JPEG 2000) file formats, an
indexing tool useful for the JPIP protocol, JPWL-tools for error-resilience, a
Java-viewer for j2k-images, ... ")
(license bsd-2)))
|