28e38f4d5c
Libsoup3 has a new API [1], packages using libsoup may not compile with libsoup3 or may crash at runtime in unexpected ways, so we add a new package. It can be installed side by site with libsoup, without any conflict. [1] https://libsoup.org/libsoup-3.0/ch02.html Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
959 B
Plaintext
35 lines
959 B
Plaintext
config BR2_PACKAGE_LIBSOUP3
|
|
bool "libsoup3"
|
|
depends on BR2_USE_WCHAR # glib2, libpsl
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
|
depends on BR2_USE_MMU # glib2
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBPSL
|
|
select BR2_PACKAGE_NGHTTP2
|
|
select BR2_PACKAGE_SQLITE
|
|
help
|
|
libsoup3 is an HTTP client/server library. It uses GObject
|
|
and the GLib main loop, to integrate well with GNOME
|
|
applications.
|
|
|
|
https://wiki.gnome.org/Projects/libsoup
|
|
|
|
if BR2_PACKAGE_LIBSOUP3
|
|
|
|
config BR2_PACKAGE_LIBSOUP3_SSL
|
|
bool "https support"
|
|
depends on !BR2_STATIC_LIBS # glib-networking, gnutls
|
|
select BR2_PACKAGE_GLIB_NETWORKING # runtime
|
|
select BR2_PACKAGE_GNUTLS # runtime
|
|
help
|
|
Enable HTTPS (SSL) support.
|
|
|
|
comment "libsoup3 https support needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
endif
|
|
|
|
comment "libsoup3 needs a toolchain w/ wchar, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|