bcde80febd
This option is only available in master and not any release. Fixes: output/build/libpsl-0.21.1/meson.build:1:0: ERROR: Unknown options: "docs" Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
27 lines
916 B
Makefile
27 lines
916 B
Makefile
################################################################################
|
|
#
|
|
# libpsl
|
|
#
|
|
################################################################################
|
|
|
|
LIBPSL_VERSION = 0.21.1
|
|
LIBPSL_SITE = https://github.com/rockdaboot/libpsl/releases/download/$(LIBPSL_VERSION)
|
|
LIBPSL_LICENSE = MIT, BSD-3-Clause
|
|
LIBPSL_LICENSE_FILES = COPYING src/LICENSE.chromium
|
|
LIBPSL_DEPENDENCIES = host-pkgconf
|
|
LIBPSL_INSTALL_STAGING = YES
|
|
|
|
# The order of checks is the same as done by libpsl when configured.
|
|
ifeq ($(BR2_PACKAGE_LIBIDN2)$(BR2_PACKAGE_LIBUNISTRING),yy)
|
|
LIBPSL_CONF_OPTS += -Druntime=libidn2 -Dbuiltin=libidn2
|
|
LIBPSL_DEPENDENCIES += libidn2 libunistring
|
|
else ifeq ($(BR2_PACKAGE_ICU),y)
|
|
LIBPSL_CONF_OPTS += -Druntime=libicu -Dbuiltin=libicu
|
|
LIBPSL_DEPENDENCIES += icu
|
|
else
|
|
LIBPSL_CONF_OPTS += -Druntime=libidn -Dbuiltin=libidn
|
|
LIBPSL_DEPENDENCIES += libidn libunistring
|
|
endif
|
|
|
|
$(eval $(meson-package))
|