33703b32bf
- Drop patch (already in version) - Update hash of COPYING (update in year:927b202c69
) - builtin is a boolean sinceaa4909766c
https://github.com/rockdaboot/libpsl/releases/tag/0.21.2 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
966 B
Makefile
32 lines
966 B
Makefile
################################################################################
|
|
#
|
|
# libpsl
|
|
#
|
|
################################################################################
|
|
|
|
LIBPSL_VERSION = 0.21.2
|
|
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_CONF_OPTS = -Dbuiltin=true
|
|
LIBPSL_DEPENDENCIES = host-pkgconf
|
|
LIBPSL_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
|
LIBPSL_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
# 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
|
|
LIBPSL_DEPENDENCIES += libidn2 libunistring
|
|
else ifeq ($(BR2_PACKAGE_ICU),y)
|
|
LIBPSL_CONF_OPTS += -Druntime=libicu
|
|
LIBPSL_DEPENDENCIES += icu
|
|
else
|
|
LIBPSL_CONF_OPTS += -Druntime=libidn
|
|
LIBPSL_DEPENDENCIES += libidn libunistring
|
|
endif
|
|
|
|
$(eval $(meson-package))
|