all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Wong via Guix-patches via <guix-patches@gnu.org>
To: 75106@debbugs.gnu.org
Cc: Andrew Wong <wongandj@icloud.com>
Subject: [bug#75106] [PATCH v3 2/2] gnu: Add ringracers.
Date: Wed, 25 Dec 2024 20:47:11 -0500	[thread overview]
Message-ID: <20241226014731.13573-2-wongandj@icloud.com> (raw)
In-Reply-To: <20241226014731.13573-1-wongandj@icloud.com>

Change-Id: Iaa92026e4d9a62fa3549b39aff7da0dd6f078013
---
 gnu/packages/games.scm | 59 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c2bb9aa1c4..caee1d5729 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -249,6 +249,65 @@ (define-module (gnu packages games)
   #:use-module ((srfi srfi-1) #:hide (zip))
   #:use-module (srfi srfi-26))
 
+(define-public ringracers
+  (package
+    (name "ringracers")
+    (version "2.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.do.srb2.org/KartKrew/RingRacers")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "05lf799imbk0x3i2adaj0r84ck5yyrvzjvhs4k9dj7l4jg0x4sjz"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:configure-flags (list
+                          "-DCMAKE_C_FLAGS_RELWITHDEBINFO='-O3 -g -DNDEBUG'"
+                          "-DCMAKE_CXX_FLAGS_RELWITHDEBINFO='-O3 -g -DNDEBUG'"
+                          "-DSRB2_CONFIG_DEV_BUILD=OFF"
+                          "-DCMAKE_BUILD_TYPE=RelWithDebInfo")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'install 'move-binary
+                    ;; Symlink executable to $out/bin.
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (bin (string-append out "/bin")))
+                        (mkdir-p bin)
+                        (with-directory-excursion bin
+                          (symlink "../ringracers" "ringracers")) #t))))))
+    (inputs (list curl
+                  zlib
+                  libpng
+                  libogg
+                  libvorbis
+                  libvpx
+                  libyuv
+                  sdl2))
+    (home-page "https://kartkrew.org")
+    (synopsis "Technical kart racing game")
+    (description
+     "\"Dr. Robotnik’s Ring Racers\" is a technical kart racing game drawing
+inspiration from \"antigrav\" racers, fighting games, and traditional-style kart
+racing.  Designed to minimize randomness and emphasize player expression, Ring
+Racers about more than precise handling—you’ll need to master tense combat,
+resource management, and taking risks under pressure.")
+    (license (list license:gpl2
+                   license:bsd-3
+                   license:gpl3
+                   license:lgpl2.1
+                   license:zlib
+                   license:public-domain
+                   license:bsd-2
+                   license:expat
+                   license:boost1.0
+                   (license:non-copyleft ;curl license
+                    "file://LICENSE-3RD-PARTY.txt"
+                    "See LICENSE-3RD-PARTY.txt in the distribution.")))))
+
 (define-public hexahop
   (package
     (name "hexahop")
-- 
2.46.0





      reply	other threads:[~2024-12-26  1:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover>
2024-12-26  1:24 ` [bug#75106] [PATCH 0/2] Add ringracers Andrew Wong via Guix-patches via
2024-12-26  1:31   ` [bug#75106] [PATCH 1/2] gnu: Add libyuv Andrew Wong via Guix-patches via
2024-12-26  1:31     ` [bug#75106] [PATCH 2/2] gnu: Add ringracers Andrew Wong via Guix-patches via
2024-12-26  1:43   ` [bug#75106] [PATCH v2 1/2] gnu: Add libyuv Andrew Wong via Guix-patches via
2024-12-26  1:43     ` [bug#75106] [PATCH v2 2/2] gnu: Add ringracers Andrew Wong via Guix-patches via
2024-12-26  1:47   ` [bug#75106] [PATCH v3 1/2] gnu: Add libyuv Andrew Wong via Guix-patches via
2024-12-26  1:47     ` Andrew Wong via Guix-patches via [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241226014731.13573-2-wongandj@icloud.com \
    --to=guix-patches@gnu.org \
    --cc=75106@debbugs.gnu.org \
    --cc=wongandj@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.