python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / libass / libass.mk
blob9fe967fdc00544f12d738c0df465168ca7b9e3af
1 ################################################################################
3 # libass
5 ################################################################################
7 LIBASS_VERSION = 0.13.4
8 LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz
9 # Do not use the github helper here, the generated tarball is *NOT*
10 # the same as the one uploaded by upstream for the release.
11 LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION)
12 LIBASS_INSTALL_STAGING = YES
13 LIBASS_LICENSE = ISC
14 LIBASS_LICENSE_FILES = COPYING
15 LIBASS_DEPENDENCIES = \
16 host-pkgconf \
17 freetype \
18 libfribidi \
19 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
21 # configure: WARNING: Install yasm for a significantly faster libass build.
22 # only for Intel archs
23 ifeq ($(BR2_i386)$(BR2_x86_64),y)
24 LIBASS_DEPENDENCIES += host-yasm
25 endif
27 ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
28 LIBASS_DEPENDENCIES += fontconfig
29 LIBASS_CONF_OPTS += --enable-fontconfig
30 else
31 LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
32 endif
34 ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
35 LIBASS_DEPENDENCIES += harfbuzz
36 LIBASS_CONF_OPTS += --enable-harfbuzz
37 else
38 LIBASS_CONF_OPTS += --disable-harfbuzz
39 endif
41 $(eval $(autotools-package))