aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adrian Perez de Castro <aperez@igalia.com>2018-03-23 20:59:40 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-10-05 15:17:08 +0200
commit366f20c5a7d93b2864c17ebc7de4084aaee289e0 (patch)
treeae5d3a30e2975696e826e017e1a76660147068bd
parent3ac0e6c5013a645c9c7414f6f759dc91b83e6399 (diff)
downloadbuildroot-366f20c5a7d93b2864c17ebc7de4084aaee289e0.tar.gz
buildroot-366f20c5a7d93b2864c17ebc7de4084aaee289e0.tar.bz2
woff2: new package
Add the woff2 package to Builroot. This is needed by webkitgtk from version 2.20.0 onwards. WebKitGTK+ used to bundle a copy of the library, but it stopped doing so now that the upstream is has been making releases. [Peter: fix license hash] Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 70afd4afa765183032fd0c335b6855fd02e30745) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/woff2/Config.in9
-rw-r--r--package/woff2/woff2.hash5
-rw-r--r--package/woff2/woff2.mk17
5 files changed, 33 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 6ab8097b43..ba16b4667a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -63,6 +63,7 @@ N: Adrian Perez de Castro <aperez@igalia.com>
F: package/brotli/
F: package/libepoxy/
F: package/webkitgtk/
+F: package/woff2/
N: Adrien Gallou√ęt <adrien@gallouet.fr>
F: package/glorytun/
diff --git a/package/Config.in b/package/Config.in
index 6f619e72b1..456d5443c4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1171,6 +1171,7 @@ menu "Graphics"
source "package/waylandpp/Config.in"
source "package/webkitgtk/Config.in"
source "package/webp/Config.in"
+ source "package/woff2/Config.in"
source "package/zbar/Config.in"
source "package/zxing-cpp/Config.in"
endmenu
diff --git a/package/woff2/Config.in b/package/woff2/Config.in
new file mode 100644
index 0000000000..48672570dd
--- /dev/null
+++ b/package/woff2/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_WOFF2
+ bool "woff2"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_BROTLI
+ help
+ Reference implementation for the WOFF2 font file format,
+ typically used for Web fonts
+
+ https://github.com/google/woff2
diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash
new file mode 100644
index 0000000000..469071e3c2
--- /dev/null
+++ b/package/woff2/woff2.hash
@@ -0,0 +1,5 @@
+# Locally generated:
+sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz
+
+# Hash for license files:
+sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE
diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk
new file mode 100644
index 0000000000..23b88a5e9a
--- /dev/null
+++ b/package/woff2/woff2.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# woff2
+#
+################################################################################
+
+WOFF2_VERSION = 1.0.2
+WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz
+WOFF2_SITE = https://github.com/google/woff2/archive
+WOFF2_LICENSE = MIT
+WOFF2_LICENSE_FILES = LICENSE
+WOFF2_INSTALL_STAGING = YES
+WOFF2_DEPENDENCIES = brotli
+WOFF2_CONF_OPTS = \
+ -DNOISY_LOGGING=OFF
+
+$(eval $(cmake-package))