mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-04 01:07:41 +01:00
gnu: arcan: Use new style arguments.
* gnu/packages/arcan.scm (arcan)[arguments]: Use new style arguments. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
2b6b951f55
commit
076660f2ef
1 changed files with 24 additions and 26 deletions
|
@ -79,10 +79,9 @@ (define-public arcan
|
||||||
(delete-file-recursively "external/sqlite")))))
|
(delete-file-recursively "external/sqlite")))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DBUILD_PRESET=everything"
|
(list #:configure-flags #~'("-DBUILD_PRESET=everything"
|
||||||
"-DDISTR_TAG='Guix'")
|
"-DDISTR_TAG='Guix'")
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-paths
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "src/platform/posix/paths.c"
|
(substitute* "src/platform/posix/paths.c"
|
||||||
|
@ -92,18 +91,17 @@ (define-public arcan
|
||||||
;; but copying files manually in the right place seems to work too.
|
;; but copying files manually in the right place seems to work too.
|
||||||
(add-after 'unpack 'prepare-static-openal
|
(add-after 'unpack 'prepare-static-openal
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((arcan-openal (assoc-ref inputs "arcan-openal")))
|
(let ((arcan-openal (assoc-ref inputs
|
||||||
(copy-recursively arcan-openal "external/git/openal"))
|
"arcan-openal")))
|
||||||
#t))
|
(copy-recursively arcan-openal
|
||||||
|
"external/git/openal")) #t))
|
||||||
(add-after 'prepare-static-openal 'generate-man
|
(add-after 'prepare-static-openal 'generate-man
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "doc"
|
(with-directory-excursion "doc"
|
||||||
(invoke "ruby" "docgen.rb" "mangen"))
|
(invoke "ruby" "docgen.rb" "mangen")) #t))
|
||||||
#t))
|
|
||||||
(add-before 'configure 'chdir
|
(add-before 'configure 'chdir
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "src")
|
(chdir "src") #t)))
|
||||||
#t)))
|
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(inputs
|
(inputs
|
||||||
`(("bash-minimal" ,bash-minimal)
|
`(("bash-minimal" ,bash-minimal)
|
||||||
|
|
Loading…
Reference in a new issue