Skip to content

Commit

Permalink
Merge pull request #18599 from stefan-wolfsheimer/wxWidgets-3.2.2.1-G…
Browse files Browse the repository at this point in the history
…CCcore-12.3.0

{vis}[GCC/12.3.0] wxWidgets v3.2.2.1, GST-plugins-base v1.22.5, GStreamer v1.22.5, Graphene v1.10.8
  • Loading branch information
boegel authored Sep 1, 2023
2 parents 56465d9 + bae44ca commit 57bac25
Show file tree
Hide file tree
Showing 4 changed files with 196 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.22.5'

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

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

builddependencies = [
('Meson', '1.1.1'),
('Ninja', '1.11.1'),
('GObject-Introspection', '1.76.1'),
('gettext', '0.21.1'),
('pkgconf', '1.9.5'),
('Bison', '3.8.2'),
]

dependencies = [
('zlib', '1.2.13'),
('GLib', '2.77.1'),
('GStreamer', '1.22.5'),
('Gdk-Pixbuf', '2.42.10'),
('X11', '20230603'),
('Mesa', '23.1.4'),
('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.22.5-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
easyblock = 'MesonNinja'

name = 'GStreamer'
version = '1.22.5'

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': '12.3.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.22.5.tar.xz': '4408d7930f381809e85917acc19712f173261ba85bdf20c5567b2a21b1193b61'},
{'GStreamer-1.18_fix_bad_suid.patch': '3d963ffdaf157ed92f46a071c4ef46f548c0b19186427e8404cb066705bbb61a'},
]

builddependencies = [
('Meson', '1.1.1'),
('Ninja', '1.11.1'),
('Perl', '5.36.1'),
('Bison', '3.8.2'),
('flex', '2.6.4'),
('GObject-Introspection', '1.76.1'),
('gettext', '0.21.1'),
('pkgconf', '1.9.5'),
]

dependencies = [
('Python', '3.11.3'),
('zlib', '1.2.13'),
('GMP', '6.2.1'),
('GSL', '2.7'),
('GLib', '2.77.1'),
('libunwind', '1.6.2'),
('elfutils', '0.189'),
]

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

moduleclass = 'vis'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/g/Graphene/Graphene-1.10.8-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
easyblock = 'MesonNinja'

name = 'Graphene'
version = '1.10.8'

homepage = 'https://ebassi.github.io/graphene/'
description = "Graphene is a thin layer of types for graphic libraries"

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

github_account = 'ebassi'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['%(version)s.tar.gz']
checksums = ['922dc109d2dc5dc56617a29bd716c79dd84db31721a8493a13a5f79109a4a4ed']

builddependencies = [
('Meson', '1.1.1'),
('Ninja', '1.11.1'),
('pkgconf', '1.9.5'),
('GObject-Introspection', '1.76.1'),
('binutils', '2.40'),
]
dependencies = [('GLib', '2.77.1')]

configopts = "-Dgobject_types=true -Dintrospection=enabled"

sanity_check_paths = {
'files': ['lib/libgraphene-1.0.%s' % SHLIB_EXT, 'share/gir-1.0/Graphene-1.0.gir'],
'dirs': ['include/graphene-1.0', 'lib/pkgconfig'],
}

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

name = 'wxWidgets'
version = '3.2.2.1'

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

github_account = 'wxWidgets'
source_urls = [GITHUB_RELEASE]
sources = [SOURCE_TAR_BZ2]
checksums = ['dffcb6be71296fff4b7f8840eb1b510178f57aa2eb236b20da41182009242c02']

builddependencies = [
('gettext', '0.21.1'),
('pkgconf', '1.9.5'),
('Python', '3.11.3'),
]

dependencies = [
('libpng', '1.6.39'),
('zlib', '1.2.13'),
('libjpeg-turbo', '2.1.5.1'),
('XZ', '5.4.2'),
('jbigkit', '2.1'),
('LibTIFF', '4.5.0'),
('expat', '2.5.0'),
('GTK3', '3.24.37'),
('X11', '20230603'),
('Mesa', '23.1.4'),
('libGLU', '9.0.3'),
('SDL2', '2.28.2'),
('cairo', '1.17.8'),
('GST-plugins-base', '1.22.5'),
('GLib', '2.77.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 57bac25

Please sign in to comment.