Commit 691e604c authored by Rafaël Carré's avatar Rafaël Carré

libass doesn't need fontconfig on android

parent c7d27607
......@@ -7,6 +7,12 @@ ifeq ($(call need_pkg,"libass"),)
PKGS_FOUND += ass
endif
ifdef HAVE_ANDROID
WITH_FONTCONFIG = 0
else
WITH_FONTCONFIG = 1
endif
$(TARBALLS)/libass-$(ASS_VERSION).tar.gz:
$(call download,$(ASS_URL))
......@@ -16,10 +22,18 @@ libass: libass-$(ASS_VERSION).tar.gz .sum-ass
$(UNPACK)
$(MOVE)
DEPS_ass = freetype2 $(DEPS_freetype2) fontconfig $(DEPS_fontconfig) fribidi
DEPS_ass = freetype2 $(DEPS_freetype2) fribidi
ASS_CONF=--disable-enca
ifneq ($(WITH_FONTCONFIG), 0)
DEPS_ass += fontconfig $(DEPS_fontconfig)
else
ASS_CONF += --disable-fontconfig
endif
.ass: libass
#$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) --disable-enca
$(UPDATE_AUTOCONFIG)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) $(ASS_CONF)
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