new file: g/GLib/GLib-2.64.0-GCCcore-8.3.0.eb

new file:   g/GSL/GSL-2.6-GCCcore-8.3.0.eb
	new file:   g/GST-plugins-base/GST-plugins-base-1.16.2-GCCcore-8.3.0.eb
	new file:   g/GStreamer/GStreamer-1.16.2-GCCcore-8.3.0.eb
	new file:   n/Ninja/Ninja-1.9.0-GCCcore-8.3.0.eb
	new file:   w/wxWidgets/wxWidgets-3.1.3-Py-3.7.eb
This commit is contained in:
Lukáš Krupčík 2020-06-25 13:03:12 +02:00
parent 7b73d03ea6
commit 29e6f71402
6 changed files with 266 additions and 0 deletions

View File

@ -0,0 +1,44 @@
# JH 2020 and LK
easyblock = 'MesonNinja'
name = 'GLib'
version = '2.64.0'
homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://ftp.gnome.org/pub/gnome/sources/glib/%(version_major_minor)s/']
sources = ['glib-%(version)s.tar.xz']
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('binutils', '2.32'),
('pkg-config', '0.29.2'),
]
dependencies = [
('libffi', '3.3'),
('gettext', '0.20.1'),
('libxml2', '2.9.9'),
('PCRE', '8.43'),
('util-linux', '2.34'),
]
# avoid using hardcoded path to Python binary in build step
preconfigopts = "export PYTHON=python && "
configopts = "--buildtype=release --default-library=both "
fix_python_shebang_for = ['bin/*']
sanity_check_paths = {
'files': ['lib/libglib-%(version_major)s.0.a', 'lib/libglib-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,28 @@
# IT4Innovations 2020
# LK
easyblock = 'ConfigureMake'
name = 'GSL'
version = '2.6'
homepage = 'https://www.gnu.org/software/gsl/'
description = """The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.
The library provides a wide range of mathematical routines such as random number generators, special functions
and least-squares fitting."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'unroll': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['b782339fc7a38fe17689cb39966c4d821236c28018b6593ddb6fd59ee40786a8']
sanity_check_paths = {
'files': ['bin/%s' % x for x in ['gsl-config', 'gsl-histogram', 'gsl-randist']] +
['include/gsl/gsl_types.h'] +
['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['gsl', 'gslcblas']],
'dirs': [],
}
moduleclass = 'numlib'

View File

@ -0,0 +1,46 @@
# IT4Innovations 2020
# LK
easyblock = 'MesonNinja'
name = 'GST-plugins-base'
version = '1.16.2'
homepage = 'https://gstreamer.freedesktop.org/'
description = """GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple
Ogg/Vorbis playback, audio/video streaming to complex audio
(mixing) and video (non-linear editing) processing."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://gstreamer.freedesktop.org/src/gst-plugins-base']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['b13e73e2fe74a4166552f9577c3dcb24bed077021b9c7fa600d910ec6987816a']
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0'),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
('Bison', '3.3.2'),
]
dependencies = [
('zlib', '1.2.11'),
('GLib', '2.64.0'),
('GTK+', '3.24.13'),
('GStreamer', '1.16.2'),
('Gdk-Pixbuf', '2.38.2'),
('X11', '20190717'),
('Mesa', '19.2.1'),
]
sanity_check_paths = {
'files': ['bin/gst-%s-1.0' % x for x in ['discoverer', 'play', 'device-monitor']] +
['lib/libgst%s-1.0.%s' % (x, SHLIB_EXT) for x in ['app', 'audio', 'video']],
'dirs': ['include', 'share']
}
moduleclass = 'vis'

View File

@ -0,0 +1,45 @@
# IT4Innovations 2020
# LK
easyblock = 'ConfigureMake'
name = 'GStreamer'
version = '1.16.2'
homepage = 'https://gstreamer.freedesktop.org/'
description = """GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple
Ogg/Vorbis playback, audio/video streaming to complex audio
(mixing) and video (non-linear editing) processing."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://gstreamer.freedesktop.org/src/gstreamer']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['e3f044246783fd685439647373fa13ba14f7ab0b346eadd06437092f8419e94e']
builddependencies = [
('Bison', '3.3.2'),
('flex', '2.6.4'),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
]
dependencies = [
('zlib', '1.2.11'),
('GMP', '6.1.2'),
('GSL', '2.6'),
('GLib', '2.64.0'),
('GTK+', '3.24.13'),
('libunwind', '1.3.1'),
]
configopts = '--with-dw=no '
sanity_check_paths = {
'files': [],
'dirs': ['include', 'share', 'libexec'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,32 @@
# IT4Innovations 2020
# LK
easyblock = 'CmdCp'
name = 'Ninja'
version = '1.9.0'
homepage = 'https://ninja-build.org/'
description = "Ninja is a small build system with a focus on speed."
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://github.com/ninja-build/ninja/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['5d7ec75828f8d3fd1a0c2f31b5b0cea780cdfe1031359228c428c1a48bfcd5b9']
builddependencies = [
('binutils', '2.32'),
('Py', '3.7', '', True),
]
cmds_map = [('.*', "./configure.py --bootstrap")]
files_to_copy = [(['ninja'], 'bin')]
sanity_check_paths = {
'files': ['bin/ninja'],
'dirs': [],
}
moduleclass = 'tools'

View File

@ -0,0 +1,71 @@
# IT4Innovations 2020
# LK
easyblock = 'ConfigureMake'
name = 'wxWidgets'
version = '3.1.3'
homepage = 'https://www.wxwidgets.org'
description = """wxWidgets is a C++ library that lets developers create
applications for Windows, Mac OS X, Linux and other platforms with a
single code base. It has popular language bindings for Python, Perl,
Ruby and many other languages, and unlike other cross-platform toolkits,
wxWidgets gives applications a truly native look and feel because it
uses the platform's native API rather than emulating the GUI."""
toolchain = {'name': 'Py', 'version': '3.7'}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/wxWidgets/wxWidgets/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['a5cb5ea326d76b5e472e9400933cef17c900d5c9b549e40eef00b64fe86d7cb0']
builddependencies = [
('gettext', '0.20.1', '', ('GCCcore', '8.3.0')),
('pkg-config', '0.29.2', '', ('GCCcore', '8.3.0')),
]
dependencies = [
('libpng', '1.6.37', '', ('GCCcore', '8.3.0')),
('zlib', '1.2.11', '', ('GCCcore', '8.3.0')),
('libjpeg-turbo', '2.0.4', '', ('GCCcore', '8.3.0')),
('XZ', '5.2.4', '', ('GCCcore', '8.3.0')),
('jbigkit', '2.1', '', ('GCCcore', '8.3.0')),
('LibTIFF', '4.1.0', '', ('GCCcore', '8.3.0')),
('expat', '2.2.7', '', ('GCCcore', '8.3.0')),
('GTK+', '3.24.13', '', ('GCCcore', '8.3.0')),
('X11', '20190717', '', ('GCCcore', '8.3.0')),
('Mesa', '19.2.1', '', ('GCCcore', '8.3.0')),
('libGLU', '9.0.1', '-Mesa-19.2.1', ('GCCcore', '8.3.0')),
('SDL2', '2.0.10', '', ('GCCcore', '8.3.0')),
('cairo', '1.17.2', '', ('GCCcore', '8.3.0')),
('GST-plugins-base', '1.16.2', '', ('GCCcore', '8.3.0')),
('GLib', '2.64.0', '', ('GCCcore', '8.3.0')),
]
local_cpath_ext = '$EBROOTGTKPLUS/include/gtk-3.0:$EBROOTGLIB/include/glib-2.0:$EBROOTGLIB/lib/glib-2.0/include'
preconfigopts = 'CPATH=$CPATH:%s ' % local_cpath_ext
configopts = '--enable-intl --enable-ipv6 '
# Options required by wxPython
configopts += '--with-gtk=3 --with-gtk-prefix=$EBROOTGTKPLUS '
# Note: the configure step might claim to find OpenGL headers in
# /usr/include, but it will still use the ones from the Mesa dependency above
configopts += '--with-opengl '
configopts += '--enable-unicode --enable-sound --enable-graphics_ctx '
configopts += '--enable-mediactrl --enable-display --enable-geometry '
configopts += '--enable-debug_flag --enable-optimise --disable-debugreport '
configopts += '--enable-autoidman --with-sdl '
configopts += '--disable-webkit --disable-webview --disable-webviewwebkit '
prebuildopts = 'CPATH=$CPATH:%s ' % local_cpath_ext
sanity_check_paths = {
'files': ['bin/wx-config', 'bin/wxrc'],
'dirs': ['include/wx-%(version_major_minor)s/wx', 'lib', 'share'],
}
moduleclass = 'vis'