Commit 09ce97e4 authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Jean-Baptiste Kempf

contrib: added HarfBuzz 0.9.2

To support complex scripts (e.g. Thai) in libass, HarfBuzz support is required.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fad67c61
6b3d313287e4b9baba864bcdd2e29d20b4c0573b4b538a2979d53996406bfbb819b13e7fd87b9d3918c055134377f6d9abd2fec7ce3b566869ecd56ca04c87b7 harfbuzz-0.9.2.tar.bz2
--- harfbuzz-0.9.2/configure.ac.orig 2012-08-04 23:49:48.000000000 +0900
+++ harfbuzz-0.9.0/configure.ac 2012-08-05 00:46:52.000000000 +0900
@@ -197,7 +197,7 @@
AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, have_coretext=true, have_coretext=false)
if $have_coretext; then
CORETEXT_CFLAGS=
- CORETEXT_LIBS=
+ CORETEXT_LIBS="-Wl,-framework,ApplicationServices"
AC_SUBST(CORETEXT_CFLAGS)
AC_SUBST(CORETEXT_LIBS)
AC_DEFINE(HAVE_CORETEXT, 1, [Have Core Text backend])
--- harfbuzz-0.9.2/harfbuzz.pc.in.orig 2012-08-12 12:05:38.000000000 +0900
+++ harfbuzz-0.9.2/harfbuzz.pc.in 2012-08-12 12:15:08.000000000 +0900
@@ -7,5 +7,5 @@
Description: Text shaping library
Version: @VERSION@
-Libs: -L${libdir} -lharfbuzz
+Libs: -L${libdir} -Wl,-framework,ApplicationServices -lharfbuzz
Cflags: -I${includedir}/harfbuzz
# HARFBUZZ
HARFBUZZ_VERSION := 0.9.2
HARFBUZZ_URL := http://www.freedesktop.org/software/harfbuzz/snapshot/harfbuzz-$(HARFBUZZ_VERSION).tar.bz2
PKGS += harfbuzz
ifeq ($(call need_pkg,"harfbuzz"),)
PKGS_FOUND += harfbuzz
endif
$(TARBALLS)/harfbuzz-$(HARFBUZZ_VERSION).tar.bz2:
$(call download,$(HARFBUZZ_URL))
.sum-harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2
harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
$(UNPACK)
ifdef HAVE_MACOSX
$(APPLY) $(SRC)/harfbuzz/harfbuzz-osx.patch
endif
$(MOVE)
DEPS_harfbuzz = freetype2 $(DEPS_freetype2)
HARFBUZZ_CONF=
.harfbuzz: harfbuzz
ifdef HAVE_MACOSX
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS)" ./autogen.sh $(HOSTCONF) $(HARFBUZZ_CONF)
else
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS)" ./configure $(HOSTCONF) $(HARFBUZZ_CONF)
endif
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment