summaryrefslogtreecommitdiffstats
path: root/contrib/libass/module.defs
blob: 556d7cc0b0fc92ca5be8a40a28e4ec17d6f9571e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
__deps__ := FONTCONFIG FREETYPE FRIBIDI
$(eval $(call import.MODULE.defs,LIBASS,libass,$(__deps__)))
$(eval $(call import.CONTRIB.defs,LIBASS))

LIBASS.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libass-0.10.0-1.tar.gz

# Disable as many external dependencies as I can get away with
# and tell configure where to find our version of freetype
LIBASS.CONFIGURE.extra = \
    --disable-png --disable-enca \
    FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \
    FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \
    FONTCONFIG_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfontconfig" \
    FONTCONFIG_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" \
    FRIBIDI_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfribidi" \
    FRIBIDI_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include"