__deps__ := FREETYPE $(eval $(call import.MODULE.defs,HARFBUZZ,harfbuzz,$(__deps__))) $(eval $(call import.CONTRIB.defs,HARFBUZZ)) HARFBUZZ.FETCH.url = https://download.handbrake.fr/handbrake/contrib/harfbuzz-2.3.1.tar.bz2 HARFBUZZ.FETCH.url += https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-2.3.1.tar.bz2 HARFBUZZ.FETCH.sha256 = f205699d5b91374008d6f8e36c59e419ae2d9a7bb8c5d9f34041b9a5abcae468 # Tell configure where to find our version of freetype HARFBUZZ.CONFIGURE.extra = \ --with-freetype=yes \ FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \ FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \ HARFBUZZ.CONFIGURE.extra += --with-fontconfig=no ifeq ($(HOST.system),darwin) HARFBUZZ.CONFIGURE.extra += --with-coretext=yes --with-glib=no endif ifeq (1-mingw,$(HOST.cross)-$(HOST.system)) HARFBUZZ.CONFIGURE.extra += --with-directwrite=no --with-glib=no \ --with-gobject=no --with-cairo=no --with-icu=no --with-graphite2=no \ --with-uniscribe=no endif