Install this version:
emerge -a =net-libs/libnpupnp-6.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-libs/libnpupnp-6.0.0
Or alternatively:
emerge --autounmask-write -a =net-libs/libnpupnp-6.0.0
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp"
HOMEPAGE="https://framagit.org/medoc92/npupnp"
SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/expat
net-libs/libmicrohttpd:=
net-misc/curl
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--enable-client \
--enable-debug \
--enable-device \
--enable-gena \
--enable-ipv6 \
--enable-optssdp \
--enable-reuseaddr \
--enable-soap \
--enable-ssdp \
--enable-tools \
--enable-webserver
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
dev-libs/expat net-libs/libmicrohttpd:= net-misc/curl
dev-libs/expat net-libs/libmicrohttpd:= net-misc/curl
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libnpupnp-6.0.0.tar.gz | 557053 bytes | https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-6.0.0.tar.gz |