dnl *** SQL Lite support independently of gnome for Tizen ***
dnl *************************
-AC_ARG_ENABLE(sqllite,
- AS_HELP_STRING([--enable-sqllite], [Enable SQL lite support ]), ,
- enable_sqllite=no)
+AC_ARG_ENABLE(sqlite,
+ AS_HELP_STRING([--enable-sqlite], [Enable SQL lite support ]), ,
+ enable_sqlite=no)
-if test "$enable_sqllite" != "no"; then
+if test "$enable_sqlite" != "no"; then
PKG_CHECK_MODULES(SQLITE, sqlite3, :, [AC_MSG_ERROR(dnl
[Could not find sqlite3 devel files:
soup_headers += \
soup-cookie-jar-sqlite.h
endif
+if BUILD_LIBSOUP_GNOME
+soup_headers += \
+ soup-cookie-jar-sqlite.h
+endif
libsoupinclude_HEADERS = \
$(soup_headers) \
$(XML_LIBS) \
$(SQLITE_LIBS)
-if SQLLITE_SUPPORT
libsoup_2_4_la_LIBADD += \
$(SQLITE_LIBS)
-endif
libsoup_2_4_la_SOURCES = \
soup-address.c \
tld_data.inc: tld-parser.py $(TLD_DATA_FILE)
$(srcdir)/tld-parser.py $(TLD_DATA_FILE) tld_data.inc
-if SQLLITE_SUPPORT
+
libsoup_2_4_la_SOURCES += \
- soup-cookie-jar-sqlite.c
-endif
+ soup-cookie-jar-sqlite.c
if BUILD_LIBSOUP_GNOME
$(GLIB_LIBS)
libsoup_gnome_2_4_la_SOURCES = \
- soup-cookie-jar-sqlite.c \
soup-gnome-features.c \
soup-proxy-resolver-gnome.h \
soup-proxy-resolver-gnome.c \
soup_xmlrpc_request_new
soup_xmlrpc_set_fault
soup_xmlrpc_set_response
+soup_cookie_jar_sqlite_new
+soup_cookie_jar_sqlite_get_type
_SOUP_METHOD_CONNECT
_SOUP_METHOD_COPY
_SOUP_METHOD_DELETE
-soup_cookie_jar_sqlite_get_type
-soup_cookie_jar_sqlite_new
soup_gnome_features_2_26_get_type
soup_password_manager_gnome_get_type
soup_proxy_resolver_gnome_get_type
Group: Development/Libraries/GNOME
Source: http://download.gnome.org/sources/libsoup/2.40/%{name}-%{version}.tar.xz
Source99: baselibs.conf
-# Patches auto-generated by git-buildpackage:
BuildRequires: gettext-tools
BuildRequires: glib-networking
%if %{with gnome}
--enable-introspection \
%else
--without-gnome \
- --enable-sqllite=yes \
+ --enable-sqlite=yes \
--disable-tls-check \
%endif
--disable-static
%license COPYING
%{_libdir}/*.so.*
+%if %{with gnome}
%files -n typelib-Soup
%defattr(-,root,root)
-%if %{with gnome}
%{_libdir}/girepository-1.0/Soup-2.4.typelib
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
%endif