2014-01-26 22:39:00 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libass
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-11-21 20:40:31 +01:00
|
|
|
LIBASS_VERSION = 0.13.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
|
|
|
|
LIBASS_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
|
|
|
freetype \
|
|
|
|
libfribidi \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2015-08-01 17:12:47 +02:00
|
|
|
# configure: WARNING: Install yasm for a significantly faster libass build.
|
|
|
|
# only for Intel archs
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
|
|
|
LIBASS_DEPENDENCIES += host-yasm
|
|
|
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
|
|
|
LIBASS_DEPENDENCIES += harfbuzz
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --enable-harfbuzz
|
2014-01-26 22:39:00 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --disable-harfbuzz
|
2014-01-26 22:39:00 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|