2022-04-06 05:11:25 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://webkitgtk.org
|
|
|
|
TERMUX_PKG_DESCRIPTION="A full-featured port of the WebKit rendering engine"
|
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-26 18:57:15 +02:00
|
|
|
TERMUX_PKG_VERSION=2.36.1
|
2022-04-06 05:11:25 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://webkitgtk.org/releases/webkitgtk-${TERMUX_PKG_VERSION}.tar.xz
|
2022-04-26 18:57:15 +02:00
|
|
|
TERMUX_PKG_SHA256=0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f
|
|
|
|
TERMUX_PKG_DEPENDS="atk, enchant, fontconfig, freetype, glib, gst-plugins-base, gstreamer, gtk3, harfbuzz, harfbuzz-icu, libc++, libcairo, libgcrypt, libhyphen, libicu, libjpeg-turbo, libnotify, libpng, libsoup, libtasn1, libwebp, libxml2, libx11, libxcomposite, libxdamage, libxslt, libxt, littlecms, openjpeg, pango, woff2"
|
2022-04-06 05:11:25 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="xorgproto"
|
2022-04-26 00:46:57 +02:00
|
|
|
TERMUX_PKG_RECOMMENDS="glib-networking"
|
2022-04-06 05:11:25 +02:00
|
|
|
TERMUX_PKG_BREAKS="webkit, webkitgtk"
|
|
|
|
TERMUX_PKG_REPLACES="webkit, webkitgtk"
|
|
|
|
|
2022-04-26 18:57:15 +02:00
|
|
|
# USE_OPENGL_OR_ES causes crashes when enabled.
|
2022-04-06 05:11:25 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DPORT=GTK
|
|
|
|
-DENABLE_GAMEPAD=OFF
|
|
|
|
-DUSE_SYSTEMD=OFF
|
|
|
|
-DUSE_LIBSECRET=OFF
|
|
|
|
-DENABLE_INTROSPECTION=OFF
|
|
|
|
-DUSE_WPE_RENDERER=OFF
|
|
|
|
-DENABLE_BUBBLEWRAP_SANDBOX=OFF
|
|
|
|
-DUSE_LD_GOLD=OFF
|
2022-04-26 00:46:57 +02:00
|
|
|
-DUSE_OPENGL_OR_ES=OFF
|
2022-04-26 18:57:15 +02:00
|
|
|
-DENABLE_JOURNALD_LOG=OFF
|
|
|
|
-DUSE_SOUP2=ON
|
2022-04-06 05:11:25 +02:00
|
|
|
"
|
2022-04-26 18:57:15 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -DHAVE_MISSING_STD_FILESYSTEM_PATH_CONSTRUCTOR"
|
|
|
|
CPPFLAGS+=" -DCMS_NO_REGISTER_KEYWORD"
|
|
|
|
}
|