2014-01-26 22:39:00 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libass
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-07-26 22:38:29 +02:00
|
|
|
LIBASS_VERSION = 0.12.3
|
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)
|
|
|
|
|
|
|
|
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
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --disable-fontconfig
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBENCA),y)
|
|
|
|
LIBASS_DEPENDENCIES += libenca
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --enable-enca
|
2014-01-26 22:39:00 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBASS_CONF_OPTS += --disable-enca
|
2014-01-26 22:39:00 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|