Skip to content

Commit

Permalink
added wxWidgets
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Wolfsheimer committed Oct 23, 2024
1 parent 0f6cb8b commit f68eb56
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions easybuild/easyconfigs/w/wxWidgets/wxWidgets-3.2.6-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
easyblock = 'ConfigureMake'

name = 'wxWidgets'
version = '3.2.6'

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

github_account = 'wxWidgets'
source_urls = [GITHUB_RELEASE]
sources = [SOURCE_TAR_BZ2]
checksums = ['939e5b77ddc5b6092d1d7d29491fe67010a2433cf9b9c0d841ee4d04acb9dce7']

builddependencies = [
('gettext', '0.22.5'),
('pkgconf', '2.2.0'),
('Python', '3.12.3'),
]

dependencies = [
('libpng', '1.6.43'),
('zlib', '1.3.1'),
('libjpeg-turbo', '3.0.1'),
('XZ', '5.4.5'),
('jbigkit', '2.1'),
('LibTIFF', '4.6.0'),
('expat', '2.6.2'),
('GTK3', '3.24.42'),
('X11', '20240607'),
('Mesa', '24.1.3'),
('libGLU', '9.0.3'),
('SDL2', '2.30.6'),
('cairo', '1.18.0'),
('GST-plugins-base', '1.24.8'),
('GLib', '2.80.4'),
]

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 f68eb56

Please sign in to comment.