aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
926 B
Makefile
40 lines
926 B
Makefile
################################################################################
|
|
#
|
|
# libass
|
|
#
|
|
################################################################################
|
|
|
|
LIBASS_VERSION = 0.10.2
|
|
LIBASS_SITE = http://libass.googlecode.com/files
|
|
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
|
|
LIBASS_CONF_OPTS += --enable-fontconfig
|
|
else
|
|
LIBASS_CONF_OPTS += --disable-fontconfig
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
|
LIBASS_DEPENDENCIES += harfbuzz
|
|
LIBASS_CONF_OPTS += --enable-harfbuzz
|
|
else
|
|
LIBASS_CONF_OPTS += --disable-harfbuzz
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBENCA),y)
|
|
LIBASS_DEPENDENCIES += libenca
|
|
LIBASS_CONF_OPTS += --enable-enca
|
|
else
|
|
LIBASS_CONF_OPTS += --disable-enca
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|