F: package/libgtk2/
F: package/libgtk3/
F: package/libidn/
+F: package/libidn2/
F: package/libjpeg/
F: package/libmatroska/
F: package/libmpdclient/
source "package/libgsasl/Config.in"
source "package/libhttpparser/Config.in"
source "package/libidn/Config.in"
+ source "package/libidn2/Config.in"
source "package/libiscsi/Config.in"
source "package/libkrb5/Config.in"
source "package/libldns/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBIDN2
+ bool "libidn2"
+ help
+ Libidn2 is an implementation of the IDNA2008 + TR46
+ specifications (RFC 5890, RFC 5891, RFC 5892, RFC 5893,
+ TR 46).
+
+ http://www.gnu.org/software/libidn/
+
+if BR2_PACKAGE_LIBIDN2
+
+config BR2_PACKAGE_LIBIDN2_BINARY
+ bool "idn2 binary"
+ help
+ Install idn2 command line tool
+
+endif
--- /dev/null
+# From Calculated locally after checking signature
+sha256 644b6b03b285fb0ace02d241d59483d98bc462729d8bb3608d5cad5532f3d2f0 libidn2-2.0.4.tar.gz
+
+# Hash for license files:
+sha256 4fa501e804195b4136c9cec4bc510365b8cbaf4bc075d6401a77ae0213370457 COPYING
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSERv3
+sha256 01d621eef165cf4d3d3dbb737aa0699178d94c6f18cf87e9dde6db3ca7790f46 COPYING.unicode
--- /dev/null
+################################################################################
+#
+# libidn2
+#
+################################################################################
+
+LIBIDN2_VERSION = 2.0.4
+LIBIDN2_SITE = $(BR2_GNU_MIRROR)/libidn
+LIBIDN2_LICENSE := GPL-2.0+ or LGPL-3.0+ (library)
+LIBIDN2_LICENSE_FILES = COPYING COPYINGv2 COPYING.LESSERv3 COPYING.unicode
+LIBIDN2_DEPENDENCIES = \
+ host-pkgconf \
+ $(TARGET_NLS_DEPENDENCIES) \
+ $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+LIBIDN2_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_LIBUNISTRING),y)
+LIBIDN2_DEPENDENCIES += libunistring
+endif
+
+ifeq ($(BR2_PACKAGE_LIBIDN2_BINARY),)
+define LIBIDN2_REMOVE_BINARY
+ rm -f $(TARGET_DIR)/usr/bin/idn2
+endef
+LIBIDN2_POST_INSTALL_TARGET_HOOKS += LIBIDN2_REMOVE_BINARY
+else
+LIBIDN2_LICENSE := $(LIBIDN2_LICENSE), GPL-3.0+ (program)
+endif
+
+$(eval $(autotools-package))