summaryrefslogtreecommitdiff
path: root/media-libs/glad/glad-2.0.8.ebuild
blob: 4b9c25e38ddda00ba1ccabfe4844b625337f5213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13..14} )
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/jinja2"
RDEPEND="${DEPEND}"

src_prepare(){
	distutils-r1_src_prepare

	sed -i 's@level=logging.DEBUG@level=logging.WARN@g' "glad/__main__.py" || die
}