Gentoo Archives: gentoo-commits

From: Wolfram Schlich <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/loudmouth/
Date: Tue, 29 Mar 2016 06:59:09
Message-Id: 1459234733.27908312b84fe2369faf4c6380738a6aa8d095d7.wschlich@gentoo
1 commit: 27908312b84fe2369faf4c6380738a6aa8d095d7
2 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 06:58:20 2016 +0000
4 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 06:58:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27908312
7
8 net-libs/loudmouth: version bump
9
10 Package-Manager: portage-2.2.28
11
12 net-libs/loudmouth/Manifest | 1 +
13 net-libs/loudmouth/loudmouth-1.5.3.ebuild | 58 +++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/net-libs/loudmouth/Manifest b/net-libs/loudmouth/Manifest
17 index f988948..11c504d 100644
18 --- a/net-libs/loudmouth/Manifest
19 +++ b/net-libs/loudmouth/Manifest
20 @@ -1,2 +1,3 @@
21 DIST loudmouth-1.4.3.tar.bz2 366818 SHA256 95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 SHA512 02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec WHIRLPOOL 4f9e3e8e4f2fd0a36996e84deebeb26c789d5334af11a3d6cc6c742b59508945a6279715f6fbb02bbbc04a0d9709e7aae4cc39803b2a60acfd47d76f0482f969
22 DIST loudmouth-1.5.2.tar.gz 115940 SHA256 c3dd7b5690a7b6ee4768d71d2bdee4615cfb73b6eeaa342d6a931a5160e47421 SHA512 54c3eb7ef99604d7e2d5560dc6e5be176a188e6a0d82ae6c2f488e30f06553039aa03d6f818cec25f354479a2624f60f2233d7e63b54f331e934d554de9bfc87 WHIRLPOOL 99fd7fa00f08976242313c2bc11e9edfbe1aeea9918090347a1975d5ece438892afbf3b5c16ffe79b1c0a10b28f35f62937d45a234e63b26f051466799fd7685
23 +DIST loudmouth-1.5.3.tar.gz 114676 SHA256 12972fcffd9bbcc4a3b2b9fbf4b0e549f7b4caf0f11c8d2af2059087ce4e8792 SHA512 afae8b4ad1e9e5558cffa8f6b9f25331b01cfa09ea0b3defb74cac7d39477744e6d9181d3adefe242038020759df43558de0e61305fbc8e12a3b293b82856bf7 WHIRLPOOL 0a7d4a01ec4f0ae68f58f3267aabc2eb9f7eb0e812232a8ecd3664dd5c99ae404c4825bb5ae01f36a1cced48a9aaff67c4a92c23541e2e1fd9f69c4a67962007
24
25 diff --git a/net-libs/loudmouth/loudmouth-1.5.3.ebuild b/net-libs/loudmouth/loudmouth-1.5.3.ebuild
26 new file mode 100644
27 index 0000000..c413070
28 --- /dev/null
29 +++ b/net-libs/loudmouth/loudmouth-1.5.3.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit autotools eutils
38 +
39 +DESCRIPTION="Lightweight C Jabber library"
40 +HOMEPAGE="https://github.com/mcabber/loudmouth"
41 +SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +#SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
47 +
48 +IUSE="asyncns ssl openssl static-libs test"
49 +
50 +# Automagic libidn dependency
51 +RDEPEND="
52 + >=dev-libs/glib-2.16:2
53 + net-dns/libidn
54 + ssl? (
55 + !openssl? ( >=net-libs/gnutls-1.4.0 )
56 + openssl? ( dev-libs/openssl:0 )
57 + )
58 + asyncns? ( >=net-libs/libasyncns-0.3 )
59 +"
60 +DEPEND="${RDEPEND}
61 + test? ( dev-libs/check )
62 + virtual/pkgconfig
63 + >=dev-util/gtk-doc-1
64 + >=dev-util/gtk-doc-am-1
65 +"
66 +
67 +src_prepare() {
68 + eautoreconf
69 +}
70 +
71 +src_configure() {
72 + local myconf
73 +
74 + if use ssl; then
75 + if ! use openssl; then
76 + myconf="${myconf} --with-ssl=gnutls"
77 + else
78 + myconf="${myconf} --with-ssl=openssl"
79 + fi
80 + else
81 + myconf="${myconf} --with-ssl=no"
82 + fi
83 +
84 + econf \
85 + $(use_enable static-libs static) \
86 + $(use_with asyncns) \
87 + ${myconf}
88 +}