config BR2_PACKAGE_LIBUPNPP
	bool "libupnpp"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS # libnpupnp
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libnpupnp
	select BR2_PACKAGE_EXPAT
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBNPUPNP
	help
	  The libupnpp C++ library wraps libupnp for easier use by
	  upmpdcli and upplay.

	  http://www.lesbonscomptes.com/upmpdcli/

comment "libupnpp needs a toolchain w/ C++, threads, gcc >= 7"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
