libglvnd/1.4.0-cpeGNU-22.08 (libglvnd-1.4.0-cpeGNU-22.08.eb)
This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/l/libglvnd/libglvnd-1.4.0-cpeGNU-22.08.eb. The corresponding module would be libglvnd/1.4.0-cpeGNU-22.08.
easyblock = 'MesonNinja'
name = 'libglvnd'
version = '1.4.0'
homepage = 'https://gitlab.freedesktop.org/glvnd/libglvnd'
whatis = [
'Description: libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls'
]
description = """
libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls
between multiple vendors.
Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.
"""
software_license_urls = ['https://gitlab.freedesktop.org/glvnd/libglvnd#libglvnd']
toolchain = {'name': 'cpeGNU', 'version': '22.08'}
source_urls = ['https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v%(version)s/']
sources = ['libglvnd-v%(version)s.tar.gz']
checksums = ['33b8b993adf47a21bc1c46bcf970927edeb9884390d5b09b1aed051d600c0b2f']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
]
dependencies = [
('X11', '%(toolchain_version)s'),
]
# Taken from the EasyBuilders one but for now disabled:# Let EGL find system-installed vendor files in /etc/glvnd/egl_vendor.d etc.
#allow_prepend_abs_path = True
#modextrapaths = {
# "__EGL_VENDOR_LIBRARY_DIRS": "/etc/glvnd/egl_vendor.d:/usr/share/glvnd/egl_vendor.d"
#}
sanity_check_paths = {
'files': ['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['EGL', 'GL', 'GLX', 'OpenGL']],
'dirs': ['include/%s' % x for x in ['EGL', 'GL', 'GLES', 'GLES2', 'GLES3', 'glvnd', 'KHR']] + ['lib/pkgconfig'],
}
moduleclass = 'lib'