[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add glad, version 2.0.4.
From: |
guix-commits |
Subject: |
04/08: gnu: Add glad, version 2.0.4. |
Date: |
Fri, 22 Dec 2023 09:30:49 -0500 (EST) |
hako pushed a commit to branch master
in repository guix.
commit 1784ece7cb61dc72a43cf8e0ad17fdbb266320e6
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri Dec 22 21:19:10 2023 +0800
gnu: Add glad, version 2.0.4.
* gnu/packages/gl.scm (glad): New variable.
Change-Id: I516d44dfc9272702c3ac31773df0b6c2d68ed99c
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
---
gnu/packages/gl.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 06854f36f7..192b5e84e0 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021, 2022, 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -221,6 +222,32 @@ Polygon meshes, and Extruded polygon meshes.")
generate a GL/GLES/EGL/GLX/WGL loader tailored for specific requirements.")
(license license:expat)))
+(define-public glad
+ (package
+ (inherit glad-0.1)
+ (name "glad")
+ (version "2.0.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Dav1dde/glad")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pam6imhcmcyqrqi6wzzxprb23y8x6zdbvsjavnz26k72i9dbbja"))))
+ (build-system python-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments glad-0.1)
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'install-cmakelists.txt
+ (lambda _
+ (let ((share (string-append #$output "/share/"
+ #$(package-name this-package))))
+ (install-file "cmake/CMakeLists.txt" share))))))))
+ (propagated-inputs (list python-jinja2))))
+
(define-public s2tc
(package
(name "s2tc")
- branch master updated (ca81317389 -> 25b83bd9e4), guix-commits, 2023/12/22
- 02/08: gnu: glad: Rename to glad-0.1., guix-commits, 2023/12/22
- 05/08: gnu: libplacebo: Update to 6.338.1., guix-commits, 2023/12/22
- 07/08: gnu: mpv: Update to 0.37.0., guix-commits, 2023/12/22
- 08/08: gnu: jpegoptim: Update to 1.5.5., guix-commits, 2023/12/22
- 01/08: gnu: Add wireplumber-minimal., guix-commits, 2023/12/22
- 03/08: gnu: glad-0.1: Use gexps., guix-commits, 2023/12/22
- 06/08: gnu: libplacebo: Use gexps., guix-commits, 2023/12/22
- 04/08: gnu: Add glad, version 2.0.4.,
guix-commits <=