pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics add graphics/glad



details:   https://anonhg.NetBSD.org/pkgsrc/rev/054f094b6555
branches:  trunk
changeset: 452972:054f094b6555
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 20 20:19:17 2021 +0000

description:
add graphics/glad

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the
official specs.

diffstat:

 graphics/Makefile           |   3 ++-
 graphics/glad/DESCR         |   2 ++
 graphics/glad/Makefile      |  22 ++++++++++++++++++++++
 graphics/glad/PLIST         |   8 ++++++++
 graphics/glad/buildlink3.mk |  12 ++++++++++++
 graphics/glad/distinfo      |   6 ++++++
 6 files changed, 52 insertions(+), 1 deletions(-)

diffs (87 lines):

diff -r 3500970f18b4 -r 054f094b6555 graphics/Makefile
--- a/graphics/Makefile Thu May 20 20:03:52 2021 +0000
+++ b/graphics/Makefile Thu May 20 20:19:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.933 2021/05/20 19:52:31 nia Exp $
+# $NetBSD: Makefile,v 1.934 2021/05/20 20:19:17 nia Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -196,6 +196,7 @@
 SUBDIR+=       giram
 SUBDIR+=       girara
 SUBDIR+=       gl2ps
+SUBDIR+=       glad
 SUBDIR+=       gle
 SUBDIR+=       glew
 SUBDIR+=       glfw
diff -r 3500970f18b4 -r 054f094b6555 graphics/glad/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glad/DESCR       Thu May 20 20:19:17 2021 +0000
@@ -0,0 +1,2 @@
+Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the
+official specs.
diff -r 3500970f18b4 -r 054f094b6555 graphics/glad/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glad/Makefile    Thu May 20 20:19:17 2021 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/05/20 20:19:17 nia Exp $
+
+DISTNAME=      glad-0.1.34
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Dav1dde/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Dav1dde/glad
+COMMENT=       GL/GLES/EGL/GLX/WGL Loader-Generator
+LICENSE=       mit
+
+USE_CMAKE=     yes
+
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+=   -DGLAD_REPRODUCIBLE=ON
+CMAKE_ARGS+=   -DGLAD_INSTALL=ON
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3500970f18b4 -r 054f094b6555 graphics/glad/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glad/PLIST       Thu May 20 20:19:17 2021 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/20 20:19:17 nia Exp $
+include/KHR/khrplatform.h
+include/glad/glad.h
+lib/cmake/glad/gladConfig.cmake
+lib/cmake/glad/gladConfigVersion.cmake
+lib/cmake/glad/gladTargets-noconfig.cmake
+lib/cmake/glad/gladTargets.cmake
+lib/libglad.so
diff -r 3500970f18b4 -r 054f094b6555 graphics/glad/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glad/buildlink3.mk       Thu May 20 20:19:17 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/20 20:19:17 nia Exp $
+
+BUILDLINK_TREE+=       glad
+
+.if !defined(GLAD_BUILDLINK3_MK)
+GLAD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.glad+=   glad>=0.1.34
+BUILDLINK_PKGSRCDIR.glad?=     ../../graphics/glad
+.endif # GLAD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -glad
diff -r 3500970f18b4 -r 054f094b6555 graphics/glad/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glad/distinfo    Thu May 20 20:19:17 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/20 20:19:17 nia Exp $
+
+SHA1 (glad-0.1.34.tar.gz) = 54182d0c05d44453627acb2f5d22a25ad59f75ab
+RMD160 (glad-0.1.34.tar.gz) = b4246ef56d91e50448395a66b668bac7f0ddfc44
+SHA512 (glad-0.1.34.tar.gz) = bc20ca8c442068f2fd1170bdb8383fd3f1b5b4826083825d6f6fb4bc69fd99d2db04865f9c9bbe1cf6d0038e036f6d4ae6aac5f68cea8b20ed339bbde5e811e4
+Size (glad-0.1.34.tar.gz) = 339862 bytes



Home | Main Index | Thread Index | Old Index