* [bug#63347] [PATCH 1/2] gnu: raylib: Update to 4.5.0.
@ 2023-05-07 11:48 iyzsong--- via Guix-patches via
2023-05-07 11:50 ` [bug#63347] [PATCH 2/2] raylib: Fix audio and use system glfw iyzsong--- via Guix-patches via
0 siblings, 1 reply; 3+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-05-07 11:48 UTC (permalink / raw)
To: 63347; +Cc: 宋文武
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/game-development.scm (raylib): Update to 4.5.0.
---
gnu/packages/game-development.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 844ce935ae..560765fd64 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2853,7 +2853,7 @@ (define-public recastnavigation
(define-public raylib
(package
(name "raylib")
- (version "4.2.0")
+ (version "4.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2863,7 +2863,7 @@ (define-public raylib
;; TODO: Unbundle src/external
(sha256
(base32
- "14v5iwxh8grywiyw9agpd2sfpyriq1rwwkd9f2s4iihh0z5j7hk8"))))
+ "00y8fsa4g9fk93s3wihbxl929m84hw3fflr0h409s3i1kfmv7ajj"))))
(build-system cmake-build-system)
(arguments
(list #:tests? #f ;no test
base-commit: 7612610c44f16fc8f2ff395d9a2d58101a7356aa
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#63347] [PATCH 2/2] raylib: Fix audio and use system glfw.
2023-05-07 11:48 [bug#63347] [PATCH 1/2] gnu: raylib: Update to 4.5.0 iyzsong--- via Guix-patches via
@ 2023-05-07 11:50 ` iyzsong--- via Guix-patches via
2023-05-13 9:36 ` bug#63347: [PATCH 1/2] gnu: raylib: Update to 4.5.0 宋文武 via Guix-patches via
0 siblings, 1 reply; 3+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-05-07 11:50 UTC (permalink / raw)
To: 63347; +Cc: 宋文武
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/game-development.scm (raylib)[inputs]: Use glfw and pluseaudio.
[arguments]: Set flags for glfw and pulseaudio.
---
gnu/packages/game-development.scm | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 560765fd64..0d519fb7ed 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2868,14 +2868,22 @@ (define-public raylib
(arguments
(list #:tests? #f ;no test
#:configure-flags
- #~(list "-DBUILD_SHARED_LIBS=ON" )))
- (inputs (list alsa-lib
- libx11
- libxrandr
- libxi
- libxinerama
- libxcursor
- mesa))
+ #~(list "-DBUILD_SHARED_LIBS=ON"
+ "-DUSE_EXTERNAL_GLFW=ON"
+ "-DCMAKE_C_FLAGS=-lpulse")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'configure-miniaudio
+ ;; Use PulseAudio as raudio backend.
+ (lambda _
+ (substitute* "src/raudio.c"
+ (("^#include \"external/miniaudio\\.h\"") "
+#define MA_NO_RUNTIME_LINKING
+#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
+#define MA_ENABLE_PULSEAUDIO
+#include \"external/miniaudio.h\"
+")))))))
+ (inputs (list glfw pulseaudio))
(native-inputs (list pkg-config))
(synopsis "C library for videogame programming")
(description
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#63347: [PATCH 1/2] gnu: raylib: Update to 4.5.0.
2023-05-07 11:50 ` [bug#63347] [PATCH 2/2] raylib: Fix audio and use system glfw iyzsong--- via Guix-patches via
@ 2023-05-13 9:36 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-05-13 9:36 UTC (permalink / raw)
To: 63347-done; +Cc: 宋文武
Pushed now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-13 9:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 11:48 [bug#63347] [PATCH 1/2] gnu: raylib: Update to 4.5.0 iyzsong--- via Guix-patches via
2023-05-07 11:50 ` [bug#63347] [PATCH 2/2] raylib: Fix audio and use system glfw iyzsong--- via Guix-patches via
2023-05-13 9:36 ` bug#63347: [PATCH 1/2] gnu: raylib: Update to 4.5.0 宋文武 via Guix-patches via
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.