196104ea2b
If no system font provider is provided, then libass will fail to build because it requires one by default. The error looks like this: configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig(Linux, other) is required. If you really want to compile withouta system font provider, add --disable-require-system-font-provider (typo is from the actual message) But, as the error messages says, we can allow the compilation without a system font provider if we use the above configure option, so let's do it. Fixes: http://autobuild.buildroot.net/results/3a4/3a4c07a0a54d5497fa8a4be2191856e286729637/ http://autobuild.buildroot.org/results/d5a/d5a93b5a870de748259b097ec0b98b207cfaa303/ and many others... Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> [yann.morin.1998@free.fr: move the --disable option in the !fontconfig case] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# libass
|
|
#
|
|
################################################################################
|
|
|
|
LIBASS_VERSION = 0.13.0
|
|
LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz
|
|
# 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)
|
|
LIBASS_INSTALL_STAGING = YES
|
|
LIBASS_LICENSE = ISC
|
|
LIBASS_LICENSE_FILES = COPYING
|
|
LIBASS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
freetype \
|
|
libfribidi \
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
# 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
|
|
|
|
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
|
LIBASS_DEPENDENCIES += fontconfig
|
|
LIBASS_CONF_OPTS += --enable-fontconfig
|
|
else
|
|
LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
|
LIBASS_DEPENDENCIES += harfbuzz
|
|
LIBASS_CONF_OPTS += --enable-harfbuzz
|
|
else
|
|
LIBASS_CONF_OPTS += --disable-harfbuzz
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|