From a2b1cc202069176560da67251c8a467beb2f6943 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 11 Jun 2021 19:21:49 +0300 Subject: webkit2gtk: add wayland target --- extra/webkit2gtk/build | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'extra/webkit2gtk') diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build index ffbbe15f..d00664e3 100755 --- a/extra/webkit2gtk/build +++ b/extra/webkit2gtk/build @@ -6,12 +6,6 @@ sed_i() { cat _ > "$file"; rm -f _ } -# Enable the use of openjpeg if the package is installed. -cpt-list openjpeg2 >/dev/null 2>&1 && jpeg=ON - -# Enable webcrypto if libtasn1 is installed. -cpt-list libtasn1 >/dev/null 2>&1 && libtasn=ON - # Remove gettext requirement. sed_i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c sed_i '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt @@ -41,14 +35,14 @@ cmake -B build \ -DENABLE_MINIBROWSER=OFF \ -DENABLE_SPELLCHECK=OFF \ -DUSE_LIBHYPHEN=OFF \ - -DUSE_LIBNOTIFY=OFF \ + -DUSE_LIBNOTIFY="$(cpt l -C libnotify ON OFF)" \ -DUSE_LIBSECRET=OFF \ -DUSE_SYSTEMD=OFF \ - -DUSE_OPENJPEG=${jpeg:-OFF} \ + -DUSE_OPENJPEG="$(cpt l -C openjpeg2 ON OFF)" \ -DUSE_WOFF2=OFF \ -DUSE_WPE_RENDERER=OFF \ - -DENABLE_WEB_CRYPTO=${libtasn:-OFF} \ - -DENABLE_WAYLAND_TARGET=OFF \ + -DENABLE_WEB_CRYPTO="$(cpt l -C libtasn1 ON OFF)" \ + -DENABLE_WAYLAND_TARGET="$(cpt l -C wayland ON OFF)" \ -DENABLE_GAMEPAD=OFF \ -Wno-dev -- cgit v1.2.3