Browse Source

[woff2-compress-build.sh] convert to upstream woff2 at v1.0.2 (includes brotli v1.0.1)

the macOS build issue has been addressed and compiles work on macOS
Chris Simpkins 7 years ago
parent
commit
96a35cb528
1 changed files with 8 additions and 4 deletions
  1. 8 4
      tools/scripts/install/woff2-compress-build.sh

+ 8 - 4
tools/scripts/install/woff2-compress-build.sh

@@ -14,6 +14,7 @@
 # The woff2 git clone directory.
 BUILD="$HOME"
 INST="$HOME/woff2"
+WOFF2_VERSION_TAG="v1.0.2"
 
 # woff2 executable path
 WOFF2_BIN="$BUILD/woff2/woff2_compress"
@@ -29,13 +30,16 @@ echo "#####"
 echo "git clone woff2 project"
 echo "#####"
 
-# clone the Source Foundry fork of the woff2 repo
-#   contains fix for OS X build bug - https://github.com/google/woff2/issues/73
-#   recursive flag to clone the brotli submodule within the woff2 repo
-git clone --recursive https://github.com/source-foundry/woff2.git
+# clone the woff2 repository
+git clone --recursive https://github.com/google/woff2.git
 
 cd "$INST" || exit 1
 
+# checkout desired version tag
+echo " "
+echo "Checking out woff2 version tag $WOFF2_VERSION_TAG"
+git checkout $WOFF2_VERSION_TAG
+
 echo "#####"
 echo "Build woff2"
 echo "#####"