From 161a099b97768587581a9222f6cbd33cb4d947c3 Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Wed, 15 Jan 2025 18:20:31 +0100 Subject: [PATCH] add qt5WebKit ec --- ...Qt5Webkit-5.212.0-alpha4-GCCcore-12.3.0.eb | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 easybuild/easyconfigs/q/Qt5Webkit/Qt5Webkit-5.212.0-alpha4-GCCcore-12.3.0.eb diff --git a/easybuild/easyconfigs/q/Qt5Webkit/Qt5Webkit-5.212.0-alpha4-GCCcore-12.3.0.eb b/easybuild/easyconfigs/q/Qt5Webkit/Qt5Webkit-5.212.0-alpha4-GCCcore-12.3.0.eb new file mode 100644 index 00000000000..da1e47f40b0 --- /dev/null +++ b/easybuild/easyconfigs/q/Qt5Webkit/Qt5Webkit-5.212.0-alpha4-GCCcore-12.3.0.eb @@ -0,0 +1,62 @@ +# Author: Pavel Grochal (INUITS) +# Update: Pavel Tománek (INUITS) +# License: GPLv2 + +easyblock = 'CMakeNinja' + +name = 'Qt5Webkit' +version = '5.212.0-alpha4' + +homepage = 'https://github.com/qt/qtwebkit' +description = "Qt Port of WebKit. WebKit is an open source web browser engine." +docurls = ['https://github.com/qt/qtwebkit/blob/dev/README'] + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-%(version)s/'] +sources = ['qtwebkit-%(version)s.tar.xz'] +patches = [ + '%(name)s-%(version)s_bison3.7.patch', + '%(name)s-%(version)s_json.patch', +] +checksums = [ + {'qtwebkit-5.212.0-alpha4.tar.xz': '9ca126da9273664dd23a3ccd0c9bebceb7bb534bddd743db31caf6a5a6d4a9e6'}, + {'Qt5Webkit-5.212.0-alpha4_bison3.7.patch': '34f37b53ee0bc31c63ce85ebd1ae95543a8ba28483e387b20efd50574bd813be'}, + {'Qt5Webkit-5.212.0-alpha4_json.patch': '68e2c47882e4749c85933f176c45a8f781fa8a2e92818c58b6af15f27dadb9f5'}, +] + +builddependencies = [ + ('binutils', '2.40'), + ('CMake', '3.26.3'), + ('pkgconf', '1.9.5'), + ('Bison', '3.8.2'), + ('flex', '2.6.4'), + ('gperf', '3.1'), + ('Ninja', '1.11.1'), + ('Python', '3.11.3'), + ('Ruby', '3.0.3'), +] + +dependencies = [ + ('Qt5', '5.15.10'), + ('zlib', '1.2.13'), + ('SQLite', '3.42.0'), + ('ICU', '73.2'), + ('libxslt', '1.1.38'), + ('libjpeg-turbo', '2.1.5.1'), +] + +configopts = "-G Ninja -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DUSE_LIBHYPHEN=OFF -DUSE_GSTREAMER=OFF " +# Starting from ICU 68 the TRUE/FALSE macros are not defined in standard header +# files, see https://unicode-org.github.io/icu/userguide/dev/codingguidelines.html +configopts += "-DCMAKE_CXX_FLAGS='-DU_DEFINE_FALSE_AND_TRUE=1' " + +sanity_check_paths = { + 'files': [ + 'lib64/libQt5WebKit.%s' % SHLIB_EXT, + 'lib64/libQt5WebKitWidgets.%s' % SHLIB_EXT, + ], + 'dirs': ['include/QtWebKit', 'include/QtWebKitWidgets'], +} + +moduleclass = 'devel'