mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
548f225f31
commit
2f4ffa29e4
1 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue