|
|
|
# OLD: WebKitGTK 3.21 and higher require GCC6
|
|
|
|
|
|
|
|
import 'compile/cmake'
|
|
|
|
|
|
|
|
name=webkitgtk
|
|
|
|
version=2.20.5
|
|
|
|
|
|
|
|
dlextract "https://webkitgtk.org/releases/$name-$version.tar.xz" \
|
|
|
|
'72a05f6a4dc1c78b079590a8fd280401'
|
|
|
|
_
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
# This is configured to not to be used for a full-fledged web browser,
|
|
|
|
# but rather simple things such as a feed reader.
|
|
|
|
# As such, I've just went and disabled everything that is shown after configure
|
|
|
|
# except for a few performance-related options.
|
|
|
|
compile_cmake -- -DPORT=GTK \
|
|
|
|
-DENABLE_ACCELERATED_2D_CANVAS=OFF \
|
|
|
|
-DENABLE_DRAG_SUPPORT=OFF \
|
|
|
|
-DENABLE_GEOLOCATION=OFF \
|
|
|
|
-DENABLE_GLES2=OFF \
|
|
|
|
-DENABLE_GTKDOC=OFF \
|
|
|
|
-DENABLE_ICONDATABASE=OFF \
|
|
|
|
-DENABLE_INTROSPECTION=OFF \
|
|
|
|
-DENABLE_JIT=ON \
|
|
|
|
-DENABLE_MINIBROWSER=OFF \
|
|
|
|
-DENABLE_OPENGL=OFF \
|
|
|
|
-DENABLE_PLUGIN_PROCESS_GTK2=OFF \
|
|
|
|
-DENABLE_QUARTZ_TARGET=OFF \
|
|
|
|
-DENABLE_SAMPLING_PROFILER=OFF \
|
|
|
|
-DENABLE_SPELLCHECK=OFF \
|
|
|
|
-DENABLE_TOUCH_EVENTS=OFF \
|
|
|
|
-DENABLE_VIDEO=OFF \
|
|
|
|
-DENABLE_WEBDRIVER=OFF \
|
|
|
|
-DENABLE_WEB_AUDIO=OFF \
|
|
|
|
-DENABLE_WEB_CRYPTO=OFF \
|
|
|
|
-DUSE_LIBHYPHEN=OFF \
|
|
|
|
-DUSE_LIBNOTIFY=OFF \
|
|
|
|
-DUSE_LIBSECRET=OFF \
|
|
|
|
-DUSE_SYSTEM_MALLOC=ON \
|
|
|
|
-DUSE_WOFF2=OFF
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|