You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
2.1 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
  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. (define-module (gnu packages libjpeg)
  19. #:use-module (gnu packages)
  20. #:use-module (guix licenses)
  21. #:use-module (guix packages)
  22. #:use-module (guix download)
  23. #:use-module (guix build-system gnu))
  24. (define-public libjpeg
  25. (package
  26. (name "libjpeg")
  27. (version "9")
  28. (source (origin
  29. (method url-fetch)
  30. (uri (string-append "http://www.ijg.org/files/jpegsrc.v"
  31. version ".tar.gz"))
  32. (sha256 (base32
  33. "0dg5wxcx3cw0hal9gvivj97vid9z0s5sb1yvg55hpxmafn9rxqn4"))))
  34. (build-system gnu-build-system)
  35. (synopsis "Libjpeg, a library for handling JPEG files")
  36. (description
  37. "Libjpeg implements JPEG image encoding, decoding, and transcoding.
  38. JPEG is a standardized compression method for full-color and gray-scale
  39. images.
  40. The included programs provide conversion between the JPEG format and
  41. image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.")
  42. (license ijg)
  43. (home-page "http://www.ijg.org/")))
  44. (define-public libjpeg-8
  45. (package (inherit libjpeg)
  46. (version "8d")
  47. (source (origin
  48. (method url-fetch)
  49. (uri (string-append "http://www.ijg.org/files/jpegsrc.v"
  50. version ".tar.gz"))
  51. (sha256 (base32
  52. "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"))))))