# Template file for 'libsoup'
pkgname=libsoup
version=2.32.2
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var"
short_desc="HTTP library implementation in C"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=96e6973c8b7459523c0f44e7aec69528ff2fbd388e8ddc415f91bcc42f50777f
long_desc="
 Libsoup is an HTTP library implementation in C. It was originally part
 of a SOAP (Simple Object Access Protocol) implementation called Soup, but
 the SOAP and non-SOAP parts have now been split into separate packages.

 libsoup uses the Glib main loop and is designed to work well with GTK
 applications. This enables GNOME applications to access HTTP servers
 on the network in a completely asynchronous fashion, very similar to
 the Gtk+ programming model (a synchronous operation mode is also
 supported for those who want it).

 Features:
   * Completely Asynchronous
   * Connection cache
   * HTTP chunked transfer support
   * HTTP, SOCKS4, and SOCKS5 authenticated proxy support
   * SSL Support using OpenSSL or GnuTLS
   * Client support for Digest, NTLM, and Basic authentication
   * HTTP server
   * Server support for Digest and Basic authentication"

subpackages="gir-$pkgname $pkgname-gnome $pkgname-gnome-devel $pkgname-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run libxml2
Add_dependency run glib
Add_dependency run libgcrypt
Add_dependency run libgpg-error
Add_dependency run gnutls

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build glib-devel
Add_dependency build libgcrypt-devel
Add_dependency build libgpg-error-devel
Add_dependency build libxml2-devel
Add_dependency build libproxy-devel
Add_dependency build gnutls-devel
Add_dependency build sqlite-devel
Add_dependency build GConf-devel
Add_dependency build libgnome-keyring-devel
Add_dependency build gobject-introspection
