[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63582] [PATCH 2/4] gnu: python-pygame-sdl2: Use G-Expressions.
From: |
Liliana Marie Prikler |
Subject: |
[bug#63582] [PATCH 2/4] gnu: python-pygame-sdl2: Use G-Expressions. |
Date: |
Fri, 19 May 2023 12:13:40 +0200 |
* gnu/packages/game-development.scm (python-pygame-sdl2)[arguments]: Convert
to list of G-Expressions.
---
gnu/packages/game-development.scm | 32 +++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 0f12d18b27..5b3faceb89 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1298,22 +1298,22 @@ (define-public python-pygame-sdl2
(delete-file-recursively "gen-static")))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; tests require pygame to be installed
first
- #:phases
- (modify-phases %standard-phases
- (add-after 'set-paths 'set-sdl-vars
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "PYGAME_SDL2_CFLAGS"
- (string-append "-I"
- (assoc-ref inputs "sdl-union")
- "/include/SDL2 -D_REENTRANT"))
- (setenv "PYGAME_SDL2_LDFLAGS"
- (string-append "-L"
- (assoc-ref inputs "sdl-union")
- "/lib -Wl,-rpath,"
- (assoc-ref inputs "sdl-union")
- "/lib -Wl,--enable-new-dtags -lSDL2"))
- #t)))))
+ (list
+ #:tests? #f ; tests require pygame to be installed first
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'set-paths 'set-sdl-vars
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "PYGAME_SDL2_CFLAGS"
+ (string-append "-I"
+ (assoc-ref inputs "sdl-union")
+ "/include/SDL2 -D_REENTRANT"))
+ (setenv "PYGAME_SDL2_LDFLAGS"
+ (string-append "-L"
+ (assoc-ref inputs "sdl-union")
+ "/lib -Wl,-rpath,"
+ (assoc-ref inputs "sdl-union")
+ "/lib -Wl,--enable-new-dtags
-lSDL2")))))))
(inputs
(list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
(native-inputs
--
2.40.1
- [bug#63582] [PATCH 0/4] Update Ren'py to 8.1.0, Liliana Marie Prikler, 2023/05/19
- [bug#63582] [PATCH 3/4] gnu: python-renpy: Update to 8.1.0., Liliana Marie Prikler, 2023/05/19
- [bug#63582] [PATCH 2/4] gnu: python-pygame-sdl2: Use G-Expressions.,
Liliana Marie Prikler <=
- [bug#63582] [PATCH 4/4] gnu: python-renpy: Use G-Expressions., Liliana Marie Prikler, 2023/05/19
- [bug#63582] [PATCH 1/4] gnu: python-pygame-sdl2: Update to 2.1.0-for-renpy-8.1.0., Liliana Marie Prikler, 2023/05/19
- [bug#63582] [PATCH 0/4] Update Ren'py to 8.1.0, 宋文武, 2023/05/19
- [bug#63582], jgart, 2023/05/23