[vlc-devel] [PATCH 3/3] libass: added HarfBuzz support

Naohiro KORIYAMA nkoriyama at gmail.com
Sun Aug 12 06:34:26 CEST 2012


---
 contrib/src/ass/rules.mak | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/contrib/src/ass/rules.mak b/contrib/src/ass/rules.mak
index 360c15c..2d1099d 100644
--- a/contrib/src/ass/rules.mak
+++ b/contrib/src/ass/rules.mak
@@ -13,6 +13,8 @@ else
 WITH_FONTCONFIG = 1
 endif
 
+WITH_HARFBUZZ = 1
+
 $(TARBALLS)/libass-$(ASS_VERSION).tar.gz:
 	$(call download,$(ASS_URL))
 
@@ -32,6 +34,12 @@ else
 ASS_CONF += --disable-fontconfig
 endif
 
+ifneq ($(WITH_HARFBUZZ), 0)
+DEPS_ass += harfbuzz $(DEPS_harfbuzz)
+else
+ASS_CONF += --disable-harfbuzz
+endif
+
 .ass: libass
 	$(UPDATE_AUTOCONFIG)
 	cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) $(ASS_CONF)
-- 
1.7.11.3




More information about the vlc-devel mailing list