summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-07 21:50:56 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-07 21:51:06 +0200
commitdb04b72f3df068b8156efb286dfc4f8b83fe911e (patch)
treef346f754c8b442536117545f55084fb20a9a2186 /net-libs/libupnp
parentnet-libs/libupnp: restrict tests (diff)
downloadgentoo-db04b72f3df068b8156efb286dfc4f8b83fe911e.tar.gz
gentoo-db04b72f3df068b8156efb286dfc4f8b83fe911e.tar.bz2
gentoo-db04b72f3df068b8156efb286dfc4f8b83fe911e.zip
net-libs/libupnp: update used eclasses & expose subslot
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-libs/libupnp')
-rw-r--r--net-libs/libupnp/libupnp-1.14.0.ebuild10
-rw-r--r--net-libs/libupnp/metadata.xml3
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 f80950884665..3927b7eedcdf 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 2c151ee1ce2b..e588f8be883d 100644
--- a/net-libs/libupnp/metadata.xml
+++ b/net-libs/libupnp/metadata.xml
@@ -5,6 +5,9 @@
<email>thev00d00@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>