Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libgadu/
Date: Mon, 03 Feb 2020 15:04:05
Message-Id: 1580742211.eaf8e436e66469e47fe7f843997f1ca06021e467.asturm@gentoo
1 commit: eaf8e436e66469e47fe7f843997f1ca06021e467
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 21:19:30 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 15:03:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf8e436
7
8 net-libs/libgadu: EAPI-7 bump, drop USE openssl and static-libs
9
10 Non-maintainer commit.
11
12 Closes: https://bugs.gentoo.org/677502
13 Package-Manager: Portage-2.3.87, Repoman-2.3.20
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 net-libs/libgadu/libgadu-1.12.2-r1.ebuild | 59 +++++++++++++++++++++++++++++++
17 1 file changed, 59 insertions(+)
18
19 diff --git a/net-libs/libgadu/libgadu-1.12.2-r1.ebuild b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild
20 new file mode 100644
21 index 00000000000..4083dad938d
22 --- /dev/null
23 +++ b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild
24 @@ -0,0 +1,59 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +inherit autotools
31 +
32 +DESCRIPTION="Client-side library for the Gadu-Gadu protocol"
33 +HOMEPAGE="https://libgadu.net/"
34 +SRC_URI="https://github.com/wojtekka/${PN}/releases/download/${PV}/${P}.tar.gz"
35 +
36 +LICENSE="LGPL-2.1"
37 +SLOT="0"
38 +KEYWORDS="amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
39 +IUSE="doc ssl test threads"
40 +
41 +RESTRICT="!test? ( test )"
42 +
43 +BDEPEND="
44 + doc? ( app-doc/doxygen )
45 + test? (
46 + dev-libs/expat
47 + dev-libs/libxml2:2
48 + net-misc/curl
49 + )
50 +"
51 +DEPEND="
52 + dev-libs/protobuf-c:=
53 + sys-libs/zlib
54 + ssl? ( net-libs/gnutls:= )
55 +"
56 +RDEPEND="${DEPEND}"
57 +
58 +BUILD_DIR="${S}"
59 +
60 +DOCS=( AUTHORS ChangeLog NEWS README )
61 +
62 +src_prepare() {
63 + default
64 + eautoreconf
65 +}
66 +
67 +src_configure() {
68 + local myeconfargs=(
69 + --disable-static
70 + --with-protobuf
71 + --without-openssl
72 + $(use_with ssl gnutls)
73 + $(use_enable test tests)
74 + $(use_with threads pthread)
75 + )
76 + econf "${myeconfargs[@]}"
77 +}
78 +
79 +src_install() {
80 + use doc && local HTML_DOCS=( docs/html/. )
81 + default
82 + find "${D}" -name '*.la' -type f -delete || die
83 +}