Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/sofia-sip/
Date: Sun, 09 Feb 2020 18:50:24
Message-Id: 1581274167.7dc501a664d553e090136f00e9d987395cbdf683.soap@gentoo
1 commit: 7dc501a664d553e090136f00e9d987395cbdf683
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 18:49:27 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 18:49:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc501a6
7
8 net-libs/sofia-sip: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-libs/sofia-sip/sofia-sip-1.12.11.ebuild | 31 +++++++++++++++--------------
14 1 file changed, 16 insertions(+), 15 deletions(-)
15
16 diff --git a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
17 index 0cef361a73d..243bb87cbb2 100644
18 --- a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
19 +++ b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
20 @@ -1,7 +1,7 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=4
26 +EAPI=7
27
28 DESCRIPTION="RFC3261 compliant SIP User-Agent library"
29 HOMEPAGE="http://sofia-sip.sourceforge.net/"
30 @@ -10,28 +10,29 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
31 LICENSE="LGPL-2.1+ BSD public-domain" # See COPYRIGHT
32 SLOT="0"
33 KEYWORDS="~alpha amd64 ~arm arm64 ia64 ppc ~ppc64 sparc x86 ~x86-linux"
34 -IUSE="libressl ssl static-libs"
35 -
36 -RDEPEND="dev-libs/glib:2
37 - ssl? (
38 - !libressl? ( dev-libs/openssl )
39 - libressl? ( dev-libs/libressl )
40 - )"
41 -DEPEND="${RDEPEND}
42 - virtual/pkgconfig"
43 -
44 +IUSE="libressl ssl"
45 # tests are broken, see bugs 304607 and 330261
46 RESTRICT="test"
47
48 -DOCS=( AUTHORS ChangeLog README README.developers RELEASE TODO )
49 +RDEPEND="
50 + dev-libs/glib:2
51 + ssl? (
52 + !libressl? ( dev-libs/openssl:0= )
53 + libressl? ( dev-libs/libressl:0= )
54 + )"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="virtual/pkgconfig"
57
58 src_configure() {
59 econf \
60 - $(use_enable static-libs static) \
61 + --disable-static \
62 $(use_with ssl openssl)
63 }
64
65 src_install() {
66 default
67 - rm -f "${ED}"usr/lib*/lib${PN}*.la
68 + dodoc RELEASE
69 +
70 + # no static archives
71 + find "${D}" -name '*.la' -delete || die
72 }