diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest index b66a51710489..23a671845f21 100644 --- a/net-libs/libupnp/Manifest +++ b/net-libs/libupnp/Manifest @@ -1 +1,2 @@ DIST libupnp-1.14.24.tar.gz 820880 BLAKE2B a8b6a9a39a2b4f4e85af09eb8950a39fa51e9fb3199652ade580ec07a73e4d6c7ff7f9d4de4059c1032a581926187a181b1083cb7c6fc0c907ca43e695c1ee33 SHA512 0ec4d2af846e1f85be6e5142540ed5f61c65cfc1dc6a30668c94cbced615d53abb126699c6ee557646dd30f47a9f29ff2554d6a4345f7cbf8f0a998dc9df3048 +DIST libupnp-1.14.25.tar.gz 821381 BLAKE2B e502dbc8e57030e807e5f92a6bea41bab696d4fcc5259ce5ba4d130f9f88d56f77300757c988aecb913547a21cf1382791c72801aa26c64aaf71cbc32199f74a SHA512 2aed5c72cb8e33b89d85e6755b99e7bd4e82ffb58d03ef58c2cdd790d4dc6c33b3a9f91168595930be53f0bb803e266e2bb02ea5fcc5cda8edada9453bf56492 diff --git a/net-libs/libupnp/libupnp-1.14.25.ebuild b/net-libs/libupnp/libupnp-1.14.25.ebuild new file mode 100644 index 000000000000..0f37b21a3435 --- /dev/null +++ b/net-libs/libupnp/libupnp-1.14.25.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_PN="pupnp" + +DESCRIPTION="An Portable Open Source UPnP Development Kit" +HOMEPAGE="http://pupnp.sourceforge.net/" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-release-${PV}" + +LICENSE="BSD" +SLOT="0/17" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +IUSE="blocking-tcp debug doc +reuseaddr samples +ssl static-libs" + +RDEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.14.12-disable-network-tests.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable blocking-tcp blocking-tcp-connections) + $(use_enable debug) + --enable-ipv6 + $(use_enable reuseaddr) + $(use_enable samples) + $(use_enable ssl open_ssl) + $(use_enable static-libs static) + ) + + econf ${myeconfargs[@]} +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +}