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, 27 Feb 2021 17:13:21
Message-Id: 1614445881.b1dc735c8d8cfbf6690f302731b7ed530a33ee1d.reavertm@gentoo
1 commit: b1dc735c8d8cfbf6690f302731b7ed530a33ee1d
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 17:07:44 2021 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 17:11:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1dc735c
7
8 net-libs/libgadu: port 1.11.4 to EAPI 7
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
12 Closes: https://bugs.gentoo.org/773223
13
14 net-libs/libgadu/libgadu-1.11.4.ebuild | 34 +++++++++++++++----------------
15 net-libs/libgadu/libgadu-1.12.2-r1.ebuild | 2 +-
16 2 files changed, 18 insertions(+), 18 deletions(-)
17
18 diff --git a/net-libs/libgadu/libgadu-1.11.4.ebuild b/net-libs/libgadu/libgadu-1.11.4.ebuild
19 index 889a044752b..7f3392a75a4 100644
20 --- a/net-libs/libgadu/libgadu-1.11.4.ebuild
21 +++ b/net-libs/libgadu/libgadu-1.11.4.ebuild
22 @@ -1,11 +1,9 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=5
28 +EAPI=7
29
30 -AUTOTOOLS_AUTORECONF=1
31 -
32 -inherit autotools-utils
33 +inherit autotools
34
35 DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
36 HOMEPAGE="http://toxygen.net/libgadu/"
37 @@ -17,7 +15,7 @@ RESTRICT="test"
38 LICENSE="LGPL-2.1"
39 KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
40 SLOT="0"
41 -IUSE="doc ssl static-libs threads"
42 +IUSE="doc ssl threads"
43
44 COMMON_DEPEND="
45 sys-libs/zlib
46 @@ -26,26 +24,28 @@ COMMON_DEPEND="
47 DEPEND="${COMMON_DEPEND}
48 doc? ( app-doc/doxygen )
49 "
50 -RDEPEND="${COMMON_DEPEND}
51 - !=net-im/kadu-0.6.0.2
52 - !=net-im/kadu-0.6.0.1
53 -"
54 -
55 -AUTOTOOLS_IN_SOURCE_BUILD=1
56 +RDEPEND="${COMMON_DEPEND}"
57
58 DOCS=(AUTHORS ChangeLog NEWS README)
59
60 +src_prepare() {
61 + default
62 + eautoreconf
63 +}
64 +
65 src_configure() {
66 local myeconfargs=(
67 + --disable-static
68 + --disable-tests
69 --without-openssl
70 - $(use_with threads pthread)
71 $(use_with ssl gnutls)
72 + $(use_with threads pthread)
73 )
74 -
75 - autotools-utils_src_configure
76 + econf "${myeconfargs[@]}"
77 }
78
79 src_install() {
80 - use doc && HTML_DOCS=(docs/html/)
81 - autotools-utils_src_install
82 + use doc && local HTML_DOCS=( docs/html/. )
83 + default
84 + find "${D}" -name '*.la' -type f -delete || die
85 }
86
87 diff --git a/net-libs/libgadu/libgadu-1.12.2-r1.ebuild b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild
88 index d7aa78fb95d..c0f284e5af4 100644
89 --- a/net-libs/libgadu/libgadu-1.12.2-r1.ebuild
90 +++ b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild
91 @@ -1,4 +1,4 @@
92 -# Copyright 1999-2020 Gentoo Authors
93 +# Copyright 1999-2021 Gentoo Authors
94 # Distributed under the terms of the GNU General Public License v2
95
96 EAPI=7