package/libostree: switch to libsoup3

libsoup3 is supported since bump to version 2023.3 in commit
618eb375a0 and
d0ea2db430

So switch to libsoup3 and drop libsoup2 as:
 - libsoup2 is unmaintained (as stated by commit
   b45c2a048d)
 - libsoup2 will be removed at some point (as stated by commit
   f93380ab1a)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2023-12-27 23:59:39 +01:00 committed by Thomas Petazzoni
parent 0040b2ec0f
commit 075554bbb8

View File

@ -17,6 +17,7 @@ LIBOSTREE_CONF_ENV = \
GPG_ERROR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config
LIBOSTREE_CONF_OPTS += \
--with-gpgme-prefix=$(STAGING_DIR)/usr \
--without-soup \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
@ -44,10 +45,10 @@ else
LIBOSTREE_CONF_OPTS += --without-avahi
endif
#cURL support depends on libsoup
ifeq ($(BR2_PACKAGE_LIBSOUP),y)
LIBOSTREE_CONF_OPTS += --with-soup
LIBOSTREE_DEPENDENCIES += libsoup
# cURL support depends on libsoup3
ifeq ($(BR2_PACKAGE_LIBSOUP3),y)
LIBOSTREE_CONF_OPTS += --with-soup3
LIBOSTREE_DEPENDENCIES += libsoup3
ifeq ($(BR2_PACKAGE_LIBCURL),y)
LIBOSTREE_CONF_OPTS += --with-curl
LIBOSTREE_DEPENDENCIES += libcurl
@ -55,7 +56,7 @@ else
LIBOSTREE_CONF_OPTS += --without-curl
endif
else
LIBOSTREE_CONF_OPTS += --without-soup --without-curl
LIBOSTREE_CONF_OPTS += --without-soup3 --without-curl
endif
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)