gnu: arcan: Restyle format.

* gnu/packages/arcan.scm (arcan): Run 'guix style' over the package and
manually break some long lines.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Ahmad Draidi 2023-08-10 22:16:37 +04:00 committed by Maxim Cournoyer
parent 076660f2ef
commit c3e001f368
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -69,7 +69,8 @@ (define-public arcan
(url "https://github.com/letoram/arcan")
(commit version)))
(sha256
(base32 "14wwb7mgq8ab39dfprps7hzdz7a37r3cl8dc5q6m1r8n5daxyzgc"))
(base32
"14wwb7mgq8ab39dfprps7hzdz7a37r3cl8dc5q6m1r8n5daxyzgc"))
(modules '((guix build utils)))
(snippet
;; Remove some bundled packages.
@ -88,7 +89,8 @@ (define-public arcan
(("/usr/local")
(assoc-ref outputs "out")))))
;; Normally, it tries to fetch patched openal with git
;; 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
(lambda* (#:key inputs #:allow-other-keys)
(let ((arcan-openal (assoc-ref inputs
@ -103,8 +105,7 @@ (define-public arcan
(lambda _
(chdir "src") #t)))
#:tests? #f))
(inputs
`(("bash-minimal" ,bash-minimal)
(inputs `(("bash-minimal" ,bash-minimal)
("espeak" ,espeak)
("ffmpeg" ,ffmpeg)
("freetype" ,freetype)
@ -133,20 +134,21 @@ (define-public arcan
("zlib" ,zlib)
;; To build arcan_lwa, we need a patched version of openal.
;; https://github.com/letoram/arcan/wiki/packaging
("arcan-openal" ,(origin
("arcan-openal"
,(origin
(method git-fetch)
(file-name "arcan-openal-0.6.2")
(uri (git-reference
(url "https://github.com/letoram/openal")
(uri (git-reference (url
"https://github.com/letoram/openal")
(commit "0.6.2")))
(sha256
(base32
"0vg3fda47q2dk1n43ijcc64q39z044pa8h6scmfyi22g6r6bfw2z"))))))
(native-inputs
(list pkg-config ruby)) ; For documentation and testing
(native-inputs (list pkg-config ruby)) ;For documentation and testing
(home-page "https://arcan-fe.com")
(synopsis "Display server, multimedia framework and game engine")
(description "Arcan is a development framework for creating virtually
(description
"Arcan is a development framework for creating virtually
anything from user interfaces for specialized embedded applications
all the way to full-blown desktop environments. At its heart lies a multimedia
engine with a Lua scripting interface.")