1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
4 ;;; This file is part of GNU Guix.
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.
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.
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/>.
19 (define-module (distro packages libjpeg)
21 #:use-module (guix licenses)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu))
26 (define-public libjpeg
32 (uri (string-append "http://www.ijg.org/files/jpegsrc.v"
35 "0dg5wxcx3cw0hal9gvivj97vid9z0s5sb1yvg55hpxmafn9rxqn4"))))
36 (build-system gnu-build-system)
37 (synopsis "Libjpeg, a library for handling JPEG files")
39 "Libjpeg implements JPEG image encoding, decoding, and transcoding.
40 JPEG is a standardized compression method for full-color and gray-scale
42 The included programs provide conversion between the JPEG format and
43 image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.")
45 (home-page "http://www.ijg.org/")))
47 (define-public libjpeg-8
48 (package (inherit libjpeg)
53 (uri (string-append "http://www.ijg.org/files/jpegsrc.v"
56 "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"))))))