1################################################################################ 2# 3# libass 4# 5################################################################################ 6 7LIBASS_VERSION = 0.17.1 8LIBASS_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. 11LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION) 12LIBASS_INSTALL_STAGING = YES 13LIBASS_LICENSE = ISC 14LIBASS_LICENSE_FILES = COPYING 15LIBASS_CPE_ID_VALID = YES 16LIBASS_DEPENDENCIES = \ 17 host-pkgconf \ 18 freetype \ 19 harfbuzz \ 20 libfribidi \ 21 $(if $(BR2_PACKAGE_LIBICONV),libiconv) 22 23# configure: WARNING: Install nasm for a significantly faster libass build. 24# only for Intel archs 25ifeq ($(BR2_i386)$(BR2_x86_64),y) 26LIBASS_DEPENDENCIES += host-nasm 27endif 28 29ifeq ($(BR2_PACKAGE_FONTCONFIG),y) 30LIBASS_DEPENDENCIES += fontconfig 31LIBASS_CONF_OPTS += --enable-fontconfig 32else 33LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider 34endif 35 36ifeq ($(BR2_PACKAGE_LIBUNIBREAK),y) 37LIBASS_DEPENDENCIES += libunibreak 38LIBASS_CONF_OPTS += --enable-libunibreak 39else 40LIBASS_CONF_OPTS += --disable-libunibreak 41endif 42 43$(eval $(autotools-package)) 44