Skip to content

Commit

Permalink
add qt5WebKit ec
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Jan 15, 2025
1 parent 65fd694 commit 161a099
Showing 1 changed file with 62 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 161a099

Please sign in to comment.