[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/40: gnu: arcan: Restyle format.
From: |
guix-commits |
Subject: |
32/40: gnu: arcan: Restyle format. |
Date: |
Tue, 5 Sep 2023 20:02:23 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c3e001f368e15635b222db4b5fe7bfed47742bed
Author: Ahmad Draidi <a.r.draidi@redscript.org>
AuthorDate: Thu Aug 10 22:16:37 2023 +0400
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>
---
gnu/packages/arcan.scm | 200 +++++++++++++++++++++++++------------------------
1 file changed, 101 insertions(+), 99 deletions(-)
diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm
index ee32f05b64..93e5081201 100644
--- a/gnu/packages/arcan.scm
+++ b/gnu/packages/arcan.scm
@@ -59,108 +59,110 @@
#:use-module (srfi srfi-1))
(define-public arcan
- (package
- (name "arcan")
- (version "0.6.2.1")
- (source (origin
- (method git-fetch)
- (file-name (git-file-name name version))
- (uri (git-reference
- (url "https://github.com/letoram/arcan")
- (commit version)))
- (sha256
- (base32
"14wwb7mgq8ab39dfprps7hzdz7a37r3cl8dc5q6m1r8n5daxyzgc"))
- (modules '((guix build utils)))
- (snippet
- ;; Remove some bundled packages.
- #~(begin
- (delete-file-recursively "external/git")
- (delete-file-recursively "external/lua")
- (delete-file-recursively "external/sqlite")))))
- (build-system cmake-build-system)
- (arguments
- (list #:configure-flags #~'("-DBUILD_PRESET=everything"
- "-DDISTR_TAG='Guix'")
- #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "src/platform/posix/paths.c"
- (("/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.
- (add-after 'unpack 'prepare-static-openal
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((arcan-openal (assoc-ref inputs
- "arcan-openal")))
- (copy-recursively arcan-openal
- "external/git/openal")) #t))
- (add-after 'prepare-static-openal 'generate-man
- (lambda _
- (with-directory-excursion "doc"
- (invoke "ruby" "docgen.rb" "mangen")) #t))
- (add-before 'configure 'chdir
- (lambda _
- (chdir "src") #t)))
- #:tests? #f))
- (inputs
- `(("bash-minimal" ,bash-minimal)
- ("espeak" ,espeak)
- ("ffmpeg" ,ffmpeg)
- ("freetype" ,freetype)
- ("gumbo-parser" ,gumbo-parser)
- ("harfbuzz" ,harfbuzz)
- ("jbig2dec" ,jbig2dec)
- ("leptonica" ,leptonica)
- ("libdrm" ,libdrm)
- ("libjpeg-turbo" ,libjpeg-turbo)
- ("libseccomp" ,libseccomp)
- ("libusb" ,libusb)
- ("libvnc" ,libvnc)
- ("libxkbcommon" ,libxkbcommon)
- ("luajit" ,luajit)
- ("mupdf" ,mupdf)
- ("openal" ,openal)
- ("openjpeg" ,openjpeg)
- ("sdl2" ,sdl2)
- ("sqlite" ,sqlite)
- ("tesseract-ocr" ,tesseract-ocr)
- ("vlc" ,vlc)
- ("wayland" ,wayland)
- ("wayland-protocols" ,wayland-protocols)
- ("xcb-util" ,xcb-util)
- ("xcb-util-wm" ,xcb-util-wm)
- ("zlib" ,zlib)
- ;; To build arcan_lwa, we need a patched version of openal.
- ;; https://github.com/letoram/arcan/wiki/packaging
- ("arcan-openal" ,(origin
- (method git-fetch)
- (file-name "arcan-openal-0.6.2")
- (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
- (home-page "https://arcan-fe.com")
- (synopsis "Display server, multimedia framework and game engine")
- (description "Arcan is a development framework for creating virtually
+ (package
+ (name "arcan")
+ (version "0.6.2.1")
+ (source (origin
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (uri (git-reference
+ (url "https://github.com/letoram/arcan")
+ (commit version)))
+ (sha256
+ (base32
+ "14wwb7mgq8ab39dfprps7hzdz7a37r3cl8dc5q6m1r8n5daxyzgc"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove some bundled packages.
+ #~(begin
+ (delete-file-recursively "external/git")
+ (delete-file-recursively "external/lua")
+ (delete-file-recursively "external/sqlite")))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~'("-DBUILD_PRESET=everything"
+ "-DDISTR_TAG='Guix'")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "src/platform/posix/paths.c"
+ (("/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.
+ (add-after 'unpack 'prepare-static-openal
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((arcan-openal (assoc-ref inputs
+ "arcan-openal")))
+ (copy-recursively arcan-openal
+ "external/git/openal")) #t))
+ (add-after 'prepare-static-openal 'generate-man
+ (lambda _
+ (with-directory-excursion "doc"
+ (invoke "ruby" "docgen.rb" "mangen")) #t))
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "src") #t)))
+ #:tests? #f))
+ (inputs `(("bash-minimal" ,bash-minimal)
+ ("espeak" ,espeak)
+ ("ffmpeg" ,ffmpeg)
+ ("freetype" ,freetype)
+ ("gumbo-parser" ,gumbo-parser)
+ ("harfbuzz" ,harfbuzz)
+ ("jbig2dec" ,jbig2dec)
+ ("leptonica" ,leptonica)
+ ("libdrm" ,libdrm)
+ ("libjpeg-turbo" ,libjpeg-turbo)
+ ("libseccomp" ,libseccomp)
+ ("libusb" ,libusb)
+ ("libvnc" ,libvnc)
+ ("libxkbcommon" ,libxkbcommon)
+ ("luajit" ,luajit)
+ ("mupdf" ,mupdf)
+ ("openal" ,openal)
+ ("openjpeg" ,openjpeg)
+ ("sdl2" ,sdl2)
+ ("sqlite" ,sqlite)
+ ("tesseract-ocr" ,tesseract-ocr)
+ ("vlc" ,vlc)
+ ("wayland" ,wayland)
+ ("wayland-protocols" ,wayland-protocols)
+ ("xcb-util" ,xcb-util)
+ ("xcb-util-wm" ,xcb-util-wm)
+ ("zlib" ,zlib)
+ ;; To build arcan_lwa, we need a patched version of openal.
+ ;; https://github.com/letoram/arcan/wiki/packaging
+ ("arcan-openal"
+ ,(origin
+ (method git-fetch)
+ (file-name "arcan-openal-0.6.2")
+ (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
+ (home-page "https://arcan-fe.com")
+ (synopsis "Display server, multimedia framework and game engine")
+ (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.")
- ;; https://github.com/letoram/arcan/blob/master/COPYING
- (license (list license:asl2.0
- license:bsd-3
- license:cc-by3.0
- license:expat
- license:gpl2+
- license:lgpl2.0
- license:lgpl2.0+
- license:public-domain
- license:silofl1.1
- license:zlib))))
+ ;; https://github.com/letoram/arcan/blob/master/COPYING
+ (license (list license:asl2.0
+ license:bsd-3
+ license:cc-by3.0
+ license:expat
+ license:gpl2+
+ license:lgpl2.0
+ license:lgpl2.0+
+ license:public-domain
+ license:silofl1.1
+ license:zlib))))
(define-public arcan-sdl
(package
- 10/40: gnu: ibus: Disable registry cache., (continued)
- 10/40: gnu: ibus: Disable registry cache., guix-commits, 2023/09/05
- 08/40: gnu: emacs-transient: Update to 0.4.3-0.cc0fa80., guix-commits, 2023/09/05
- 05/40: gnu: highlight: Update to 4.8., guix-commits, 2023/09/05
- 01/40: gnu: ungoogled-chromium-wayland: Use gexp., guix-commits, 2023/09/05
- 14/40: gnu: sideload: Update to 6.2.1., guix-commits, 2023/09/05
- 06/40: gnu: Add fonts-tlwg., guix-commits, 2023/09/05
- 15/40: gnu: kaidan: Add missing input., guix-commits, 2023/09/05
- 19/40: gnu: simh: Use G-Expressions., guix-commits, 2023/09/05
- 34/40: gnu: ardour: Build locales., guix-commits, 2023/09/05
- 29/40: gnu: arcan: Build all features., guix-commits, 2023/09/05
- 32/40: gnu: arcan: Restyle format.,
guix-commits <=
- 38/40: gnu: python-skia-pathops: Update to 0.8.0., guix-commits, 2023/09/05
- 18/40: gnu: simh: Update to 3.12-4., guix-commits, 2023/09/05
- 39/40: Revert "guix: git: Avoid touching the network unless needed in 'reference-available?'.", guix-commits, 2023/09/05
- 27/40: gnu: xarcan: Fix indentation., guix-commits, 2023/09/05
- 36/40: gnu: skia: Update to 110.0.0f3fb7a., guix-commits, 2023/09/05
- 26/40: gnu: xarcan: Update to 0.6.1., guix-commits, 2023/09/05
- 35/40: gnu-maintenance: Do not crash on refresh when origin URI is a list., guix-commits, 2023/09/05
- 28/40: gnu: arcan: Update to 0.6.2.1., guix-commits, 2023/09/05
- 04/40: gnu: dosbox-staging: Update to 0.80.1., guix-commits, 2023/09/05
- 02/40: gnu: mpd: Remove unused imports., guix-commits, 2023/09/05