Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnpupnp/
Date: Thu, 02 Mar 2023 06:14:39
Message-Id: 1677737659.2bcab0a8fb658631cf4a2cb39d655231b992db64.stasibear@gentoo
1 commit: 2bcab0a8fb658631cf4a2cb39d655231b992db64
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 06:14:16 2023 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 06:14:19 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcab0a8
7
8 net-libs/libnpupnp: add 5.0.1
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11
12 net-libs/libnpupnp/Manifest | 1 +
13 net-libs/libnpupnp/libnpupnp-5.0.1.ebuild | 48 +++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest
17 index a1548b43c5a1..b6f48618090f 100644
18 --- a/net-libs/libnpupnp/Manifest
19 +++ b/net-libs/libnpupnp/Manifest
20 @@ -1 +1,2 @@
21 DIST libnpupnp-5.0.0.tar.gz 545368 BLAKE2B a0b83186df66ff5608a7d579d3653028497ce92536ea85abc03c73134046c4f55ad31fb849c7231cf7842a424e4f408747f7da3769aae441499fd7ec7ae2544f SHA512 325be49f64d901e67aaf3893ac91f21523e81b1810c717f70a40486dde65080620ffa38f622ec785475b181f84a6d51fad89a86e709a9bd5554f278b90ae92f9
22 +DIST libnpupnp-5.0.1.tar.gz 553258 BLAKE2B 141967e60a4776b6470dc55d2b0736e17281c671d7f102aee9553ff48d66833ec0c97d405427161989130f6cac21c90c2663f945e6c69c317de710a08e84627a SHA512 2a8cd7c1f2bd710a9b72d69dde56b2e5094ef1b6282239377f7fd15e0a6d9f85218f5b95ec17dabc678897f2d597cf7bf800890524762488c0e6fcc315a8cef7
23
24 diff --git a/net-libs/libnpupnp/libnpupnp-5.0.1.ebuild b/net-libs/libnpupnp/libnpupnp-5.0.1.ebuild
25 new file mode 100644
26 index 000000000000..9990fede9a9f
27 --- /dev/null
28 +++ b/net-libs/libnpupnp/libnpupnp-5.0.1.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit autotools
36 +
37 +DESCRIPTION="A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp"
38 +HOMEPAGE="https://framagit.org/medoc92/npupnp"
39 +SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +RDEPEND="
46 + dev-libs/expat
47 + net-libs/libmicrohttpd
48 + net-misc/curl
49 +"
50 +DEPEND="${RDEPEND}"
51 +BDEPEND="virtual/pkgconfig"
52 +
53 +src_prepare() {
54 + default
55 + eautoreconf
56 +}
57 +
58 +src_configure() {
59 + econf \
60 + --enable-client \
61 + --enable-debug \
62 + --enable-device \
63 + --enable-gena \
64 + --enable-ipv6 \
65 + --enable-optssdp \
66 + --enable-reuseaddr \
67 + --enable-soap \
68 + --enable-ssdp \
69 + --enable-tools \
70 + --enable-webserver
71 +}
72 +
73 +src_install() {
74 + default
75 +
76 + find "${ED}" -name '*.la' -delete || die
77 +}