commit: 5c14ffb55324617b32284f2389736db2cc870f30 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Tue May 2 21:54:49 2023 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Tue May 2 21:56:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c14ffb5
net-libs/libupnp: add 1.14.17 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> net-libs/libupnp/Manifest | 1 + net-libs/libupnp/libupnp-1.14.17.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest index 2d4bfa6cdcb0..49a73f850708 100644 --- a/net-libs/libupnp/Manifest +++ b/net-libs/libupnp/Manifest @@ -1,2 +1,3 @@ DIST libupnp-1.14.15.tar.gz 809246 BLAKE2B 5918f41b64fe5e4a0209058f4706d724d0fcad74c8e3bfc2a54d6d5a1af253d4461ec43b0c896f1da14dcb3fb0925cbae3bc6eb015380e1cd23a3d88e6ed656f SHA512 dde2563eaacdd288066012f001b819ec25ab51bc36aef23db71d2eb67eef778b6b2b10b35a2f6b3041ecef20167e873e1c54e17fc4a26e8d1d9f408e2050279d DIST libupnp-1.14.16.tar.gz 810632 BLAKE2B f9cebb6f0f5faea07e003f433100d4789e2f59d16a1d1733e1a644ca49ea8fc43b080359b6106c84e4681b6c491ecbbc6373766aaf962d6b97372dfd4abf4bd2 SHA512 f02d72415ec4891e019724b5774aed2bd470d64ff1f6c179140a3e61bfb34794f0e6069d5f4baf0d8260aae09eab607a61575f02c4f853616180aec7f701abd3 +DIST libupnp-1.14.17.tar.gz 810912 BLAKE2B 8bb38dbdff59cf4fd6c222cf1000ecc195f8d33601d8c06476b0a238d6969fe695bcb52f721e4d88a95fa63ef568881e1628935c3b5ba063b72a3b3ee27ded8b SHA512 d9af7231687bb694961822a9d3b1e9b04e52142f0245729902b240564579903858e01a5cfe53ff7a8fa77e44e36b840f0c355d2c79aaf0ced2498b4b1822ed6b diff --git a/net-libs/libupnp/libupnp-1.14.17.ebuild b/net-libs/libupnp/libupnp-1.14.17.ebuild new file mode 100644 index 000000000000..f2542c3b3894 --- /dev/null +++ b/net-libs/libupnp/libupnp-1.14.17.ebuild @@ -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 +}