1 |
commit: 0ac0619b75f7f247396ce7db3964ebdbc30386ef |
2 |
Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 25 18:20:16 2018 +0000 |
4 |
Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 25 18:20:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac0619b |
7 |
|
8 |
net-libs/libupnp: 1.8.4 bump |
9 |
|
10 |
Signed-off-by: Ian Whyman <thev00d00 <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
net-libs/libupnp/Manifest | 1 + |
14 |
net-libs/libupnp/libupnp-1.8.4.ebuild | 70 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest |
18 |
index 0c688693ca6..ccbe5c129a3 100644 |
19 |
--- a/net-libs/libupnp/Manifest |
20 |
+++ b/net-libs/libupnp/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST libupnp-1.6.21.tar.bz2 1245353 BLAKE2B ca9ff07f88cfc77c3e3f7250ec1de6fb8c1a |
22 |
DIST libupnp-1.6.25.tar.bz2 722731 BLAKE2B 7f1850a235683ecd19bc377cd5c80c9d7ee8f0ded123dfc00d29551d2fd97fb873ce4c30ce0d26d562c57470c266a573c37fed4c0db159c65c56c673271adf92 SHA512 c1426c2f855f34a56b96761602a35989867918b556ecf9784c9ce9580f6c6083950004909831bad331f3a4dfb70ef1bd287e026c71bbfde2613f77fe05ab9e1f |
23 |
DIST libupnp-1.8.2.tar.gz 1379953 BLAKE2B 472851bfd25530ead4c113657f0e30cf7a3a1a4c88b86864676a2b7096817c1780718710a9535068904901c21d70d92fb267f295e88531e3eeef7d9a0cee58f3 SHA512 026f2568a1ffa56a3a0ebc823b126dceabb7e821acb6db52fbca02c4c02febd5508cb644cd2ac51f65397c3248a22340b3673069951e97dcdd22d4cc321d4511 |
24 |
DIST libupnp-1.8.3.tar.gz 1382278 BLAKE2B 65774d46633d81fcc810f01339e0eac5d7c7313f69c1a467e6c0bbb26eeee03fdb4d8330f46e86346737cc17c1c953ef26045526bc9fe438f7e917928a3a3d0e SHA512 592a719614492ee1dad3630e5de2dca1dbe369faa3c87ba20fb939334c9d24f9dc869a457f5903cd28c5f7662145d1db4eeb512ee93b47adad4fc9b7d9171507 |
25 |
+DIST libupnp-1.8.4.tar.gz 783896 BLAKE2B 483ae5344b0677441a02d4666476090e00d0f7b7798e24a7dbe7ea10cd68f02644851ba17cff06033714dc9f2ddf7d9c5588e5a54693f14ad1a9782a7751480d SHA512 6d96dc0dcf187a425f3b60f4e750102331bd0a5bd452007e345eeacb63e9287ac213574c8071294809283ff8d8795433706ed2a14bae3d451605bf7a75e5a5bb |
26 |
|
27 |
diff --git a/net-libs/libupnp/libupnp-1.8.4.ebuild b/net-libs/libupnp/libupnp-1.8.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a1fc1c7d028 |
30 |
--- /dev/null |
31 |
+++ b/net-libs/libupnp/libupnp-1.8.4.ebuild |
32 |
@@ -0,0 +1,70 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit eutils flag-o-matic autotools vcs-snapshot |
39 |
+ |
40 |
+DESCRIPTION="An Portable Open Source UPnP Development Kit" |
41 |
+HOMEPAGE="http://pupnp.sourceforge.net/" |
42 |
+SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="1.8" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
47 |
+IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs" |
48 |
+ |
49 |
+DOCS="ChangeLog" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-1.6.21-cflags.patch |
53 |
+) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ |
58 |
+ # fix tests |
59 |
+ chmod +x ixml/test/test_document.sh || die |
60 |
+ |
61 |
+ eautoreconf |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ use x86-fbsd && append-flags -O1 |
66 |
+ # w/o docdir to avoid sandbox violations |
67 |
+ econf $(use_enable debug) \ |
68 |
+ $(use_enable blocking-tcp blocking-tcp-connections) \ |
69 |
+ $(use_enable ipv6) \ |
70 |
+ $(use_enable reuseaddr) \ |
71 |
+ $(use_enable static-libs static) \ |
72 |
+ $(use_enable samples) |
73 |
+} |
74 |
+ |
75 |
+src_install () { |
76 |
+ default |
77 |
+ |
78 |
+ use static-libs || prune_libtool_files |
79 |
+ |
80 |
+ # Slot samples |
81 |
+ if $(use samples); then |
82 |
+ for bin in combo ctrlpt device ; do |
83 |
+ newbin "upnp/sample/.libs/tv_$bin" "tv_$bin-${SLOT}" |
84 |
+ done |
85 |
+ fi |
86 |
+ |
87 |
+ # Slot includes |
88 |
+ cd "${D}/usr/include" || die |
89 |
+ mv upnp "upnp-${SLOT}" || die |
90 |
+ |
91 |
+ # Slot pkgconfig |
92 |
+ cd "${D}/usr/$(get_libdir)/pkgconfig" || die |
93 |
+ mv libupnp.pc "libupnp-${SLOT}.pc" || die |
94 |
+ sed -i -e "s#/upnp#/upnp-${SLOT}#" \ |
95 |
+ -e "s#lupnp#lupnp-${SLOT}#" \ |
96 |
+ -e "s#lixml#lixml-${SLOT}#" "libupnp-${SLOT}.pc" || die |
97 |
+ |
98 |
+ # Slot symlinks |
99 |
+ cd "${D}/usr/$(get_libdir)" || die |
100 |
+ mv libupnp.so "libupnp-${SLOT}.so" || die |
101 |
+ mv libixml.so "libixml-${SLOT}.so" || die |
102 |
+} |