webkitgtk: add dependency on the woff2 package
authorAdrian Perez de Castro <aperez@igalia.com>
Sat, 22 Sep 2018 23:53:30 +0000 (02:53 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 25 Sep 2018 20:51:30 +0000 (22:51 +0200)
The woff2 dependency is used to support Web fonts in WOFF2 format.
This is a Web-facing feature that Web sites expect WebKit to support,
and it is recommended to be unconditionally enabled. While it is
possible to disable the feature at build time, upstream only recommends
doing so if the target system cannot provide a woff2 package.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/webkitgtk/Config.in
package/webkitgtk/webkitgtk.mk

index df2aeef3d9f66affbcc07d5d7cf82d21737049b3..96a7ab0c941380b60678ee418a6c76ef5e496486 100644 (file)
@@ -42,6 +42,7 @@ config BR2_PACKAGE_WEBKITGTK
        select BR2_PACKAGE_SQLITE
        select BR2_PACKAGE_WEBP
        select BR2_PACKAGE_WEBP_DEMUX
+       select BR2_PACKAGE_WOFF2
        select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11
        select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11
        select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11
index eccd9bbae52ef4489a8e3976929a2bb1555497ef..f28417ac730b6b1631ac8a8dcad40a7516909193 100644 (file)
@@ -14,7 +14,7 @@ WEBKITGTK_LICENSE_FILES = \
        Source/WebCore/LICENSE-LGPL-2.1
 WEBKITGTK_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
        enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
-       libtasn1 libxml2 libxslt sqlite webp
+       libtasn1 libxml2 libxslt sqlite webp woff2
 WEBKITGTK_CONF_OPTS = \
        -DENABLE_API_TESTS=OFF \
        -DENABLE_GEOLOCATION=OFF \
@@ -22,6 +22,7 @@ WEBKITGTK_CONF_OPTS = \
        -DENABLE_INTROSPECTION=OFF \
        -DENABLE_MINIBROWSER=ON \
        -DENABLE_SPELLCHECK=ON \
+       -DENABLE_WOFF2=ON \
        -DPORT=GTK \
        -DUSE_LIBNOTIFY=OFF \
        -DUSE_LIBHYPHEN=OFF