1config BR2_PACKAGE_LIBSOUP3
2	bool "libsoup3"
3	depends on BR2_USE_WCHAR # glib2, libpsl
4	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
5	depends on BR2_USE_MMU # glib2
6	select BR2_PACKAGE_LIBGLIB2
7	select BR2_PACKAGE_LIBPSL
8	select BR2_PACKAGE_NGHTTP2
9	select BR2_PACKAGE_SQLITE
10	help
11	  libsoup3 is an HTTP client/server library. It uses GObject
12	  and the GLib main loop, to integrate well with GNOME
13	  applications.
14
15	  https://wiki.gnome.org/Projects/libsoup
16
17if BR2_PACKAGE_LIBSOUP3
18
19config BR2_PACKAGE_LIBSOUP3_SSL
20	bool "https support"
21	depends on !BR2_STATIC_LIBS # glib-networking, gnutls
22	select BR2_PACKAGE_GLIB_NETWORKING # runtime
23	select BR2_PACKAGE_GNUTLS # runtime
24	help
25	  Enable HTTPS (SSL) support.
26
27comment "libsoup3 https support needs a toolchain w/ dynamic library"
28	depends on BR2_STATIC_LIBS
29
30endif
31
32comment "libsoup3 needs a toolchain w/ wchar, threads"
33	depends on BR2_USE_MMU
34	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
35