Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

71.11. python3-glad2-2.0.8

OpenGL and EGL loader generator — writes libplacebo's GL loader at build time

2.0.8-1 · MIT AND Apache-2.0 · 0.1 SBU · 6.0 MiB, 98 files · 40_lang, 90 of 186 · ports/core/python-libs/python3-glad2

Homepage: https://github.com/Dav1dde/glad

Why it is in KDOS. The comment above it in script/phases/40_lang/packages.d/python-libs.txt:

libplacebo's OpenGL backend: its GL and EGL loader is generated by glad2 at build time, and the vendored copy is another empty submodule.

Depends on: python3, python3-setuptools, python3-pip, python3-jinja2.

Required by (1): libplacebo.

Sources: python3-glad2-2.0.8.tar.gz (572.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-glad2'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .

Programs: glad.

Directories: /usr/lib/python3.14/site-packages/glad, /usr/lib/python3.14/site-packages/glad2-2.0.8.dist-info, /usr/share/licenses/python3-glad2.