all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Tai <lichengtai@gmail.com>
To: 50054@debbugs.gnu.org
Subject: [bug#50054] [PATCH] gnu: Add bgfx
Date: Sat, 14 Aug 2021 01:35:35 -0700	[thread overview]
Message-ID: <CAJsg1E-vKn6LebAFgYsTNF3YbtV=TvQcJaqU32orKFFoyA5N3g@mail.gmail.com> (raw)

* gnu/packages/graphics.scm (bgfx): New variable
---
 gnu/packages/graphics.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 38feb27c87..53ac12f731 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2000,3 +2000,41 @@ Some feature highlights:
 such as VR and AR on mobile, PC/desktop, and any other device.
Monado aims to be
 a complete and conforming implementation of the OpenXR API made by Khronos.")
     (license license:boost1.0)))
+
+(define-public bgfx
+  (let ((commit "65513d08541ab1ead814f2c97d0502c8d13eae68")
+        (revision "0"))
+    (package
+      (name "bgfx")
+      (version
+       (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/bkaradzic/bgfx.cmake")
+           (commit commit)
+           ;; Fetch git submodules
+           (recursive? #t)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1k18230zw3v2l0vgz5xi0l23fa0686yx0jd6hkvvvwp3zlakqp7n"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f)) ;; no tests
+      (inputs
+       `(("glslang" ,glslang)
+         ("libxcb" ,libxcb)
+         ("opengl" ,mesa)
+         ("vulkan-loader" ,vulkan-loader)))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)
+         ("vulkan-headers" ,vulkan-headers)))
+      (home-page "https://github.com/bkaradzic/bgfx")
+      (synopsis  "Cross-platform, graphics API agnostic. rendering library")
+      (description "bgfx is a cross-platform, graphics API agnostic,
+'Bring Your Own Engine/Framework' style rendering library supporting Direct3D,
+OpenGL, Metal, Vulkan and WebGL.")
+      (license (list license:expat license:cc0)))))
-- 
2.32.0




             reply	other threads:[~2021-08-14  8:37 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-14  8:35 Andy Tai [this message]
     [not found] ` <handler.50054.B.162893018622105.ack@debbugs.gnu.org>
2021-08-14  8:51   ` [bug#50054] Acknowledgement ([PATCH] gnu: Add bgfx) Andy Tai
2021-08-14  9:43 ` [bug#50054] [PATCH] gnu: Add bgfx Leo Prikler
2021-08-14 18:07   ` Andy Tai
2021-08-14 18:24     ` Andy Tai
2021-08-14 18:48       ` Leo Prikler
2021-08-16 12:42         ` Andy Tai
2021-08-16 12:52           ` Leo Prikler
2021-08-29  3:16             ` Andy Tai
2021-08-29  3:25               ` Andy Tai
2021-08-29  4:29                 ` Andy Tai
2021-08-29 11:41                   ` Leo Prikler
2021-08-29 18:21                     ` Andy Tai
2021-08-29 20:04                       ` Leo Prikler
2021-08-29 23:59                         ` Andy Tai
2021-08-27 17:49 ` [bug#50054] dependency Andy Tai
2021-08-27 18:31   ` Tobias Geerinckx-Rice via Guix-patches via
2024-04-23  5:51 ` [bug#50054] [PATCH v2 0/3] *** Add bgfx and dependencies *** Andy Tai
2024-04-23  5:51   ` [bug#50054] [PATCH v2 1/3] gnu: Add bx Andy Tai
2024-05-13 12:37     ` Ludovic Courtès
2024-04-23  5:51   ` [bug#50054] [PATCH v2 2/3] gnu: Add bimg Andy Tai
2024-04-23  5:51   ` [bug#50054] [PATCH v2 3/3] gnu: Add bgfx Andy Tai
2024-05-13 12:40     ` Ludovic Courtès
2024-05-17  6:17 ` [bug#50054] [PATCH v3 0/3] Add bgfx and dependencies Andy Tai
2024-05-17  6:17   ` [bug#50054] [PATCH v3 1/3] gnu: Add bx Andy Tai
2024-05-17  6:17   ` [bug#50054] [PATCH v3 2/3] gnu: Add bimg Andy Tai
2024-05-17  6:17   ` [bug#50054] [PATCH v3 3/3] gnu: Add bgfx Andy Tai
2024-05-18  6:22 ` [bug#50054] [PATCH v3 0/3] Add bgfx and dependencies Andy Tai
2024-05-18  6:22   ` [bug#50054] [PATCH v3 1/3] gnu: Add bx Andy Tai
2024-05-18  6:22   ` [bug#50054] [PATCH v3 2/3] gnu: Add bimg Andy Tai
2024-05-18  6:22   ` [bug#50054] [PATCH v3 3/3] gnu: Add bgfx Andy Tai
2024-05-27  0:44 ` [bug#50054] ping Andy Tai

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='CAJsg1E-vKn6LebAFgYsTNF3YbtV=TvQcJaqU32orKFFoyA5N3g@mail.gmail.com' \
    --to=lichengtai@gmail.com \
    --cc=50054@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.