me
/
guix
Archived
1
0
Fork 0

gnu: Propagate necessary inputs for sdl-image.

* gnu/packages/sdl.scm (sdl-image): Propagate jpeg, png, and tiff
  libraries.
master
David Thompson 2014-04-30 20:35:45 -04:00
parent 7560b00b1c
commit 586b6d4d45
1 changed files with 10 additions and 5 deletions

View File

@ -147,12 +147,17 @@ other supporting functions for SDL.")
(base32
"16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b"))))
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)))
;; FIXME: Add webp
(inputs `(("libpng" ,libpng)
;;
;; libjpeg, libpng, and libtiff are propagated inputs because the
;; SDL_image headers include the headers of these libraries. SDL is a
;; propagated input because the pkg-config file refers to SDL's pkg-config
;; file.
(propagated-inputs `(("sdl" ,sdl)
("libjpeg" ,libjpeg)
("libtiff" ,libtiff)
("pkg-config" ,pkg-config)))
(propagated-inputs `(("sdl" ,sdl)))
("libpng" ,libpng)
("libtiff" ,libtiff)))
(synopsis "SDL image loading library")
(description "SDL_image is an image file loading library for SDL that
supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,