[vlc-commits] libass: added HarfBuzz support

Naohiro KORIYAMA git at videolan.org
Mon Aug 13 00:37:01 CEST 2012


vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Sun Aug 12 13:34:26 2012 +0900| [ace877b7fd00a59e71c12b0941c60e355150091a] | committer: Jean-Baptiste Kempf

libass: added HarfBuzz support

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ace877b7fd00a59e71c12b0941c60e355150091a
---

 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)



More information about the vlc-commits mailing list