Skip to content

Instantly share code, notes, and snippets.

@geimer
Created June 10, 2017 08:09
Show Gist options
  • Save geimer/f375a45bbfe85309aaf1d720d464d80f to your computer and use it in GitHub Desktop.
Save geimer/f375a45bbfe85309aaf1d720d464d80f to your computer and use it in GitHub Desktop.
XServer easyconfigs
easyblock = 'ConfigureMake'
name = 'libepoxy'
version = '1.4.1'
homepage = 'https://github.com/anholt/libepoxy'
description = """
Epoxy is a library for handling OpenGL function pointer management for you.
"""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = [
'https://github.com/anholt/libepoxy/releases/download/%(version)s/',
'https://github.com/anholt/libepoxy/releases/download/v%(version)s/',
'https://github.com/anholt/libepoxy/releases/download/v%(version_major_minor)s/',
]
sources = [SOURCELOWER_TAR_XZ]
checksums = [
'a0dc66910009a99c47c5def50b042d77', # libepoxy-1.4.1.tar.xz
]
dependencies = [
('Mesa', '17.0.4'),
]
builddependencies = [
('pkg-config', '0.29.2'),
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.28', '', True),
]
sanity_check_paths = {
'files': ['lib/libepoxy.%s' % SHLIB_EXT, 'include/epoxy/gl.h'],
'dirs': [],
}
moduleclass = 'devel'
easyblock = 'ConfigureMake'
name = 'XServer'
version = '1.19.3'
homepage = 'https://www.x.org'
description = """
XServer: X Window System display server.
This module provides a stripped-down installation with minimal driver support.
"""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = ['https://www.x.org/archive/individual/xserver/']
sources = ['xorg-server-%(version)s.tar.bz2']
checksums = [
'015d2fc4b9f2bfe7a626edb63a62c65e', # xorg-server-1.19.3.tar.bz2
]
dependencies = [
('libdrm', '2.4.80'),
('libepoxy', '1.4.1'),
('Mesa', '17.0.4'),
('pixman', '0.34.0'),
('X11', '20170404'),
]
builddependencies = [
('pkg-config', '0.29.2'),
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.28', '', True),
]
configopts = "--disable-docs --disable-devel-docs "
sanity_check_paths = {
'files': ['bin/Xorg', 'bin/Xvfb'],
'dirs': [],
}
moduleclass = 'vis'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment