net-libs/libupnp: add 1.14.16

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2023-04-01 21:25:18 +02:00
parent 79b2324cf7
commit 833e853ea4
2 changed files with 50 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST libupnp-1.14.15.tar.gz 809246 BLAKE2B 5918f41b64fe5e4a0209058f4706d724d0fcad74c8e3bfc2a54d6d5a1af253d4461ec43b0c896f1da14dcb3fb0925cbae3bc6eb015380e1cd23a3d88e6ed656f SHA512 dde2563eaacdd288066012f001b819ec25ab51bc36aef23db71d2eb67eef778b6b2b10b35a2f6b3041ecef20167e873e1c54e17fc4a26e8d1d9f408e2050279d
DIST libupnp-1.14.16.tar.gz 810632 BLAKE2B f9cebb6f0f5faea07e003f433100d4789e2f59d16a1d1733e1a644ca49ea8fc43b080359b6106c84e4681b6c491ecbbc6373766aaf962d6b97372dfd4abf4bd2 SHA512 f02d72415ec4891e019724b5774aed2bd470d64ff1f6c179140a3e61bfb34794f0e6069d5f4baf0d8260aae09eab607a61575f02c4f853616180aec7f701abd3
+49
View File
@@ -0,0 +1,49 @@
# Copyright 1999-2023 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 ~ia64 ~loong ~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
}