[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: warzone2100: Rewrite package arguments to G-expressions.
From: |
guix-commits |
Subject: |
02/11: gnu: warzone2100: Rewrite package arguments to G-expressions. |
Date: |
Tue, 30 May 2023 06:42:24 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit d32fb0ee6bc6bdd91b55a52d03cc32075b55f49b
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Wed May 24 21:38:35 2023 +0800
gnu: warzone2100: Rewrite package arguments to G-expressions.
* gnu/packages/games.scm (warzone2100)[arguments]: Convert to list of
G-expressions.
---
gnu/packages/games.scm | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index eb3e0eb842..862aa26805 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5414,30 +5414,30 @@ in-window at 640x480 resolution or fullscreen.")
#t))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DWZ_DISTRIBUTOR=Guix"
- "-DWZ_ENABLE_BACKEND_VULKAN=off"
- "-DENABLE_DISCORD=off")
- #:tests? #f ; TODO: Tests seem to be broken, configure.ac is missing.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-utfcpp-include
- (lambda _
- (substitute* "lib/framework/wzstring.cpp"
- (("<utfcpp/source/utf8.h>") "<utf8.h>"))
- #t))
- (add-after 'unpack 'link-tests-with-qt
- (lambda _
- (substitute* "tests/Makefile.am"
- (("(framework_linktest_LDADD|maptest_LDADD) = " prefix)
- (string-append prefix "$(QT5_LIBS) ")))
- #t))
- (add-after 'unpack 'fix-ivis-linktest
- (lambda _
- (substitute* "tests/ivis_linktest.cpp"
- (("iV_DrawTextRotated.*;")
- (string-append "iV_DrawTextRotated(\"Press ESC to exit.\", "
- "100, 100, 0.0f, font_regular);")))
- #t)))))
+ (list #:configure-flags #~'("-DWZ_DISTRIBUTOR=Guix"
+ "-DWZ_ENABLE_BACKEND_VULKAN=off"
+ "-DENABLE_DISCORD=off")
+ #:tests? #f ; TODO: Tests seem to be broken, configure.ac is
missing.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-utfcpp-include
+ (lambda _
+ (substitute* "lib/framework/wzstring.cpp"
+ (("<utfcpp/source/utf8.h>")
+ "<utf8.h>"))))
+ (add-after 'unpack 'link-tests-with-qt
+ (lambda _
+ (substitute* "tests/Makefile.am"
+ (("(framework_linktest_LDADD|maptest_LDADD) = "
+ prefix)
+ (string-append prefix "$(QT5_LIBS) ")))))
+ (add-after 'unpack 'fix-ivis-linktest
+ (lambda _
+ (substitute* "tests/ivis_linktest.cpp"
+ (("iV_DrawTextRotated.*;")
+ (string-append
+ "iV_DrawTextRotated(\"Press ESC to exit.\", "
+ "100, 100, 0.0f, font_regular);"))))))))
(native-inputs (list asciidoc
ruby-asciidoctor
gettext-minimal
- branch master updated (3807876af4 -> 2b1b0a580d), guix-commits, 2023/05/30
- 01/11: gnu: warzone2100: Update to 4.3.5., guix-commits, 2023/05/30
- 09/11: gnu: smartdns: Update to 42., guix-commits, 2023/05/30
- 03/11: gnu: font-chiron-sung-hk: Update to 1.008., guix-commits, 2023/05/30
- 05/11: gnu: font-lxgw-wenkai: Update to 1.300., guix-commits, 2023/05/30
- 08/11: gnu: hyfetch: Update to 1.4.8., guix-commits, 2023/05/30
- 10/11: gnu: busybox: Update to 1.36.1., guix-commits, 2023/05/30
- 04/11: gnu: font-chiron-hei-hk: Update to 2.506., guix-commits, 2023/05/30
- 02/11: gnu: warzone2100: Rewrite package arguments to G-expressions.,
guix-commits <=
- 06/11: gnu: font-lxgw-wenkai-tc: Update to 1.000., guix-commits, 2023/05/30
- 07/11: gnu: font-sarasa-gothic: Update to 0.40.7., guix-commits, 2023/05/30
- 11/11: gnu: xpra: Update to 4.4.5., guix-commits, 2023/05/30