kumquat-buildroot/package/woff2/woff2.mk
Fabrice Fontaine 4b1080d57a package/woff2: use github helper
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-04-10 23:06:57 +02:00

24 lines
719 B
Makefile

################################################################################
#
# woff2
#
################################################################################
WOFF2_VERSION = 1.0.2
WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION))
WOFF2_LICENSE = MIT
WOFF2_LICENSE_FILES = LICENSE
WOFF2_INSTALL_STAGING = YES
WOFF2_DEPENDENCIES = brotli
WOFF2_CONF_OPTS = \
-DNOISY_LOGGING=OFF
# The CMake build files for woff2 manually set some RPATH handling options
# which make the installation steps fail with static builds, so pass this
# to prevent any attempt of mangling RPATH that CMake would do.
ifneq ($(BR2_SHARED_LIBS),y)
WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON
endif
$(eval $(cmake-package))