Skip to content

Commit

Permalink
adding easyconfigs: wxWidgets-3.2.5-GCC-13.2.0.eb, GST-plugins-base-1…
Browse files Browse the repository at this point in the history
….24.4-GCC-13.2.0.eb, GStreamer-1.24.4-GCC-13.2.0.eb
  • Loading branch information
SimonPinches committed Jun 12, 2024
1 parent bfc2938 commit 6394275
Show file tree
Hide file tree
Showing 3 changed files with 164 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.24.4'

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': '13.2.0'}

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

builddependencies = [
('Meson', '1.2.3'),
('Ninja', '1.11.1'),
('GObject-Introspection', '1.78.1'),
('gettext', '0.22'),
('pkgconf', '2.0.3'),
('Bison', '3.8.2'),
]

dependencies = [
('zlib', '1.2.13'),
('GLib', '2.78.1'),
('GStreamer', '1.24.4'),
('Gdk-Pixbuf', '2.42.10'),
('X11', '20231019'),
('Mesa', '23.1.9'),
('Graphene', '1.10.8'),
]

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'
50 changes: 50 additions & 0 deletions easybuild/easyconfigs/g/GStreamer/GStreamer-1.24.4-GCC-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
easyblock = 'MesonNinja'

name = 'GStreamer'
version = '1.24.4'

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': '13.2.0'}

source_urls = ['https://gstreamer.freedesktop.org/src/gstreamer']
sources = [SOURCELOWER_TAR_XZ]
patches = [
'%(name)s-1.18_fix_bad_suid.patch',
]
checksums = [
{'gstreamer-1.24.4.tar.xz': '52c93bc48e03533aa676fd8c15eb6b5fc326c68db311c50bcc0a865f31a6c653'},
{'GStreamer-1.18_fix_bad_suid.patch': '3d963ffdaf157ed92f46a071c4ef46f548c0b19186427e8404cb066705bbb61a'},
]

builddependencies = [
('Meson', '1.2.3'),
('Ninja', '1.11.1'),
('Perl', '5.38.0'),
('Bison', '3.8.2'),
('flex', '2.6.4'),
('GObject-Introspection', '1.78.1'),
('gettext', '0.22'),
('pkgconf', '2.0.3'),
]

dependencies = [
('Python', '3.11.5'),
('zlib', '1.2.13'),
('GMP', '6.3.0'),
('GSL', '2.7'),
('GLib', '2.78.1'),
('libunwind', '1.6.2'),
('elfutils', '0.190'),
]

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

moduleclass = 'vis'
71 changes: 71 additions & 0 deletions easybuild/easyconfigs/w/wxWidgets/wxWidgets-3.2.5-GCC-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
easyblock = 'ConfigureMake'

name = 'wxWidgets'
version = '3.2.5'

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': '13.2.0'}
toolchainopts = {'pic': True}

github_account = 'wxWidgets'
source_urls = [GITHUB_RELEASE]
sources = [SOURCE_TAR_BZ2]
checksums = ['0ad86a3ad3e2e519b6a705248fc9226e3a09bbf069c6c692a02acf7c2d1c6b51']

builddependencies = [
('gettext', '0.22'),
('pkgconf', '2.0.3'),
('Python', '3.11.5'),
]

dependencies = [
('libpng', '1.6.40'),
('zlib', '1.2.13'),
('libjpeg-turbo', '3.0.1'),
('XZ', '5.4.4'),
('jbigkit', '2.1'),
('LibTIFF', '4.6.0'),
('expat', '2.5.0'),
('GTK3', '3.24.39'),
('X11', '20231019'),
('Mesa', '23.1.9'),
('libGLU', '9.0.3'),
('SDL2', '2.28.5'),
('cairo', '1.18.0'),
('GST-plugins-base', '1.24.4'),
('GLib', '2.78.1'),
]

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-webview --disable-webviewwebkit '
configopts += '--disable-tests '


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 6394275

Please sign in to comment.