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: Sun, 25 Sep 2022 15:51:51
Message-Id: 1664120269.8af14f3e641b0a6dafbf8ae050f4374ceca877fb.stasibear@gentoo
1 commit: 8af14f3e641b0a6dafbf8ae050f4374ceca877fb
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 15:37:37 2022 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 15:37:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af14f3e
7
8 net-libs/libnpupnp: add 5.0.0
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.0.ebuild | 48 +++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest
17 index 523f640fe72f..205b83e634be 100644
18 --- a/net-libs/libnpupnp/Manifest
19 +++ b/net-libs/libnpupnp/Manifest
20 @@ -1 +1,2 @@
21 DIST libnpupnp-4.2.2.tar.gz 544198 BLAKE2B 450b3bf3f3ef2027bf50ad339c74b20dc4f075aac5c1b2419954bd558f114ca1dd973f5c14962b046cd6e57a0256586070aab7639b7da080452406d8a0fd24bc SHA512 22262e3dcb42f8c5ceb3df6296682ba993c4f86a810aaa63c7a6b5ec277c525d3d666a58840fb40833096e4f69916d309ca549bf67a137f200a236b1f71ec1f8
22 +DIST libnpupnp-5.0.0.tar.gz 545368 BLAKE2B a0b83186df66ff5608a7d579d3653028497ce92536ea85abc03c73134046c4f55ad31fb849c7231cf7842a424e4f408747f7da3769aae441499fd7ec7ae2544f SHA512 325be49f64d901e67aaf3893ac91f21523e81b1810c717f70a40486dde65080620ffa38f622ec785475b181f84a6d51fad89a86e709a9bd5554f278b90ae92f9
23
24 diff --git a/net-libs/libnpupnp/libnpupnp-5.0.0.ebuild b/net-libs/libnpupnp/libnpupnp-5.0.0.ebuild
25 new file mode 100644
26 index 000000000000..e43e9d04e31f
27 --- /dev/null
28 +++ b/net-libs/libnpupnp/libnpupnp-5.0.0.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2022 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 +}