NAME = "libepoxy";
VER = "1.5.10";
REPO = "extra";
DESC = "Library handling OpenGL function pointer management";
MAINT = "liamwaldron7009@protonmail.com";
COPYRIGHT = "MIT";
SOURCES = (
	{ URL = "https://download.gnome.org/sources/libepoxy/1.5/libepoxy-1.5.10.tar.xz";
	  SHA256 = "sha256:072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623"; }
);
BUILD = "meson";
# GTK 3's X11 backend includes epoxy/glx.h; libGL is only dlopen()ed
# (no Mesa: DESKTOP_DESIGN 1b), so no EGL and no GL at build time.
CONFIGURE = [ "-Degl=no", "-Dglx=yes", "-Dx11=true", "-Dtests=false", "-Ddocs=false" ];
DEPS = ( { NAME = "libX11"; VER = "1.8.14"; }, { NAME = "xorgproto"; VER = "2026.1.0"; } );
BUILD_DEPS = ( { NAME = "meson"; VER = "1.12.1"; }, { NAME = "pkgconf"; VER = "3.0.10"; } );
