Diff libgadu-1.11.4 with a libgadu-1.12.2-r1
/usr/portage/net-libs/libgadu/libgadu-1.12.2-r1.ebuild 2023-10-09 14:52:34.480368476 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 |
DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol" |
|
9 |
HOMEPAGE="http://toxygen.net/libgadu/" |
|
10 |
SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
11 | ||
12 |
# Bug 373215, last checked 2012.01.28 |
|
13 |
RESTRICT="test" |
|
8 |
DESCRIPTION="Client-side library for the Gadu-Gadu protocol" |
|
9 |
HOMEPAGE="https://libgadu.net/" |
|
10 |
SRC_URI="https://github.com/wojtekka/${PN}/releases/download/${PV}/${P}.tar.gz" |
|
14 | 11 | |
15 | 12 |
LICENSE="LGPL-2.1" |
16 |
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
17 | 13 |
SLOT="0" |
18 |
IUSE="doc ssl threads" |
|
14 |
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 |
IUSE="doc ssl test threads" |
|
16 | ||
17 |
RESTRICT="!test? ( test )" |
|
19 | 18 | |
20 |
COMMON_DEPEND=" |
|
19 |
BDEPEND=" |
|
20 |
doc? ( app-doc/doxygen ) |
|
21 |
test? ( |
|
22 |
dev-libs/expat |
|
23 |
dev-libs/libxml2:2 |
|
24 |
net-misc/curl |
|
25 |
) |
|
26 |
" |
|
27 |
DEPEND=" |
|
28 |
dev-libs/protobuf-c:= |
|
21 | 29 |
sys-libs/zlib |
22 | 30 |
ssl? ( net-libs/gnutls:= ) |
23 | 31 |
" |
24 |
DEPEND="${COMMON_DEPEND} |
|
25 |
doc? ( app-doc/doxygen ) |
|
26 |
" |
|
27 |
RDEPEND="${COMMON_DEPEND}" |
|
32 |
RDEPEND="${DEPEND}" |
|
33 | ||
34 |
BUILD_DIR="${S}" |
|
35 | ||
36 |
PATCHES=( |
|
37 |
"${FILESDIR}/${P}-fno-common.patch" |
|
38 |
) |
|
28 | 39 | |
29 |
DOCS=(AUTHORS ChangeLog NEWS README) |
|
40 |
DOCS=( AUTHORS ChangeLog NEWS README ) |
|
30 | 41 | |
31 | 42 |
src_prepare() { |
32 | 43 |
default |
... | ... | |
36 | 47 |
src_configure() { |
37 | 48 |
local myeconfargs=( |
38 | 49 |
--disable-static |
39 |
--disable-tests |
|
50 |
--with-protobuf |
|
40 | 51 |
--without-openssl |
41 | 52 |
$(use_with ssl gnutls) |
53 |
$(use_enable test tests) |
|
42 | 54 |
$(use_with threads pthread) |
43 | 55 |
) |
44 | 56 |
econf "${myeconfargs[@]}" |