3 ASS_URL
:= http
://libass.googlecode.com
/files
/libass-
$(ASS_VERSION
).
tar.gz
6 ifeq ($(call need_pkg
,"libass"),)
28 $(TARBALLS
)/libass-
$(ASS_VERSION
).
tar.gz
:
29 $(call download
,$(ASS_URL
))
31 .sum-ass
: libass-
$(ASS_VERSION
).
tar.gz
33 libass
: libass-
$(ASS_VERSION
).
tar.gz .sum-ass
36 $(APPLY
) $(SRC
)/ass
/ass-macosx.patch
40 DEPS_ass
= freetype2
$(DEPS_freetype2
) fribidi
42 ASS_CONF
=--disable-enca
44 ifneq ($(WITH_FONTCONFIG
), 0)
45 DEPS_ass
+= fontconfig
$(DEPS_fontconfig
)
47 ASS_CONF
+= --disable-fontconfig
50 ifneq ($(WITH_HARFBUZZ
), 0)
51 DEPS_ass
+= harfbuzz
$(DEPS_harfbuzz
)
53 ASS_CONF
+= --disable-harfbuzz
58 cd
$< && $(HOSTVARS
) CFLAGS
="$(CFLAGS) -O3" .
/configure
$(HOSTCONF
) $(ASS_CONF
)
59 cd
$< && $(MAKE
) install