1 |
commit: c875ee49b4fec73ee9b1c8ffc608507e4aef312b |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 19:54:00 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 20:07:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c875ee49 |
7 |
|
8 |
net-libs/libupnp: add 1.14.13 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
net-libs/libupnp/Manifest | 1 + |
13 |
net-libs/libupnp/libupnp-1.14.13.ebuild | 49 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest |
17 |
index d28f01297328..c88a40a0905f 100644 |
18 |
--- a/net-libs/libupnp/Manifest |
19 |
+++ b/net-libs/libupnp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libupnp-1.14.12.tar.gz 788299 BLAKE2B 721c10f9fa4ffc60743b4ebf8be566ea595931cb1f2a2448d8e3cecfc787abfb855cb16256eaaa10ce6a901cd5e5b3d14672610841b2a718d5dd003ccfd3c2f0 SHA512 aab17aa12f15d110bfab20cbcbae5f54926b6ca7a30bce10b9287cd39919a06a5e9f1493405e1d561c0d58ba46926f87009df891e4e4f37097df1c3c67635ca9 |
22 |
+DIST libupnp-1.14.13.tar.gz 807484 BLAKE2B af3cd6c852297d7b131b2deefba8a72427e225c765017edb5f927b81bd1ce2b72d43caf2c46bd383b83536ba858d52dc8d051e272dacc8bd3c952e43443650a4 SHA512 ae6ae72a5e784a0f9508af94c4070627e791660fa37966e9825643fd0f88b171826bda9a2ec872d4961bf3454e5a9cd716127f0bdf6e63c789c4e22aab0b7e71 |
23 |
|
24 |
diff --git a/net-libs/libupnp/libupnp-1.14.13.ebuild b/net-libs/libupnp/libupnp-1.14.13.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..a8b52238c73f |
27 |
--- /dev/null |
28 |
+++ b/net-libs/libupnp/libupnp-1.14.13.ebuild |
29 |
@@ -0,0 +1,49 @@ |
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 |
+MY_PN="pupnp" |
38 |
+ |
39 |
+DESCRIPTION="An Portable Open Source UPnP Development Kit" |
40 |
+HOMEPAGE="http://pupnp.sourceforge.net/" |
41 |
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}/${MY_PN}-release-${PV}" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0/17" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" |
47 |
+IUSE="blocking-tcp debug doc +ipv6 +reuseaddr samples +ssl static-libs" |
48 |
+ |
49 |
+RDEPEND="ssl? ( dev-libs/openssl:0= )" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+BDEPEND="virtual/pkgconfig" |
52 |
+ |
53 |
+PATCHES=( "${FILESDIR}/${PN}-1.14.12-disable-network-tests.patch" ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ eautoreconf |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local myeconfargs=( |
62 |
+ $(use_enable blocking-tcp blocking-tcp-connections) |
63 |
+ $(use_enable debug) |
64 |
+ $(use_enable ipv6) |
65 |
+ $(use_enable reuseaddr) |
66 |
+ $(use_enable samples) |
67 |
+ $(use_enable ssl open_ssl) |
68 |
+ $(use_enable static-libs static) |
69 |
+ ) |
70 |
+ |
71 |
+ econf ${myeconfargs[@]} |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ |
77 |
+ find "${D}" -name '*.la' -delete || die |
78 |
+} |