gnu: sfml: Update to 2.5.0.
* gnu/packages/game-development.scm (sfml): Update to 2.5.0. [arguments]: Specify pkg-config dir in #:configure-flags. [native-inputs]: Add PKG-CONFIG. [inputs]: Move FLAC, FREETYPE, LIBVORBIS and OPENAL ... [propagated-inputs]: ... here. New field.master
parent
08e977d291
commit
0bc2724800
|
@ -440,7 +440,7 @@ clone.")
|
||||||
(define-public sfml
|
(define-public sfml
|
||||||
(package
|
(package
|
||||||
(name "sfml")
|
(name "sfml")
|
||||||
(version "2.3.2")
|
(version "2.5.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
;; Do not fetch the archives from
|
;; Do not fetch the archives from
|
||||||
|
@ -451,24 +451,29 @@ clone.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0k2fl5xk3ni2q8bsxl0551inx26ww3w6cp6hssvww0wfjdjcirsm"))))
|
"1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
(list "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE")
|
(list "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE"
|
||||||
|
"-DSFML_OS_PKGCONFIG_DIR=lib/pkgconfig")
|
||||||
#:tests? #f)) ; no tests
|
#:tests? #f)) ; no tests
|
||||||
|
(native-inputs
|
||||||
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("mesa" ,mesa)
|
`(("mesa" ,mesa)
|
||||||
("glew" ,glew)
|
("glew" ,glew)
|
||||||
("flac" ,flac)
|
|
||||||
("libvorbis" ,libvorbis)
|
|
||||||
("libx11" ,libx11)
|
("libx11" ,libx11)
|
||||||
("xcb-util-image" ,xcb-util-image)
|
("xcb-util-image" ,xcb-util-image)
|
||||||
("libxrandr" ,libxrandr)
|
("libxrandr" ,libxrandr)
|
||||||
("eudev" ,eudev)
|
("eudev" ,eudev)
|
||||||
("freetype" ,freetype)
|
|
||||||
("libjpeg" ,libjpeg)
|
("libjpeg" ,libjpeg)
|
||||||
("libsndfile" ,libsndfile)
|
("libsndfile" ,libsndfile)))
|
||||||
|
(propagated-inputs
|
||||||
|
;; In Requires.private of pkg-config files.
|
||||||
|
`(("flac" ,flac)
|
||||||
|
("freetype" ,freetype)
|
||||||
|
("libvorbis" ,libvorbis)
|
||||||
("openal" ,openal)))
|
("openal" ,openal)))
|
||||||
(home-page "https://www.sfml-dev.org")
|
(home-page "https://www.sfml-dev.org")
|
||||||
(synopsis "Simple and Fast Multimedia Library")
|
(synopsis "Simple and Fast Multimedia Library")
|
||||||
|
|
Loading…
Reference in New Issue