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: Mon, 25 Jan 2016 13:40:39
Message-Id: 1453729188.2ffe23c24cd6f9140032982db318aff2174d7007.wschlich@gentoo
1 commit: 2ffe23c24cd6f9140032982db318aff2174d7007
2 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 25 13:34:12 2016 +0000
4 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 25 13:39:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ffe23c2
7
8 net-libs/loudmouth: version bump (new upstream) with new USE=openssl; added myself as maintainer, removed the gnome herd as agreed upon with EvaSDK.
9
10 Package-Manager: portage-2.2.27
11
12 net-libs/loudmouth/Manifest | 1 +
13 net-libs/loudmouth/loudmouth-1.5.1.ebuild | 56 +++++++++++++++++++++++++++++++
14 net-libs/loudmouth/metadata.xml | 21 ++++++------
15 3 files changed, 68 insertions(+), 10 deletions(-)
16
17 diff --git a/net-libs/loudmouth/Manifest b/net-libs/loudmouth/Manifest
18 index 10f2661..bda3725 100644
19 --- a/net-libs/loudmouth/Manifest
20 +++ b/net-libs/loudmouth/Manifest
21 @@ -1 +1,2 @@
22 DIST loudmouth-1.4.3.tar.bz2 366818 SHA256 95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 SHA512 02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec WHIRLPOOL 4f9e3e8e4f2fd0a36996e84deebeb26c789d5334af11a3d6cc6c742b59508945a6279715f6fbb02bbbc04a0d9709e7aae4cc39803b2a60acfd47d76f0482f969
23 +DIST loudmouth-1.5.1.tar.gz 115811 SHA256 9b0219233004da2f159175ef189363851b3df607e3777c422da1f5545daa17b3 SHA512 d90096a2d10819b620f366a4d6998b281692ef65e0c27f2f59031e3f7495f278ec73a8d18ff38a7234f179b4f7f6adafa532a820023fd615dcf18c2ecd0d8982 WHIRLPOOL 4c3649c9d87088d68b01f0284d1fcd3abedf31dda6c8d9527785b79802ce2c7ac2a9fe4e0d0fe7a09926e4e9f6b06661ab857f272a3db5186125b20a9ba979f0
24
25 diff --git a/net-libs/loudmouth/loudmouth-1.5.1.ebuild b/net-libs/loudmouth/loudmouth-1.5.1.ebuild
26 new file mode 100644
27 index 0000000..23def7e
28 --- /dev/null
29 +++ b/net-libs/loudmouth/loudmouth-1.5.1.ebuild
30 @@ -0,0 +1,56 @@
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 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
46 +
47 +IUSE="asyncns ssl openssl static-libs test"
48 +
49 +# Automagic libidn dependency
50 +RDEPEND="
51 + >=dev-libs/glib-2.16:2
52 + net-dns/libidn
53 + ssl? (
54 + !openssl? ( >=net-libs/gnutls-1.4.0 )
55 + openssl? ( dev-libs/openssl:0 )
56 + )
57 + asyncns? ( >=net-libs/libasyncns-0.3 )
58 +"
59 +DEPEND="${RDEPEND}
60 + test? ( dev-libs/check )
61 + virtual/pkgconfig
62 + >=dev-util/gtk-doc-am-1
63 +"
64 +
65 +src_prepare() {
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + local myconf
71 +
72 + if use ssl; then
73 + if ! use openssl; then
74 + myconf="${myconf} --with-ssl=gnutls"
75 + else
76 + myconf="${myconf} --with-ssl=openssl"
77 + fi
78 + else
79 + myconf="${myconf} --with-ssl=no"
80 + fi
81 +
82 + econf \
83 + $(use_enable static-libs static) \
84 + $(use_with asyncns) \
85 + ${myconf}
86 +}
87
88 diff --git a/net-libs/loudmouth/metadata.xml b/net-libs/loudmouth/metadata.xml
89 index 9b8477d..528027f 100644
90 --- a/net-libs/loudmouth/metadata.xml
91 +++ b/net-libs/loudmouth/metadata.xml
92 @@ -1,14 +1,15 @@
93 <?xml version="1.0" encoding="UTF-8"?>
94 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
95 <pkgmetadata>
96 - <maintainer type="project">
97 - <email>gnome@g.o</email>
98 - <name>Gentoo GNOME Desktop</name>
99 - </maintainer>
100 - <use>
101 - <flag name="asyncns">Use libasyncns for asynchronous name resolution.</flag>
102 - </use>
103 - <upstream>
104 - <remote-id type="github">engineyard/loudmouth</remote-id>
105 - </upstream>
106 + <maintainer type="person">
107 + <email>wschlich@g.o</email>
108 + <name>Wolfram Schlich</name>
109 + </maintainer>
110 + <use>
111 + <flag name="asyncns">Use <pkg>net-libs/libasyncns</pkg> for asynchronous name resolution.</flag>
112 + <flag name="openssl">Enable <pkg>dev-libs/openssl</pkg> support instead of gnutls (which is the default).</flag>
113 + </use>
114 + <upstream>
115 + <remote-id type="github">mcabber/loudmouth</remote-id>
116 + </upstream>
117 </pkgmetadata>