commit:     7dc501a664d553e090136f00e9d987395cbdf683
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 18:49:27 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 18:49:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc501a6

net-libs/sofia-sip: Port to EAPI 7

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-libs/sofia-sip/sofia-sip-1.12.11.ebuild | 31 +++++++++++++++--------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild 
b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
index 0cef361a73d..243bb87cbb2 100644
--- a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
+++ b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="RFC3261 compliant SIP User-Agent library"
 HOMEPAGE="http://sofia-sip.sourceforge.net/";
@@ -10,28 +10,29 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="LGPL-2.1+ BSD public-domain" # See COPYRIGHT
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm arm64 ia64 ppc ~ppc64 sparc x86 ~x86-linux"
-IUSE="libressl ssl static-libs"
-
-RDEPEND="dev-libs/glib:2
-       ssl? (
-               !libressl? ( dev-libs/openssl )
-               libressl? ( dev-libs/libressl )
-       )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
+IUSE="libressl ssl"
 # tests are broken, see bugs 304607 and 330261
 RESTRICT="test"
 
-DOCS=( AUTHORS ChangeLog README README.developers RELEASE TODO )
+RDEPEND="
+       dev-libs/glib:2
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
        econf \
-               $(use_enable static-libs static) \
+               --disable-static \
                $(use_with ssl openssl)
 }
 
 src_install() {
        default
-       rm -f "${ED}"usr/lib*/lib${PN}*.la
+       dodoc RELEASE
+
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
 }

Reply via email to