summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-21 12:17:15 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-21 12:17:15 +0100
commitcd239355467bfb2d8dd9b82b8e7ff997c4b4fd05 (patch)
treec1a152b7cb780b4ff9807af2129e486ccc4d8120 /meta-oe
parent4aadf82361c0b889a195d40abea3b0cd1e80da7a (diff)
downloadmeta-openembedded-cd239355467bfb2d8dd9b82b8e7ff997c4b4fd05.tar.gz
loudmouth: add 1.4.3
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch23
-rw-r--r--meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb17
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch
new file mode 100644
index 0000000000..20f388e890
--- /dev/null
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch
@@ -0,0 +1,23 @@
1Description: use pkg-config to detect gnutls
2Debian: http://bugs.debian.org/529835
3Origin: http://groups.google.com/group/loudmouth-dev/browse_thread/thread/3f78255837048daf#
4
5--- a/configure.ac.orig 2009-08-16 20:29:36.000000000 +0200
6+++ b/configure.ac 2009-08-16 20:30:43.000000000 +0200
7@@ -146,10 +146,12 @@ AC_ARG_WITH(openssl-libs,
8 enable_ssl=no
9 if test "x$ac_ssl" = "xgnutls"; then
10 dnl Look for GnuTLS
11- AM_PATH_LM_LIBGNUTLS($GNUTLS_REQUIRED, have_libgnutls=yes, have_libgnutls=no)
12- if test "x$have_libgnutls" = "xyes"; then
13- CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
14- LIBS="$LIBS $LIBGNUTLS_LIBS"
15+ PKG_CHECK_MODULES(GNUTLS, gnutls >= $GNUTLS_REQUIRED, have_gnutls=yes, have_gnutls=no)
16+ if test "x$have_gnutls" = "xyes"; then
17+ AC_SUBST(ASYNCNS_CFLAGS)
18+ AC_SUBST(ASYNCNS_LIBS)
19+ CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
20+ LIBS="$LIBS $GNUTLS_LIBS"
21 AC_DEFINE(HAVE_GNUTLS, 1, [whether to use GnuTSL support.])
22 enable_ssl=GnuTLS
23 else
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
new file mode 100644
index 0000000000..f91fdff07e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol."
2HOMEPAGE = "http://www.loudmouth-project.org/"
3
4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c4f38aef94828f6b280e00d1173be689"
6
7DEPENDS = "glib-2.0 check openssl"
8
9inherit gnomebase
10
11SRC_URI += "file://04-use-pkg-config-for-gnutls.patch"
12
13SRC_URI[archive.md5sum] = "55339ca42494690c3942ee1465a96937"
14SRC_URI[archive.sha256sum] = "95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3"
15
16EXTRA_OECONF = "--with-ssl=openssl"
17