diff --git a/net-libs/loudmouth/Manifest b/net-libs/loudmouth/Manifest index 10f26611de42a..bda372550a83c 100644 --- a/net-libs/loudmouth/Manifest +++ b/net-libs/loudmouth/Manifest @@ -1 +1,2 @@ DIST loudmouth-1.4.3.tar.bz2 366818 SHA256 95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 SHA512 02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec WHIRLPOOL 4f9e3e8e4f2fd0a36996e84deebeb26c789d5334af11a3d6cc6c742b59508945a6279715f6fbb02bbbc04a0d9709e7aae4cc39803b2a60acfd47d76f0482f969 +DIST loudmouth-1.5.1.tar.gz 115811 SHA256 9b0219233004da2f159175ef189363851b3df607e3777c422da1f5545daa17b3 SHA512 d90096a2d10819b620f366a4d6998b281692ef65e0c27f2f59031e3f7495f278ec73a8d18ff38a7234f179b4f7f6adafa532a820023fd615dcf18c2ecd0d8982 WHIRLPOOL 4c3649c9d87088d68b01f0284d1fcd3abedf31dda6c8d9527785b79802ce2c7ac2a9fe4e0d0fe7a09926e4e9f6b06661ab857f272a3db5186125b20a9ba979f0 diff --git a/net-libs/loudmouth/loudmouth-1.5.1.ebuild b/net-libs/loudmouth/loudmouth-1.5.1.ebuild new file mode 100644 index 0000000000000..23def7ef5284e --- /dev/null +++ b/net-libs/loudmouth/loudmouth-1.5.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Lightweight C Jabber library" +HOMEPAGE="https://github.com/mcabber/loudmouth" +SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" + +IUSE="asyncns ssl openssl static-libs test" + +# Automagic libidn dependency +RDEPEND=" + >=dev-libs/glib-2.16:2 + net-dns/libidn + ssl? ( + !openssl? ( >=net-libs/gnutls-1.4.0 ) + openssl? ( dev-libs/openssl:0 ) + ) + asyncns? ( >=net-libs/libasyncns-0.3 ) +" +DEPEND="${RDEPEND} + test? ( dev-libs/check ) + virtual/pkgconfig + >=dev-util/gtk-doc-am-1 +" + +src_prepare() { + eautoreconf +} + +src_configure() { + local myconf + + if use ssl; then + if ! use openssl; then + myconf="${myconf} --with-ssl=gnutls" + else + myconf="${myconf} --with-ssl=openssl" + fi + else + myconf="${myconf} --with-ssl=no" + fi + + econf \ + $(use_enable static-libs static) \ + $(use_with asyncns) \ + ${myconf} +} diff --git a/net-libs/loudmouth/metadata.xml b/net-libs/loudmouth/metadata.xml index 9b8477de6438f..528027fd8a72b 100644 --- a/net-libs/loudmouth/metadata.xml +++ b/net-libs/loudmouth/metadata.xml @@ -1,14 +1,15 @@ - - gnome@gentoo.org - Gentoo GNOME Desktop - - - Use libasyncns for asynchronous name resolution. - - - engineyard/loudmouth - + + wschlich@gentoo.org + Wolfram Schlich + + + Use net-libs/libasyncns for asynchronous name resolution. + Enable dev-libs/openssl support instead of gnutls (which is the default). + + + mcabber/loudmouth +