all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50054] [PATCH] gnu: Add bgfx
@ 2021-08-14  8:35 Andy Tai
       [not found] ` <handler.50054.B.162893018622105.ack@debbugs.gnu.org>
                   ` (6 more replies)
  0 siblings, 7 replies; 32+ messages in thread
From: Andy Tai @ 2021-08-14  8:35 UTC (permalink / raw)
  To: 50054

* 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




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

end of thread, other threads:[~2024-05-27  0:47 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-14  8:35 [bug#50054] [PATCH] gnu: Add bgfx Andy Tai
     [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

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.