summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2014-04-30 20:35:45 -0400
committerDavid Thompson <dthompson@member.fsf.org>2014-05-01 07:44:45 -0400
commit586b6d4d45bfbf684a7a4299934d371b8b287665 (patch)
tree23e726c42b6a719c942e994103015944b02e44de /gnu
parent7560b00b1c9f24ceff7a9295ac3453594b14242d (diff)
gnu: Propagate necessary inputs for sdl-image.
* gnu/packages/sdl.scm (sdl-image): Propagate jpeg, png, and tiff libraries.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sdl.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index d86ecde38e..bbf8597c7a 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -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" ,libjpeg)
- ("libtiff" ,libtiff)
- ("pkg-config" ,pkg-config)))
- (propagated-inputs `(("sdl" ,sdl)))
+ ;;
+ ;; 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)
+ ("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,