diff options
Diffstat (limited to 'extra/webkit2gtk/build')
-rwxr-xr-x | extra/webkit2gtk/build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build index 17aa7455..1838acde 100755 --- a/extra/webkit2gtk/build +++ b/extra/webkit2gtk/build @@ -3,9 +3,11 @@ 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 @@ -44,8 +46,12 @@ cmake -B build \ -DUSE_LIBSECRET=OFF \ -DUSE_OPENJPEG="$(cpt l -C openjpeg2 ON OFF)" \ -DUSE_SOUP2=ON \ + -DUSE_GTK4=OFF \ -DUSE_WOFF2=OFF \ + -DUSE_JPEGXL=OFF \ + -DUSE_LIBBACKTRACE=OFF \ -DUSE_WPE_RENDERER=OFF \ + -DUSE_SYSTEM_SYSPROF_CAPTURE=OFF \ -Wno-dev cmake --build build |