]> granicus.if.org Git - libass/commitdiff
Travis CI: build with HarfBuzz
authorOleg Oshmyan <chortos@inbox.lv>
Sun, 5 Feb 2017 18:47:48 +0000 (20:47 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Sun, 5 Feb 2017 18:58:39 +0000 (20:58 +0200)
On OS X, disable some unnecessary HarfBuzz dependencies. This triggers
a source build of HarfBuzz, but it should be fast and avoids bringing
in Fontconfig through a dependency chain, which we want to avoid as it
wastes a lot of time building its cache when installed.

The dependency that brings in Fontconfig is gobject-introspection, but
we don't need icu4c either, so disable that to save a little more time
that would be spent installing icu4c. We could also disable glib, but
the fribidi formula also has it as a dependency and brings it in anyway.

.travis.yml

index 9583c29743aa6817b157215822e20f87ad4e0714..73e952d1bda019b8c5c6e250fdf0265f5ef05a6e 100644 (file)
@@ -29,7 +29,7 @@ branches:
 
 before_install:
   - (sudo apt-get update || brew update)
-  - (sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libfribidi-dev yasm || brew install freetype fribidi yasm) && ./autogen.sh && ./configure
+  - (sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev yasm || brew install freetype fribidi harfbuzz yasm --without-gobject-introspection --without-icu4c) && ./autogen.sh && ./configure
 script:
   - make -j4