Undefined GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT leeds to compilation error
I'm trying to build plasma-desktop from source but it fails when compiling plasma-framework with the following error:
kde/src/plasma-framework/src/declarativeimports/core/windowthumbnail.cpp:668:28: error: ‘GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT’ was not declared in this scope; did you mean ‘GL_FRAMEBUFFER_SRGB_CAPABLE_EXT’?
668 | GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GL_FRAMEBUFFER_SRGB_CAPABLE_EXT
I'm on Archlinux so my first guess would be that GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT
has been removed (or renamed as suggests the error) in a recent version of the library providing it.