[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/40: gnu: arcan: Use new style arguments.
From: |
guix-commits |
Subject: |
31/40: gnu: arcan: Use new style arguments. |
Date: |
Tue, 5 Sep 2023 20:02:23 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 076660f2ef1ca9fa35137e8520d77b7dcb41ee63
Author: Ahmad Draidi <a.r.draidi@redscript.org>
AuthorDate: Thu Aug 10 22:16:36 2023 +0400
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>
---
gnu/packages/arcan.scm | 50 ++++++++++++++++++++++++--------------------------
1 file changed, 24 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm
index 9d18f7a52a..ee32f05b64 100644
--- a/gnu/packages/arcan.scm
+++ b/gnu/packages/arcan.scm
@@ -79,32 +79,30 @@
(delete-file-recursively "external/sqlite")))))
(build-system cmake-build-system)
(arguments
- `(#: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))
+ (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)
- branch master updated (6548efcd73 -> c3d48d024b), guix-commits, 2023/09/05
- 37/40: gnu: skia: Update to 112.0.6d0b938., guix-commits, 2023/09/05
- 22/40: gnu: Add libmodbus., guix-commits, 2023/09/05
- 31/40: gnu: arcan: Use new style arguments.,
guix-commits <=
- 12/40: gnu: granite: Upgrade to 7.3.0., guix-commits, 2023/09/05
- 03/40: gnu: mympd: Update to 11.0.5., guix-commits, 2023/09/05
- 07/40: doc: Document mumi command-line interface., guix-commits, 2023/09/05
- 23/40: gnu: Add book-sparc., guix-commits, 2023/09/05
- 09/40: gnu: emacs-magit: Update to 3.3.0-5.186414a., guix-commits, 2023/09/05
- 17/40: gnu: thunar: Update to 4.18.7., guix-commits, 2023/09/05
- 20/40: gnu: Add font-junicode., guix-commits, 2023/09/05
- 24/40: gnu: kdenlive: Add missing kirigami input., guix-commits, 2023/09/05
- 33/40: gnu: arcan-wayland: Deprecate in favor of arcan., guix-commits, 2023/09/05
- 10/40: gnu: ibus: Disable registry cache., guix-commits, 2023/09/05