commit:     66942c65d7ac710d720191cbc67bfddadcba6c29
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Tue Jul 16 13:36:36 2024 +0000
Commit:     Eli Burch <redawl <AT> burchbytes <DOT> com>
CommitDate: Tue Jul 16 13:36:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66942c65

media-libs/glad: new package, add 2.0.6

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 media-libs/glad/Manifest          |  1 +
 media-libs/glad/glad-2.0.6.ebuild | 27 +++++++++++++++++++++++++++
 media-libs/glad/metadata.xml      | 11 +++++++++++
 3 files changed, 39 insertions(+)

diff --git a/media-libs/glad/Manifest b/media-libs/glad/Manifest
new file mode 100644
index 000000000..0ab7c62fc
--- /dev/null
+++ b/media-libs/glad/Manifest
@@ -0,0 +1 @@
+DIST glad-2.0.6.tar.gz 633949 BLAKE2B 
d18a9ee4445a603d1f277db24bca9e21bb87f919fa366ee307dba21ffbfef7be690c3e924ab405c54a9cd8dc1d487297586020a04e04afe48779fdb39f9b81dd
 SHA512 
ad7e0544fdd07ba7e091ed8a985deb27f05affb0a830b8132d7c03d6690b57139b25433303260e3affba7b11c0dad38358fcd4ff5b7b30e7ca193e8beed8db48

diff --git a/media-libs/glad/glad-2.0.6.ebuild 
b/media-libs/glad/glad-2.0.6.ebuild
new file mode 100644
index 000000000..f320def3d
--- /dev/null
+++ b/media-libs/glad/glad-2.0.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{12..13} )
+DISTUTILS_USE_PEP517="setuptools"
+
+inherit distutils-r1
+
+DESCRIPTION="Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator"
+HOMEPAGE="https://github.com/Dav1dde/glad";
+SRC_URI="https://github.com/Dav1dde/glad/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-python/jinja"
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+       default
+
+       sed -i 's@level=logging.DEBUG@level=logging.WARN@g' "glad/__main__.py" 
|| die
+       sed -i 's@find_packages@find_namespace_packages@g' "setup.py" || die
+}

diff --git a/media-libs/glad/metadata.xml b/media-libs/glad/metadata.xml
new file mode 100644
index 000000000..c84c2aac3
--- /dev/null
+++ b/media-libs/glad/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Eli Burch</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Dav1dde/glad</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to