3 # Enable streaming related options if gstreamer is installed.
4 kiss list gst-plugins-base
&& streaming
=ON
6 # Enable the use of openjpeg if the package is installed.
7 kiss list openjpeg2
&& jpeg
=ON
9 # Enable WEB_CRYPTO if libtasn1 is installed.
10 kiss list libtasn1
&& tasn
=ON
12 # Remove gettext requirement.
13 sed -i 's/ngettext/printf/g' Tools
/MiniBrowser
/gtk
/BrowserDownloadsBar.c
14 sed -i '/po_files \*\.po/d' Source
/WebCore
/platform
/gtk
/po
/CMakeLists.txt
15 sed -i '/^GETTEXT_C/d' Source
/WebCore
/platform
/gtk
/po
/CMakeLists.txt
18 sed -i '/LC_ALL/d' Source
/JavaScriptCore
/jsc.cpp
19 sed -i '/WTFLogAlways/d' Source
/JavaScriptCore
/jsc.cpp
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_INSTALL_LIBEXECDIR=/usr
/lib \
27 -DLIB_INSTALL_DIR=/usr
/lib \
29 -DCMAKE_SKIP_RPATH=ON \
30 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
31 -DENABLE_SAMPLING_PROFILER=OFF \
32 -DENABLE_GAMEPAD=OFF \
33 -DENABLE_GEOLOCATION=OFF \
35 -DENABLE_INTROSPECTION=OFF \
36 -DENABLE_MINIBROWSER=OFF \
37 -DENABLE_SPELLCHECK=OFF \
38 -DUSE_GSTREAMER_GL=OFF \
42 -DUSE_OPENJPEG=${jpeg:-OFF} \
45 -DUSE_WPE_RENDERER=OFF \
46 -DENABLE_WEB_CRYPTO=${tasn:-OFF} \
47 -DENABLE_VIDEO=${streaming:-OFF} \
48 -DENABLE_WEB_AUDIO=${streaming:-OFF} \