config BR2_PACKAGE_LIBSOUP
	bool "libsoup"
	depends on BR2_USE_WCHAR # glib2 and gnutls
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_SQLITE
	help
	  libsoup is an HTTP client/server library. It uses GObject
	  and the GLib main loop, to integrate well with GNOME
	  applications.

	  http://live.gnome.org/LibSoup

if BR2_PACKAGE_LIBSOUP

config BR2_PACKAGE_LIBSOUP_SSL
	bool "https support"
	select BR2_PACKAGE_GLIB_NETWORKING
	select BR2_PACKAGE_GNUTLS
	help
	  Enable HTTPS (SSL) support.

endif

comment "libsoup needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
