media-libs/glad: add 2.0.7

Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
Eli Burch 2024-09-06 05:04:20 -07:00
parent 010a72f5cb
commit f2cd9fb9b2
No known key found for this signature in database
GPG Key ID: 236AD5D7E0145BA1
2 changed files with 28 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST glad-2.0.6.tar.gz 633949 BLAKE2B d18a9ee4445a603d1f277db24bca9e21bb87f919fa366ee307dba21ffbfef7be690c3e924ab405c54a9cd8dc1d487297586020a04e04afe48779fdb39f9b81dd SHA512 ad7e0544fdd07ba7e091ed8a985deb27f05affb0a830b8132d7c03d6690b57139b25433303260e3affba7b11c0dad38358fcd4ff5b7b30e7ca193e8beed8db48
DIST glad-2.0.7.tar.gz 634044 BLAKE2B b6bb2157742d4d186f83a4bb1d97e1b62a7266970cd6fa4d80218f264df48161647cd520dbd6fbde6bfd96b81e938e724a15153d4721b2fa6f678d145c7927f0 SHA512 6aae5e36acd319913f3c313da2a552d3033f7acbfd38fd07da99e737a23eaf250091134d82eceaf106aaa26bdd9f3a95b64dea635d5a82010e4d9a0ba69fc0e1

View File

@ -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(){
distutils-r1_src_prepare
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
}