Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/
Date: Fri, 22 Jun 2018 11:29:33
Message-Id: 1529666917.dcab02d52ed21ede675ff724263771a6b6b25302.polynomial-c@gentoo
1 commit: dcab02d52ed21ede675ff724263771a6b6b25302
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 22 11:28:37 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 22 11:28:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcab02d5
7
8 net-libs/gloox: Bump to version 1.0.21
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-libs/gloox/Manifest | 1 +
13 net-libs/gloox/gloox-1.0.21.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/net-libs/gloox/Manifest b/net-libs/gloox/Manifest
17 index cdc907e70d6..045a5eb7521 100644
18 --- a/net-libs/gloox/Manifest
19 +++ b/net-libs/gloox/Manifest
20 @@ -1 +1,2 @@
21 DIST gloox-1.0.20.tar.bz2 701114 BLAKE2B d86b4de05a040b4f7fe1200d5863514778197e7e13ee08ebe983a85255065045c47b322ba20fa4ea051049ce609f122c00374cc3188f46c8729ec904da7778eb SHA512 b94269487875ae32631b5b15eeebe3293c6b8ab4080a6e15926c575305841a609a5e4da25bff266806ef4b65c1db14e9a9e5dabf8af8b174773cbdc37cfa12f8
22 +DIST gloox-1.0.21.tar.bz2 716449 BLAKE2B 9728b137b088e3ebd067dd88688474e37ec27108cc87ffe6d2d78b206c3215f36c072e333d04c659e5dc9db43c330bcac7ee7f495208bd8df1bbeb72db1e0792 SHA512 ee2c180e6a6e05955707fdd3e790c4c0e7be46fdf071201abd081b8620e3f664045f000804e1a30bddf8a3324e90f211ce5ee870fd5330ab87979dedfeb45575
23
24 diff --git a/net-libs/gloox/gloox-1.0.21.ebuild b/net-libs/gloox/gloox-1.0.21.ebuild
25 new file mode 100644
26 index 00000000000..f2fe910d22e
27 --- /dev/null
28 +++ b/net-libs/gloox/gloox-1.0.21.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +MY_P="${P/_/-}"
36 +DESCRIPTION="A portable high-level Jabber/XMPP library for C++"
37 +HOMEPAGE="https://camaya.net/gloox/"
38 +SRC_URI="https://camaya.net/download/${MY_P}.tar.bz2"
39 +
40 +LICENSE="GPL-3"
41 +SLOT="0/17"
42 +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~ia64 ~sparc ~x86"
43 +IUSE="debug gnutls idn libressl ssl static-libs test zlib"
44 +
45 +DEPEND="idn? ( net-dns/libidn:= )
46 + gnutls? ( net-libs/gnutls )
47 + ssl? (
48 + !libressl? ( dev-libs/openssl:0 )
49 + libressl? ( dev-libs/libressl )
50 + )
51 + zlib? ( sys-libs/zlib )"
52 +
53 +RDEPEND="${DEPEND}"
54 +
55 +# GnuTLS checks hang forever
56 +RESTRICT="test"
57 +
58 +S="${WORKDIR}/${MY_P}"
59 +
60 +src_configure() {
61 + # Examples are not installed anyway, so - why should we build them?
62 + local myeconfargs=(
63 + --without-examples
64 + $(usex debug "--enable-debug" '')
65 + $(use_enable static-libs static)
66 + $(use_with idn libidn)
67 + $(use_with gnutls)
68 + $(use_with ssl openssl)
69 + $(use_with test tests)
70 + $(use_with zlib)
71 + )
72 + econf "${myeconfargs[@]}"
73 +}
74 +
75 +src_install() {
76 + default
77 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
78 +}