diff options
author | Cem Keylan <cem@ckyln.com> | 2023-06-02 20:08:34 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2023-06-02 20:08:34 +0200 |
commit | c04967ce5b2f13fc1dbc67ac9e6a3a15103d8930 (patch) | |
tree | b45e4a2251c37c85a9c1a8a24b067788a7d1f9cb /extra/webkit2gtk/build | |
parent | 1f1ba00b91708dabdcd3c54fe44581fc99d77e58 (diff) | |
download | repository-c04967ce5b2f13fc1dbc67ac9e6a3a15103d8930.tar.gz |
webkit2gtk: bump to 2.40.1
Diffstat (limited to 'extra/webkit2gtk/build')
-rwxr-xr-x | extra/webkit2gtk/build | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build index 17aa7455..5a890fda 100755 --- a/extra/webkit2gtk/build +++ b/extra/webkit2gtk/build @@ -1,11 +1,16 @@ #!/bin/sh -e +# Fix build of SourceBrush.cpp +patch -p1 < fix-sourcebrush.patch + make -C unifdef # Remove gettext requirement. -clsed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c -clsed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt -clsed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c +clsed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed '/if.*GETTEXT_FOUND/,/^endif/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt + # Fix clang build. clsed '/LC_ALL/d' Source/JavaScriptCore/jsc.cpp @@ -48,5 +53,5 @@ cmake -B build \ -DUSE_WPE_RENDERER=OFF \ -Wno-dev -cmake --build build +SAMUFLAGS='-j4' cmake --build build cmake --install build |