unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: trymonv--- via Guix-patches via <guix-patches@gnu.org>
To: 42377@debbugs.gnu.org
Subject: [bug#42377] [PATCH] Add raylib.
Date: Wed, 15 Jul 2020 17:52:07 +0000	[thread overview]
Message-ID: <29GWkbyPt2Gl_EZZnIPPt2zcKt5TbaBnxuru1373xOHXrVZXdXquSGnF8OxDvhp4P9LuEiQExT8iGw4TmdmYnqBR0E6aNvWP8FUmcvL_5ac=@protonmail.com> (raw)

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

gnu/packages/game-development.scm | 34 +++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index e45980e7a0..cba9b5bd45 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2489,3 +2489,37 @@ fully dynamic omnidirectional shadows, global illumination, HDR lighting,
deferred shading, morphological / temporal / multisample anti-aliasing, and
much more.")
(license license:zlib))))
+
+(define-public raylib
+ (package
+ (name "raylib")
+ (version "3.0.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
+ "1chj7sril4l2dxh7flp5ndddydbbf1fhnqlydaysm4m6waxidxmr"))))
+ (build-system cmake-build-system)
+ (arguments '(#:configure-flags `("-DSHARED=OFF" "-DSTATIC=ON")
+ #:tests? #f))
+ (inputs `())
+ (native-inputs `(("alsa-lib", alsa-lib)
+ ("glu", glu)
+ ("libx11", libx11)
+ ("libxrandr", libxrandr)
+ ("libxi", libxi)
+ ("libxinerama", libxinerama)
+ ("libxcursor", libxcursor)
+ ("mesa", mesa)
+ ("pkg-config", pkg-config)))
+ (synopsis "C library for videogame programming")
+ (description "raylib is a library which defines many data structures and
+methods useful for programming small video games or video game prototypes in
+plain C. It tries to provide simple bindings for OpenGL in an attempt to
+conceal technical complexities behind an easy-to-use interface.")
+ (home-page "https://www.raylib.com/")
+ (license license:zlib)))
--
2.27.0

[-- Attachment #2: Type: text/html, Size: 10875 bytes --]

             reply	other threads:[~2020-07-15 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15 17:52 trymonv--- via Guix-patches via [this message]
2020-07-18 12:03 ` bug#42377: Closing duplicate bug Jakub Kądziołka

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='29GWkbyPt2Gl_EZZnIPPt2zcKt5TbaBnxuru1373xOHXrVZXdXquSGnF8OxDvhp4P9LuEiQExT8iGw4TmdmYnqBR0E6aNvWP8FUmcvL_5ac=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=42377@debbugs.gnu.org \
    --cc=trymonv@protonmail.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 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).