libsoup: add libsoup-gnome support
authorHadrien Boutteville <hadrien.boutteville@gmail.com>
Fri, 18 Jul 2014 15:39:38 +0000 (17:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 18 Jul 2014 19:38:08 +0000 (21:38 +0200)
libsoup can build a libsoup-gnome library. Add support for
libsoup-gnome as it is a dependency of Midori.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libsoup/Config.in
package/libsoup/libsoup.mk

index 874f50cc1adebcb95f5e77cb30278797a50b301c..bc0ba950aad2995f2ae5a41c6c93a78b4af508a6 100644 (file)
@@ -15,6 +15,11 @@ config BR2_PACKAGE_LIBSOUP
 
 if BR2_PACKAGE_LIBSOUP
 
+config BR2_PACKAGE_LIBSOUP_GNOME
+       bool "libsoup-gnome"
+       help
+         Build libsoup-gnome library.
+
 config BR2_PACKAGE_LIBSOUP_SSL
        bool "https support"
        select BR2_PACKAGE_GLIB_NETWORKING
index 11585c8969a326d3ab21716ab95d2fca3c296cb3..abc8ac53dcd07b7fd8c9c83bf13825ad2f1b5f75 100644 (file)
@@ -18,11 +18,17 @@ ifneq ($(BR2_INET_IPV6),y)
 LIBSOUP_CONF_ENV += soup_cv_ipv6=no
 endif
 
-LIBSOUP_CONF_OPT = --disable-glibtest --without-gnome
+LIBSOUP_CONF_OPT = --disable-glibtest
 
 LIBSOUP_DEPENDENCIES = host-pkgconf host-libglib2 \
        libglib2 libxml2 sqlite host-intltool
 
+ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y)
+LIBSOUP_CONF_OPT += --with-gnome
+else
+LIBSOUP_CONF_OPT += --without-gnome
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y)
 LIBSOUP_DEPENDENCIES += glib-networking
 else