# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=loudmouth pkgver=1.4.3 pkgrel=1 pkgdesc="A lightweight Jabber client library" url="http://groups.google.com/group/loudmouth-dev" arch="all" license="LGPL2+" depends="" depends_dev="pkgconfig glib-dev openssl-dev libidn-dev libasyncns-dev check-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.4/${pkgname}-${pkgver}.tar.bz2 01-fix-sasl-md5-digest-uri.patch 03-drop-stanzas-on-fail.patch 04-use-pkg-config-for-gnutls.patch loudmouth-1.4.3-glib-compile-fix.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --disable-static \ --with-asyncns=yes \ --with-ssl=openssl \ --prefix=/usr \ --with-libgnutls-prefix=/usr \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 make check || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la } md5sums="55339ca42494690c3942ee1465a96937 loudmouth-1.4.3.tar.bz2 5a860172e76dc5df8e694602f360ce76 01-fix-sasl-md5-digest-uri.patch d0f34028837b7ff93262373ac3d4dd59 03-drop-stanzas-on-fail.patch 2cfb0ef5c32c9bd377e3abb6ad38135a 04-use-pkg-config-for-gnutls.patch 48d26a95b653a8b0bb5589a3c674a58b loudmouth-1.4.3-glib-compile-fix.patch" sha256sums="95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 loudmouth-1.4.3.tar.bz2 5f781d15fb0b5598fb1bc16933cef1a9f006ba8cfa16a6845209b88c68b8dc16 01-fix-sasl-md5-digest-uri.patch 21f9562965ad49ddd12b76b5eaff79a73ff1a35256cd34747b4d4b29de34f330 03-drop-stanzas-on-fail.patch d06d5b1d70efb061d6cfec5db918b3585cadf3d07aa8b2bdcfdb5667cfdd086d 04-use-pkg-config-for-gnutls.patch 543b4a18b7dd1bff15b4113aa3875596d2d274bb982f1d1aa2582dbaf11f9ab4 loudmouth-1.4.3-glib-compile-fix.patch" sha512sums="02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec loudmouth-1.4.3.tar.bz2 81302ac124207983ee35fc80e6dc1c0686b2d8d2cde905122f8611a5ffa8affe8625ad11af2f4e49c183a89ea7c6b43976af175bfda4490cbc90461ff5436fca 01-fix-sasl-md5-digest-uri.patch 7b20b8897b9572f2be875b4e29dbf5f6d6278db6cc5cc0017e68ce3a27af41e50bd659bfa26c8d91de221ac55cbe5497ab1f5f6be541b21fe469a321904145ab 03-drop-stanzas-on-fail.patch d05ebc1bcef6fa40f4dfd3bf294005b9c261df7b8f2ff5c410954541af37227de884259e49a42f3df84889bd839a32560d67c3adec1940592f89b7dba6388a56 04-use-pkg-config-for-gnutls.patch 224402461872f9fe24826307221f7e81f211a2d720559545d4cf2355cd2aacdebd82f47b74948eb3d63fc68a0371e8477b800578b748ec56043a496398880da1 loudmouth-1.4.3-glib-compile-fix.patch"