net-libs/loudmouth: version bump (new upstream) with new USE=openssl; added myself...
authorWolfram Schlich <wschlich@gentoo.org>
Mon, 25 Jan 2016 13:34:12 +0000 (14:34 +0100)
committerWolfram Schlich <wschlich@gentoo.org>
Mon, 25 Jan 2016 13:39:48 +0000 (14:39 +0100)
Package-Manager: portage-2.2.27

net-libs/loudmouth/Manifest
net-libs/loudmouth/loudmouth-1.5.1.ebuild [new file with mode: 0644]
net-libs/loudmouth/metadata.xml

index 10f26611de42a6897aaab12639e1393057f9423e..bda372550a83c0ccde835b8ff6bd71cdbf87338b 100644 (file)
@@ -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 (file)
index 0000000..23def7e
--- /dev/null
@@ -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}
+}
index 9b8477de6438f07aea32b85ea2444d4045b9bf75..528027fd8a72beb9b0622fc34768e13dc6e0dbc5 100644 (file)
@@ -1,14 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>gnome@gentoo.org</email>
-    <name>Gentoo GNOME Desktop</name>
-  </maintainer>
-  <use>
-    <flag name="asyncns">Use libasyncns for asynchronous name resolution.</flag>
-  </use>
-  <upstream>
-    <remote-id type="github">engineyard/loudmouth</remote-id>
-  </upstream>
+       <maintainer type="person">
+               <email>wschlich@gentoo.org</email>
+               <name>Wolfram Schlich</name>
+       </maintainer>
+       <use>
+               <flag name="asyncns">Use <pkg>net-libs/libasyncns</pkg> for asynchronous name resolution.</flag>
+               <flag name="openssl">Enable <pkg>dev-libs/openssl</pkg> support instead of gnutls (which is the default).</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">mcabber/loudmouth</remote-id>
+       </upstream>
 </pkgmetadata>