mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add sdl-union.
* gnu/packages/sdl.scm (sdl-union): New variable.
This commit is contained in:
parent
f81ac34dd9
commit
d6f74baf5d
1 changed files with 29 additions and 0 deletions
|
@ -22,6 +22,7 @@ (define-module (gnu packages sdl)
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system trivial)
|
||||
#:use-module ((gnu packages fontutils) #:prefix font:)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages linux)
|
||||
|
@ -240,3 +241,31 @@ (define sdl-ttf
|
|||
(description "SDL_ttf is a TrueType font rendering library for SDL.")
|
||||
(home-page "http://www.libsdl.org/projects/SDL_ttf/")
|
||||
(license zlib)))
|
||||
|
||||
(define sdl-union
|
||||
(package
|
||||
(name "sdl-union")
|
||||
(version (package-version sdl))
|
||||
(source #f)
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
'(#:modules ((guix build union))
|
||||
#:builder (begin
|
||||
(use-modules (ice-9 match)
|
||||
(guix build union))
|
||||
(match %build-inputs
|
||||
(((names . directories) ...)
|
||||
(union-build (assoc-ref %outputs "out")
|
||||
directories))))))
|
||||
(inputs `(("sdl" ,sdl)
|
||||
("sdl-gfx" ,sdl-gfx)
|
||||
("sdl-image" ,sdl-image)
|
||||
("sdl-mixer" ,sdl-mixer)
|
||||
("sdl-ttf" ,sdl-ttf)))
|
||||
(synopsis "Union of all SDL libraries")
|
||||
(description
|
||||
"A union of SDL and its extension libraries. A union is required because
|
||||
sdl-config assumes that all of the headers and libraries are in the same
|
||||
directory.")
|
||||
(home-page (package-home-page sdl))
|
||||
(license (package-license sdl))))
|
||||
|
|
Loading…
Reference in a new issue