Gentoo Archives: gentoo-commits

From: Maciej Mrozowski <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libgadu/
Date: Sat, 26 Sep 2020 23:47:05
Message-Id: 1601164003.aa74135485d60360050c7b10cf7cab7c1d9bafa4.reavertm@gentoo
1 commit: aa74135485d60360050c7b10cf7cab7c1d9bafa4
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 23:45:32 2020 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 23:46:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa741354
7
8 net-libs/libgadu: restore, 1.12.2 apparently hangs net-im/ekg2
9
10 This reverts commit 42e134e806039ba4f804fd129bacf88019fffacf.
11
12 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
13
14 net-libs/libgadu/Manifest | 1 +
15 net-libs/libgadu/libgadu-1.11.4.ebuild | 67 ++++++++++++++++++++++++++++++++++
16 2 files changed, 68 insertions(+)
17
18 diff --git a/net-libs/libgadu/Manifest b/net-libs/libgadu/Manifest
19 index 3d5259346d2..a5e8481cce0 100644
20 --- a/net-libs/libgadu/Manifest
21 +++ b/net-libs/libgadu/Manifest
22 @@ -1 +1,2 @@
23 +DIST libgadu-1.11.4.tar.gz 210937 BLAKE2B 05719b31f1d3ffd7df059d33597943787c1f10ac1dea89dce893050719394e1f2c7b5858b4ff3d0d2421bf68c977d4dfafd20689b3a7c0dc2c0593cb4d49599c SHA512 3fc8e414470864eb953d6d0d7dc6071679907c435d76e05a0b95a2e58365fc795427679f893d337dbf9896611a6bf68047c36806b977643cf4a773d930916639
24 DIST libgadu-1.12.2.tar.gz 298884 BLAKE2B eee364204e9106b080a62ed4e180739b4dd9f2699fe3ddcb36493e3e29cc4e8074df17601900372c0a68da4b119f938521d4dd33baf730b279a13d80f74dbbee SHA512 d3b4fde94327ef312b1df668b8eb73fea9325c9258d85aa65e2746b73f00c2606ebe23f3330493a135a0fec1d0f24988f0cec607d4d899d880853ee8bf60e677
25
26 diff --git a/net-libs/libgadu/libgadu-1.11.4.ebuild b/net-libs/libgadu/libgadu-1.11.4.ebuild
27 new file mode 100644
28 index 00000000000..61ed84a41b1
29 --- /dev/null
30 +++ b/net-libs/libgadu/libgadu-1.11.4.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +
37 +AUTOTOOLS_AUTORECONF=1
38 +
39 +inherit autotools-utils
40 +
41 +DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
42 +HOMEPAGE="http://toxygen.net/libgadu/"
43 +SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +# Bug 373215, last checked 2012.01.28
46 +RESTRICT="test"
47 +
48 +LICENSE="LGPL-2.1"
49 +KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
50 +SLOT="0"
51 +IUSE="doc gnutls ssl static-libs threads"
52 +
53 +REQUIRED_USE="
54 + gnutls? ( ssl )
55 +"
56 +COMMON_DEPEND="
57 + sys-libs/zlib
58 + ssl? (
59 + gnutls? ( net-libs/gnutls )
60 + !gnutls? ( >=dev-libs/openssl-0.9.6m:0 )
61 + )
62 +"
63 +DEPEND="${COMMON_DEPEND}
64 + doc? ( app-doc/doxygen )
65 +"
66 +RDEPEND="${COMMON_DEPEND}
67 + !=net-im/kadu-0.6.0.2
68 + !=net-im/kadu-0.6.0.1
69 +"
70 +
71 +AUTOTOOLS_IN_SOURCE_BUILD=1
72 +
73 +DOCS=(AUTHORS ChangeLog NEWS README)
74 +
75 +src_configure() {
76 + local myeconfargs=(
77 + $(use_with threads pthread)
78 + )
79 +
80 + if use ssl; then
81 + myeconfargs+=(
82 + $(use_with gnutls gnutls)
83 + $(use_with !gnutls openssl)
84 + )
85 + else
86 + myeconfargs+=(
87 + --without-gnutls
88 + --without-openssl
89 + )
90 + fi
91 +
92 + autotools-utils_src_configure
93 +}
94 +
95 +src_install() {
96 + use doc && HTML_DOCS=(docs/html/)
97 + autotools-utils_src_install
98 +}