From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 63582@debbugs.gnu.org
Cc: iyzsong@envs.net
Subject: [bug#63582] [PATCH 2/4] gnu: python-pygame-sdl2: Use G-Expressions.
Date: Fri, 19 May 2023 12:13:40 +0200 [thread overview]
Message-ID: <8996533df8588efeae94692f14079a22c0f1e426.1684493082.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1684493082.git.liliana.prikler@gmail.com>
* 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
next prev parent reply other threads:[~2023-05-19 11:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 10:44 [bug#63582] [PATCH 0/4] Update Ren'py to 8.1.0 Liliana Marie Prikler
2023-05-19 9:01 ` [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 9:55 ` [bug#63582] [PATCH 3/4] gnu: python-renpy: Update to 8.1.0 Liliana Marie Prikler
2023-05-19 10:13 ` Liliana Marie Prikler [this message]
2023-05-19 10:14 ` [bug#63582] [PATCH 4/4] gnu: python-renpy: Use G-Expressions Liliana Marie Prikler
2023-05-28 21:16 ` bug#63582: " Liliana Marie Prikler
2023-05-19 13:19 ` [bug#63582] [PATCH 0/4] Update Ren'py to 8.1.0 宋文武 via Guix-patches via
2023-05-23 6:59 ` [bug#63582] jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8996533df8588efeae94692f14079a22c0f1e426.1684493082.git.liliana.prikler@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=63582@debbugs.gnu.org \
--cc=iyzsong@envs.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.