gnu: sdl: Propagate libx11.

* gnu/packages/sdl.scm (sdl): Propagate LIBX11.
  (sdl-gfx, sdl-ttf): Remove LIBX11 from 'inputs'.
This commit is contained in:
Ludovic Courtès 2013-11-23 18:18:45 +01:00
parent ff1cbb9538
commit 558a5122fa

View file

@ -55,8 +55,10 @@ (define sdl
"005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn"))))
(build-system gnu-build-system)
(arguments '(#:tests? #f)) ; no check target
(inputs `(("libx11" ,libx11)
("libxrandr" ,libxrandr)
(propagated-inputs
;; SDL headers include X11 headers.
`(("libx11" ,libx11)))
(inputs `(("libxrandr" ,libxrandr)
("mesa" ,mesa)
("alsa-lib" ,alsa-lib)
("pkg-config" ,pkg-config)
@ -118,7 +120,6 @@ (define sdl-gfx
"064islldm4r42lgj9fr4kbk66r7jmmakk9745hhyb1kmw71kib9h"))))
(build-system gnu-build-system)
(propagated-inputs `(("sdl" ,sdl)))
(inputs `(("libx11" ,libx11)))
(synopsis "SDL graphics primitives library")
(description "SDL_gfx provides graphics drawing primitives, rotozoom and
other supporting functions for SDL.")
@ -218,7 +219,6 @@ (define sdl-ttf
(build-system gnu-build-system)
(propagated-inputs `(("sdl" ,sdl)))
(inputs `(("freetype" ,font:freetype)
("libx11" ,libx11)
("mesa" ,mesa)
("pkg-config" ,pkg-config)))
(synopsis "SDL TrueType font library")