Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/loudmouth/
Date: Thu, 31 Jan 2019 10:39:36
Message-Id: 1548931117.1281a108d0a381540c7ef25635db0cd27873ef87.andrey_utkin@gentoo
1 commit: 1281a108d0a381540c7ef25635db0cd27873ef87
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 28 00:25:05 2019 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 31 10:38:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1281a108
7
8 net-libs/loudmouth: add new revision 1.5.3-r3
9
10 Cloned from -r2 verbatim, for further changes.
11
12 Package-Manager: Portage-2.3.49, Repoman-2.3.12
13 Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
14
15 net-libs/loudmouth/loudmouth-1.5.3-r3.ebuild | 60 ++++++++++++++++++++++++++++
16 1 file changed, 60 insertions(+)
17
18 diff --git a/net-libs/loudmouth/loudmouth-1.5.3-r3.ebuild b/net-libs/loudmouth/loudmouth-1.5.3-r3.ebuild
19 new file mode 100644
20 index 00000000000..f4cbccad2df
21 --- /dev/null
22 +++ b/net-libs/loudmouth/loudmouth-1.5.3-r3.ebuild
23 @@ -0,0 +1,60 @@
24 +# Copyright 1999-2019 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +inherit autotools
29 +
30 +DESCRIPTION="Lightweight C Jabber library"
31 +HOMEPAGE="https://github.com/mcabber/loudmouth"
32 +SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="LGPL-2.1"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
37 +
38 +IUSE="asyncns ssl openssl static-libs test"
39 +
40 +# Automagic libidn dependency
41 +RDEPEND="
42 + >=dev-libs/glib-2.16:2
43 + net-dns/libidn:=
44 + ssl? (
45 + !openssl? ( >=net-libs/gnutls-1.4.0:0= )
46 + openssl? ( dev-libs/openssl:0= )
47 + )
48 + asyncns? ( >=net-libs/libasyncns-0.3 )
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-util/glib-utils
52 + test? ( dev-libs/check )
53 + virtual/pkgconfig
54 +"
55 +
56 +PATCHES=(
57 + "${FILESDIR}"/${P}-gcc7.patch
58 + "${FILESDIR}"/${P}-skip-gtk-doc.patch
59 +)
60 +
61 +src_prepare() {
62 + default
63 + eautoreconf
64 +}
65 +
66 +src_configure() {
67 + local myconf
68 +
69 + if use ssl; then
70 + if ! use openssl; then
71 + myconf="${myconf} --with-ssl=gnutls"
72 + else
73 + myconf="${myconf} --with-ssl=openssl"
74 + fi
75 + else
76 + myconf="${myconf} --with-ssl=no"
77 + fi
78 +
79 + econf \
80 + $(use_enable static-libs static) \
81 + $(use_with asyncns) \
82 + ${myconf}
83 +}