commit:     db04b72f3df068b8156efb286dfc4f8b83fe911e
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 19:50:56 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 19:51:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db04b72f

net-libs/libupnp: update used eclasses & expose subslot

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-libs/libupnp/libupnp-1.14.0.ebuild | 10 +++++++---
 net-libs/libupnp/metadata.xml          |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/net-libs/libupnp/libupnp-1.14.0.ebuild 
b/net-libs/libupnp/libupnp-1.14.0.ebuild
index f8095088466..3927b7eedcd 100644
--- a/net-libs/libupnp/libupnp-1.14.0.ebuild
+++ b/net-libs/libupnp/libupnp-1.14.0.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=7
 
-inherit eutils flag-o-matic autotools vcs-snapshot
+inherit autotools flag-o-matic
 
 DESCRIPTION="An Portable Open Source UPnP Development Kit"
 HOMEPAGE="http://pupnp.sourceforge.net/";
 SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/17"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux"
 IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs"
 
@@ -19,6 +19,8 @@ RESTRICT="test"
 
 DOCS="ChangeLog"
 
+S="${WORKDIR}/pupnp-release-${PV}"
+
 src_prepare() {
        default
 
@@ -42,5 +44,7 @@ src_configure() {
 src_install() {
        default
 
-       use static-libs || find "${D}" -name '*.la' -delete || die
+       if ! use static-libs ; then
+               find "${D}" -name '*.la' -delete || die
+       fi
 }

diff --git a/net-libs/libupnp/metadata.xml b/net-libs/libupnp/metadata.xml
index 2c151ee1ce2..e588f8be883 100644
--- a/net-libs/libupnp/metadata.xml
+++ b/net-libs/libupnp/metadata.xml
@@ -5,6 +5,9 @@
     <email>thev00...@gentoo.org</email>
     <name>Ian Whyman</name>
   </maintainer>
+  <slots>
+    <subslots>Reflect ABI of libupnp.so.</subslots>
+  </slots>
   <upstream>
     <remote-id type="sourceforge">pupnp</remote-id>
     <remote-id type="github">mrjimenez/pupnp</remote-id>

Reply via email to