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

193.11. libepoxy-1.5.10

Library for handling OpenGL function pointer management

1.5.10-1 · MIT · 0.9 SBU · 3.2 MiB, 12 files · 42_graphics, 108 of 189 · ports/core/gpu/libepoxy

Homepage: https://github.com/anholt/libepoxy

libepoxy manages OpenGL function pointers for the programs that use it: a program calls glFoo as if it were linked, and libepoxy resolves the right entry point on first use, through EGL or GLX, for whichever context is current. It links no GL library itself and opens them with dlopen at run time: libEGL.so.1, libGL.so.1 or libGLX.so.1, libOpenGL.so.0, libGLESv2.so.2, all from libglvnd. GTK 3 and 4, WebKitGTK, Xwayland’s glamor renderer, QEMU’s display and SPICE client, Blender and Inkscape are among its users.

Depends on: mesa, meson, libX11.

Required by (17): blender, celestia, celluloid, gtk3, gtk4, horizon-eda, inkscape, kpipewire, kwin, libreoffice, mgba, movit, qemu, spice-gtk, webkitgtk, webkitgtk6, xwayland.

Sources: libepoxy-1.5.10.tar.gz (324.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install libepoxy'

build.sh:

meson setup build --buildtype=release --prefix=/usr --sysconfdir=/etc --libdir=lib \
	-Degl=yes \
	-Dglx=yes \
	-Dx11=true \
	-Ddocs=false \
	-Dtests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libepoxy.so.

Directories: /usr/include/epoxy, /usr/share/licenses/libepoxy.