mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: supertuxkart: Update to 1.3.
* gnu/packages/games.scm (supertuxkart): Update to 1.3. [source]: Download from github. Update snippet to remove different bundled libraries. [arguments]: Adjust configure-flags for new version. [inputs]: Add sqlite.
This commit is contained in:
parent
ba8ddb3480
commit
27e33695b3
1 changed files with 10 additions and 7 deletions
|
@ -3951,15 +3951,16 @@ (define-public extremetuxracer
|
||||||
(define-public supertuxkart
|
(define-public supertuxkart
|
||||||
(package
|
(package
|
||||||
(name "supertuxkart")
|
(name "supertuxkart")
|
||||||
(version "1.2")
|
(version "1.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/supertuxkart/SuperTuxKart/"
|
(uri (string-append "https://github.com/supertuxkart/stk-code/"
|
||||||
|
"releases/download/"
|
||||||
version "/SuperTuxKart-" version "-src.tar.xz"))
|
version "/SuperTuxKart-" version "-src.tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dvx56hmy6wdhl7m9dw8zc1n3jqfp05gnxl6zs1rbfdyzl5dybh5"))
|
"1z9z13zarv28h4jrmjna5hr6m9266pm7c2kgiwhqls01k06ypazf"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Delete bundled library sources
|
;; Delete bundled library sources
|
||||||
|
@ -3969,17 +3970,18 @@ (define-public supertuxkart
|
||||||
;; here: http://forum.freegamedev.net/viewtopic.php?f=17&t=3906
|
;; here: http://forum.freegamedev.net/viewtopic.php?f=17&t=3906
|
||||||
;; FIXME: try to unbundle angelscript, libmcpp and libraqm
|
;; FIXME: try to unbundle angelscript, libmcpp and libraqm
|
||||||
(for-each delete-file-recursively
|
(for-each delete-file-recursively
|
||||||
'("lib/glew"
|
'("lib/dnsc"
|
||||||
"lib/wiiuse"
|
"lib/enet"
|
||||||
"lib/enet"))
|
"lib/mojoal"
|
||||||
|
"lib/wiiuse"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "-DUSE_WIIUSE=0"
|
(list "-DUSE_WIIUSE=0"
|
||||||
"-DUSE_SYSTEM_GLEW=TRUE"
|
|
||||||
"-DUSE_SYSTEM_ENET=TRUE"
|
"-DUSE_SYSTEM_ENET=TRUE"
|
||||||
|
"-DUSE_CRYPTO_OPENSSL=TRUE"
|
||||||
;; In order to use the system ENet library, IPv6 support (added in
|
;; In order to use the system ENet library, IPv6 support (added in
|
||||||
;; SuperTuxKart version 1.1) must be disabled.
|
;; SuperTuxKart version 1.1) must be disabled.
|
||||||
"-DUSE_IPV6=FALSE"
|
"-DUSE_IPV6=FALSE"
|
||||||
|
@ -3997,6 +3999,7 @@ (define-public supertuxkart
|
||||||
("mesa" ,mesa)
|
("mesa" ,mesa)
|
||||||
("openal" ,openal)
|
("openal" ,openal)
|
||||||
("sdl2" ,sdl2)
|
("sdl2" ,sdl2)
|
||||||
|
("sqlite" ,sqlite)
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
;; The following input is needed to build the bundled and modified
|
;; The following input is needed to build the bundled and modified
|
||||||
;; version of irrlicht.
|
;; version of irrlicht.
|
||||||
|
|
Loading…
Reference in a new issue