~ruther/guix-local

2f4ffa29e4ea99c5804353208d32f1acd8fa5467 — Sharlatan Hellseher 8 months ago 548f225
gnu: python-renpy: Fix build.

* gnu/packages/game-development.scm (python-renpy):
[arguments] <phases>: Add 'relax-gcc-14-strictness.
[inputs]: Remove ffmpeg; add ffmpeg-6.
[native-inputs]: Remove python-cython; add python-cython-0.

Fixes: guix/guix#3308
Change-Id: Ie0c8187e4ec12e9854ce90d94e84b06fbe9a7be1
1 files changed, 9 insertions(+), 2 deletions(-)

M gnu/packages/game-development.scm
M gnu/packages/game-development.scm => gnu/packages/game-development.scm +9 -2
@@ 1743,6 1743,13 @@ bugfixes and enhancements, and a new governance model.")
                      (search-input-file (or native-inputs inputs)
                                         "/bin/cython"))
              (setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))))
          (add-before 'build 'relax-gcc-14-strictness
            (lambda _
              (setenv "CFLAGS" (string-join
                                (list "-g" "-O2"
                                      "-Wno-error=incompatible-pointer-types"
                                      "-Wno-error=implicit-function-declaration")
                                " "))))
          (replace 'build
            (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
              ;; The "module" subdirectory contains a python (really cython)


@@ 1769,9 1776,9 @@ bugfixes and enhancements, and a new governance model.")
                                  (string-append out site "/renpy"))
                (delete-file-recursively (string-append out site
                                                        "/renpy/common"))))))))
    (native-inputs (list python-cython))
    (native-inputs (list python-cython-0))
    (inputs
     (list ffmpeg
     (list ffmpeg-6
           freetype
           fribidi
           glew