unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64170] [PATCH] gnu: recastnavigation: Update to 1.6.0.
@ 2023-06-19 15:22 Kaelyn Takata via Guix-patches via
  2023-06-20 21:32 ` bug#64170: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Kaelyn Takata via Guix-patches via @ 2023-06-19 15:22 UTC (permalink / raw)
  To: 64170; +Cc: Kaelyn Takata

* gnu/packages/game-development.scm (recastnavigation): Update to 1.6.0 and
fix indentation after removing the LET expression defining the commit and
revision to use.
---
 gnu/packages/game-development.scm | 47 +++++++++++++++----------------
 1 file changed, 22 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 431bd5c5e4..aa99109cca 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2809,29 +2809,26 @@ (define-public tesseract-engine
       (license license:zlib))))

 (define-public recastnavigation
-  ;; We follow master since there hasn't been a release since 1.5.1 in 2016.
-  (let ((commit "6d1f9711b3b71f28c2c1c0742d76e0ef8766cf91")
-        (revision "2"))
-    (package
-      (name "recastnavigation")
-      (version (git-version "1.5.1" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/recastnavigation/recastnavigation")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "0cqp0sbm0ixqnxqz6gf2gybh5l4az91mdsd8b5bgxs1wpl2jmnga"))))
-      (build-system cmake-build-system)
-      (arguments
-       `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
-                                 "-DRECASTNAVIGATION_DEMO=OFF"
-                                 "-DRECASTNAVIGATION_TESTS=ON"
-                                 "-DRECASTNAVIGATION_EXAMPLES=OFF")))
-      (synopsis "Navigation system for games")
-      (description "Recast is state of the art navigation mesh
+  (package
+    (name "recastnavigation")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/recastnavigation/recastnavigation")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0rdz3qmp4b961zjah2ax82h471j14w2rcf576gcyx7vldrg8dmj8"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+                               "-DRECASTNAVIGATION_DEMO=OFF"
+                               "-DRECASTNAVIGATION_TESTS=ON"
+                               "-DRECASTNAVIGATION_EXAMPLES=OFF")))
+    (synopsis "Navigation system for games")
+    (description "Recast is state of the art navigation mesh
 construction toolset for games.

 @itemize
@@ -2854,8 +2851,8 @@ (define-public recastnavigation
 in and out pieces of the mesh.  The tiled mesh allows you to create
 systems where you stream new navigation data in and out as the player
 progresses the level, or you may regenerate tiles as the world changes.")
-      (home-page "https://github.com/recastnavigation/recastnavigation")
-      (license license:zlib))))
+    (home-page "https://github.com/recastnavigation/recastnavigation")
+    (license license:zlib)))

 (define-public raylib
   (package

base-commit: d884fc9e2efecfba09af4694f5a13ad7fc6f704f
--
2.40.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#64170: [PATCH] gnu: recastnavigation: Update to 1.6.0.
  2023-06-19 15:22 [bug#64170] [PATCH] gnu: recastnavigation: Update to 1.6.0 Kaelyn Takata via Guix-patches via
@ 2023-06-20 21:32 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2023-06-20 21:32 UTC (permalink / raw)
  To: Kaelyn Takata; +Cc: 64170-done

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]


Kaelyn Takata via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/game-development.scm (recastnavigation): Update to 1.6.0 and
> fix indentation after removing the LET expression defining the commit and
> revision to use.
> ---
>  gnu/packages/game-development.scm | 47 +++++++++++++++----------------
>  1 file changed, 22 insertions(+), 25 deletions(-)

Thanks for the patch, I've pushed it to master as
744c979b8fdda5a66490b90327db543be3276380.

I did shorten the commit message a bit, as I don't think it's necessary
to describe the indentation change.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-20 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-19 15:22 [bug#64170] [PATCH] gnu: recastnavigation: Update to 1.6.0 Kaelyn Takata via Guix-patches via
2023-06-20 21:32 ` bug#64170: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).