From: dan <i@dan.games>
To: 60008@debbugs.gnu.org
Subject: [bug#60008] [PATCH] gnu: Add raylib.
Date: Tue, 13 Dec 2022 07:59:11 +0800 [thread overview]
Message-ID: <20221212235911.30300-1-i@dan.games> (raw)
In-Reply-To: <20221212141100.27626-1-i@dan.games>
* gnu/packages/game-development.scm (raylib): New variable.
---
gnu/packages/game-development.scm | 33 +++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 4a0435045b..7bdc6a8818 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2021 Andy Tai <atai@atai.org>
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 dan <i@dan.games>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2866,3 +2867,35 @@ (define-public recastnavigation
progresses the level, or you may regenerate tiles as the world changes.")
(home-page "https://github.com/recastnavigation/recastnavigation")
(license license:zlib))))
+
+(define-public raylib
+ (package
+ (name "raylib")
+ (version "4.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/raysan5/raylib/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14v5iwxh8grywiyw9agpd2sfpyriq1rwwkd9f2s4iihh0z5j7hk8"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:tests? #f)) ;no test
+ (inputs (list alsa-lib
+ libx11
+ libxrandr
+ libxi
+ libxinerama
+ libxcursor
+ mesa))
+ (native-inputs (list pkg-config))
+ (synopsis "C library for videogame programming")
+ (description
+ "raylib is a high-level library for video game programming. It aims to
+ abstract away platform and graphics details, allowing you to focus on
+ writing your game.")
+ (home-page "https://www.raylib.com/")
+ (license license:zlib)))
--
2.38.1
next prev parent reply other threads:[~2022-12-13 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 14:11 [bug#60008] [PATCH] gnu: Add raylib dan
2022-12-12 18:20 ` ( via Guix-patches via
2022-12-12 23:59 ` dan [this message]
2023-01-17 14:50 ` bug#60008: " Ludovic Courtès
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=20221212235911.30300-1-i@dan.games \
--to=i@dan.games \
--cc=60008@debbugs.gnu.org \
/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.