import 'compile/cmake' name=webkitgtk version=2.16.6 dlextract "https://webkitgtk.org/releases/$name-$version.tar.xz" \ '0e2d142a586e4ff79cf0324f4fdbf20c' _ 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_MEMORY_SAMPLER=OFF \ -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_WEB_AUDIO=OFF \ -DUSE_LIBHYPHEN=OFF \ -DUSE_LIBNOTIFY=OFF \ -DUSE_LIBSECRET=OFF \ -DUSE_SYSTEM_MALLOC=ON # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:Tools/Scripts/update-webkitgtk-libs