mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: sfml: Remove all bundled dependencies.
* gnu/packages/game-development.scm (sfml)[source](snippet): New field. [inputs]: Add STB-IMAGE and STB-IMAGE-WRITE.
This commit is contained in:
parent
ecb1194bbc
commit
67c127c9cb
1 changed files with 11 additions and 2 deletions
|
@ -74,6 +74,7 @@ (define-module (gnu packages game-development)
|
|||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages stb)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages video)
|
||||
|
@ -451,7 +452,13 @@ (define-public sfml
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab"))))
|
||||
"1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Ensure system libraries are used.
|
||||
(delete-file-recursively "extlibs")
|
||||
#t))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
|
@ -468,7 +475,9 @@ (define-public sfml
|
|||
("libxrandr" ,libxrandr)
|
||||
("eudev" ,eudev)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libsndfile" ,libsndfile)))
|
||||
("libsndfile" ,libsndfile)
|
||||
("stb-image" ,stb-image)
|
||||
("stb-image-write" ,stb-image-write)))
|
||||
(propagated-inputs
|
||||
;; In Requires.private of pkg-config files.
|
||||
`(("flac" ,flac)
|
||||
|
|
Loading…
Reference in a new issue