From 7b9cd0b4293041fdbfa065b019cea589cc316060 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sun, 9 Mar 2025 13:43:48 +0800 Subject: gnu: raylib: Update to 5.5. * gnu/packages/game-development.scm (raylib): Update to 5.5. [inputs]: Replace glfw with glfw-3.4. Change-Id: If312732d3602dc2e495c32a78fe9390642da726c Co-authored-by: Arnaud Lechevallier --- gnu/packages/game-development.scm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 8f9a46d73ef..bf4fe008288 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -3693,7 +3693,7 @@ progresses the level, or you may regenerate tiles as the world changes.") (define-public raylib (package (name "raylib") - (version "5.0") + (version "5.5") (source (origin (method git-fetch) (uri (git-reference @@ -3703,7 +3703,7 @@ progresses the level, or you may regenerate tiles as the world changes.") ;; TODO: Unbundle src/external (sha256 (base32 - "0327licmylwlh5iyzw35pq7ci2d15rp3jms5i9p0vfg1rlv2sjw0")))) + "1dhy9ghbwvz0s434j03rfa2l6wxcfj028vlkk1xbf5q97vin5pr7")))) (build-system cmake-build-system) (arguments (list #:tests? #f ;no test @@ -3722,8 +3722,14 @@ progresses the level, or you may regenerate tiles as the world changes.") #define MA_ENABLE_ONLY_SPECIFIC_BACKENDS #define MA_ENABLE_PULSEAUDIO #include \"external/miniaudio.h\" -"))))))) - (inputs (list glfw pulseaudio)) +")))) + (add-after 'install 'install-api-files + ;; For generating bindings. + (lambda _ + (copy-recursively + (string-append #$source "/parser/output") + (string-append #$output "/share/raylib"))))))) + (inputs (list glfw-3.4 pulseaudio)) (native-inputs (list pkg-config)) (synopsis "C library for videogame programming") (description -- cgit v1.3