net-libs/libupnp: add 1.14.24

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-08-10 23:17:14 +02:00
parent af7fb05ded
commit bc93b1c932
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libupnp-1.14.20.tar.gz 815274 BLAKE2B 3d331a28b8f1b6c98d1153c4320b9c5b4191e82858a4874a2ce7fc93eab30c3aed61ebb2982aa6a08037943edf7a2196dc5d2e1103238292c48b119e6a8ed3ea SHA512 8aabd054d3c311abab762d15c739e5e10801e9a6caf09540560be9497cb632fdfc2c86a61522ab0b24e9baf20020ab0dab2a6e8e253c9cc1a1047efc701ba563
DIST libupnp-1.14.24.tar.gz 820880 BLAKE2B a8b6a9a39a2b4f4e85af09eb8950a39fa51e9fb3199652ade580ec07a73e4d6c7ff7f9d4de4059c1032a581926187a181b1083cb7c6fc0c907ca43e695c1ee33 SHA512 0ec4d2af846e1f85be6e5142540ed5f61c65cfc1dc6a30668c94cbced615d53abb126699c6ee557646dd30f47a9f29ff2554d6a4345f7cbf8f0a998dc9df3048

View File

@@ -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
}