kumquat-buildroot/package/libass/libass.mk
Fabrice Fontaine c9234992cd package/libass: set LIBASS_CPE_ID_VALID
cpe:2.3🅰️libass_project:libass is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibass_project%3Alibass

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-02-07 23:21:31 +01:00

37 lines
1.1 KiB
Makefile

################################################################################
#
# libass
#
################################################################################
LIBASS_VERSION = 0.15.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_CPE_ID_VALID = YES
LIBASS_DEPENDENCIES = \
host-pkgconf \
freetype \
harfbuzz \
libfribidi \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
# configure: WARNING: Install nasm for a significantly faster libass build.
# only for Intel archs
ifeq ($(BR2_i386)$(BR2_x86_64),y)
LIBASS_DEPENDENCIES += host-nasm
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
$(eval $(autotools-package))