mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: odamex: Unbundle some libraries.
* gnu/packages/games.scm (odamex) [snippet]: Remove some bundled libraries which may be replaced by inputs. [arguments] <#:configure-flags>: Add options to build client, master and server. Do not use internal libs explicitly. [native-inputs]: Add pkg-config. Change-Id: I1974febb2f5f37d963ecb5b663d17a330ba23129
This commit is contained in:
parent
6aefab6c0c
commit
54592df80d
1 changed files with 21 additions and 3 deletions
|
@ -8104,11 +8104,29 @@ (define-public odamex
|
|||
"mirror://sourceforge/odamex/Odamex/" version "/"
|
||||
"odamex-src-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1isrmki18471yry48mmm7lxzp1kiqma9cc7fx38cvpm2mpgfyvzk"))))
|
||||
(base32 "1isrmki18471yry48mmm7lxzp1kiqma9cc7fx38cvpm2mpgfyvzk"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; XXX: Unbundle more, they are not replaced by the ones provided
|
||||
;; in inputs: fltk, jsoncpp, miniupnp, protobuf.
|
||||
;;
|
||||
;; Remove some bundled libraries.
|
||||
(with-directory-excursion "libraries"
|
||||
(for-each delete-file-recursively
|
||||
'("curl" "libpng" "portmidi" "zlib")))))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments `(#:tests? #f)) ; no tests
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ; no tests
|
||||
#:configure-flags
|
||||
#~(list "-DBUILD_CLIENT=1"
|
||||
"-DBUILD_MASTER=1"
|
||||
"-DBUILD_SERVER=1"
|
||||
"-DUSE_INTERNAL_LIBS=0"
|
||||
"-DUSE_INTERNAL_MINIUPNP=0")))
|
||||
(native-inputs
|
||||
(list deutex))
|
||||
(list deutex pkg-config))
|
||||
(inputs
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
("curl" ,curl)
|
||||
|
|
Loading…
Reference in a new issue