2014-01-26 22:39:00 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libass
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-29 14:24:29 +01:00
|
|
|
LIBASS_VERSION = 0.15.0
|
2015-03-03 09:41:12 +01:00
|
|
|
LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz
|
2015-07-26 22:38:29 +02:00
|
|
|
# Do not use the github helper here, the generated tarball is *NOT*
|
|
|
|
# the same as the one uploaded by upstream for the release.
|
|
|
|
LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION)
|
2014-01-26 22:39:00 +01:00
|
|
|
LIBASS_INSTALL_STAGING = YES
|
|
|
|
LIBASS_LICENSE = ISC
|
|
|
|
LIBASS_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
LIBASS_CPE_ID_VENDOR = libass_project
|
2014-01-26 22:39:00 +01:00
|
|
|
LIBASS_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
|
|
|
freetype \
|
2020-10-29 14:24:29 +01:00
|
|
|
harfbuzz \
|
2014-01-26 22:39:00 +01:00
|
|
|
libfribidi \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2018-04-29 12:36:53 +02:00
|
|
|
# configure: WARNING: Install nasm for a significantly faster libass build.
|
2015-08-01 17:12:47 +02:00
|
|
|
# only for Intel archs
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
2018-04-29 12:36:53 +02:00
|
|
|
LIBASS_DEPENDENCIES += host-nasm
|
2015-08-01 17:12:47 +02:00
|
|
|
endif
|
|
|
|
|
2014-01-26 22:39:00 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
|
|
|
LIBASS_DEPENDENCIES += fontconfig
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --enable-fontconfig
|
2014-01-26 22:39:00 +01:00
|
|
|
else
|
2015-12-16 22:11:48 +01:00
|
|
|
LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
|
2014-01-26 22:39:00 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|