Skip to content

Commit

Permalink
Merge pull request #10475 from akesandgren/20200424161632_new_pr_wxWi…
Browse files Browse the repository at this point in the history
…dgets313

{vis}[GCC/8.3.0] wxWidgets v3.1.3
  • Loading branch information
lexming authored Apr 25, 2020
2 parents 9ed70b2 + 371be51 commit bda47bf
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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': 'GCC', 'version': '8.3.0'}

source_urls = ['https://gstreamer.freedesktop.org/src/gst-plugins-base']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['b13e73e2fe74a4166552f9577c3dcb24bed077021b9c7fa600d910ec6987816a']

builddependencies = [
('Meson', '0.51.2', '-Python-3.7.4'),
('Ninja', '1.9.0'),
('GObject-Introspection', '1.63.1', '-Python-3.7.4'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
('Bison', '3.3.2'),
]

dependencies = [
('zlib', '1.2.11'),
('GLib', '2.62.0'),
('GTK+', '3.24.13'),
('GStreamer', '1.16.2'),
('Gdk-Pixbuf', '2.38.2'),
('X11', '20190717'),
('Mesa', '19.1.7'),
]

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'
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/g/GStreamer/GStreamer-1.16.2-GCC-8.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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': 'GCC', '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', '-Python-3.7.4'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
]

dependencies = [
('zlib', '1.2.11'),
('GMP', '6.1.2'),
('GSL', '2.6'),
('GLib', '2.62.0'),
('GTK+', '3.24.13'),
('libunwind', '1.3.1'),
]

configopts = '--with-dw=no '

sanity_check_paths = {
'files': [],
'dirs': ['include', 'share', 'libexec'],
}

moduleclass = 'vis'
46 changes: 46 additions & 0 deletions easybuild/easyconfigs/j/jbigkit/jbigkit-2.1-GCCcore-8.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# EasyBuild easyconfig
easyblock = 'MakeCp'

name = 'jbigkit'
version = '2.1'

homepage = ''
description = """JBIG-KIT is a software implementation of the JBIG1 data
compression standard (ITU-T T.82), which was designed for bi-level image
data, such as scanned documents."""

toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.cl.cam.ac.uk/~mgk25/jbigkit/download']
sources = [SOURCE_TAR_GZ]
patches = [
'%(name)s-%(version)s_libpath.patch',
'%(name)s-%(version)s_shlib.patch',
]
checksums = [
'de7106b6bfaf495d6865c7dd7ac6ca1381bd12e0d81405ea81e7f2167263d932', # jbigkit-2.1.tar.gz
'97c88956090097b484fcdb90e12eab82212e67ddc862f035d7c6446a696786ce', # jbigkit-2.1_libpath.patch
'54ae429e8ec949eceee0f902b676f572f1cdfbff46f77c7222acdeafb643a696', # jbigkit-2.1_shlib.patch
]

builddependencies = [
('binutils', '2.32'),
('pkg-config', '0.29.2'),
]

files_to_copy = [
(['libjbig/libjbig%s.%s' % (x, y) for x in ['85', ''] for y in ['a', SHLIB_EXT, SHLIB_EXT + '.0']], 'lib'),
(['libjbig/jbig85.h', 'libjbig/jbig.h'], 'include'),
(['pbmtools/pbmtojbg', 'pbmtools/jbgtopbm'], 'bin'),
]

sanity_check_paths = {
'files': ['lib/libjbig85.a', 'lib/libjbig.a',
'bin/pbmtojbg', 'bin/jbgtopbm',
'include/jbig.h',
],
'dirs': ['bin', 'include', 'lib']
}

moduleclass = 'vis'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/s/SDL2/SDL2-2.0.10-GCCcore-8.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu, NTUA
# Authors:: Fotis Georgatos <fotis@cern.ch>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# https://hpcbios.readthedocs.org/en/latest/
##

easyblock = 'ConfigureMake'

name = 'SDL2'
version = '2.0.10'

homepage = 'https://www.libsdl.org/'
description = "SDL: Simple DirectMedia Layer, a cross-platform multimedia library"

toolchain = {'name': 'GCCcore', 'version': '8.3.0'}

source_urls = ['https://www.libsdl.org/release/']
sources = [SOURCE_TAR_GZ]
checksums = ['b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57']

builddependencies = [('binutils', '2.32')]

dependencies = [
('X11', '20190717'),
]

sanity_check_paths = {
'files': ['bin/sdl2-config', 'lib/libSDL2.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'lib'
69 changes: 69 additions & 0 deletions easybuild/easyconfigs/w/wxWidgets/wxWidgets-3.1.3-GCC-8.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
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': 'GCC', 'version': '8.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/wxWidgets/wxWidgets/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['a5cb5ea326d76b5e472e9400933cef17c900d5c9b549e40eef00b64fe86d7cb0']

builddependencies = [
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
('Python', '3.7.4'),
]

dependencies = [
('libpng', '1.6.37'),
('zlib', '1.2.11'),
('libjpeg-turbo', '2.0.3'),
('XZ', '5.2.4'),
('jbigkit', '2.1'),
('LibTIFF', '4.0.10'),
('expat', '2.2.7'),
('GTK+', '3.24.13'),
('X11', '20190717'),
('Mesa', '19.1.7'),
('libGLU', '9.0.1'),
('SDL2', '2.0.10'),
('cairo', '1.16.0'),
('GST-plugins-base', '1.16.2'),
('GLib', '2.62.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'

0 comments on commit bda47bf

Please sign in to comment.