1 |
commit: 0366b8b0b2a2265462e3ef215b17c9430dccd601 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 24 17:53:07 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 24 17:53:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0366b8b0 |
7 |
|
8 |
net-libs/gupnp: bump to 1.0.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
net-libs/gupnp/Manifest | 1 + |
14 |
net-libs/gupnp/gupnp-1.0.4.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 73 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest |
18 |
index 99181995fc8..fc4e9cdb461 100644 |
19 |
--- a/net-libs/gupnp/Manifest |
20 |
+++ b/net-libs/gupnp/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gupnp-1.0.3.tar.xz 422912 BLAKE2B 900a2a81982a50239b26ddd5df3f57caac1ee66103e857b9014db7dc694e303c1eaa0633cb467887f3370e97058abc221bd0175c9df11ca4af31e3f802145a66 SHA512 f256757ddf1a31f1dc93dc138401329e40aa063e7452dccaabe53682eebcb1b98cb6429c01d806290587ca9d01d91afce0603627d2d8675ddb68ef919efb6448 |
23 |
+DIST gupnp-1.0.4.tar.xz 427616 BLAKE2B ab5d34e701e253dc48ebafabc908f9aacd7a325805c61b11b5668cfa105d56a37f0d93593eeedd0e63630b986f2a2c18d4d9cdd82b653c9cc7a5d57262a819ef SHA512 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a |
24 |
|
25 |
diff --git a/net-libs/gupnp/gupnp-1.0.4.ebuild b/net-libs/gupnp/gupnp-1.0.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6e5cf8b9953 |
28 |
--- /dev/null |
29 |
+++ b/net-libs/gupnp/gupnp-1.0.4.ebuild |
30 |
@@ -0,0 +1,72 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+VALA_USE_DEPEND="vapigen" |
36 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+ |
39 |
+inherit gnome2 multilib-minimal python-single-r1 vala |
40 |
+ |
41 |
+DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" |
43 |
+ |
44 |
+LICENSE="LGPL-2" |
45 |
+SLOT="0/4" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+ |
48 |
+IUSE="connman +introspection kernel_linux networkmanager" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE} |
50 |
+ ?? ( connman networkmanager ) |
51 |
+" |
52 |
+ |
53 |
+# prefix: uuid dependency can be adapted to non-linux platforms |
54 |
+RDEPEND="${PYTHON_DEPS} |
55 |
+ >=net-libs/gssdp-0.14.15:0=[introspection?,${MULTILIB_USEDEP}] |
56 |
+ >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}] |
57 |
+ >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] |
58 |
+ >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] |
59 |
+ >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] |
60 |
+ introspection? ( |
61 |
+ >=dev-libs/gobject-introspection-1.36:= |
62 |
+ $(vala_depend) ) |
63 |
+ connman? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] ) |
64 |
+ networkmanager? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] ) |
65 |
+ !net-libs/gupnp-vala |
66 |
+" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ >=dev-util/gtk-doc-am-1.14 |
69 |
+ sys-devel/gettext |
70 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
71 |
+" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ use introspection && vala_src_prepare |
75 |
+ gnome2_src_prepare |
76 |
+} |
77 |
+ |
78 |
+multilib_src_configure() { |
79 |
+ local backend=unix |
80 |
+ use kernel_linux && backend=linux |
81 |
+ use connman && backend=connman |
82 |
+ use networkmanager && backend=network-manager |
83 |
+ |
84 |
+ ECONF_SOURCE=${S} \ |
85 |
+ gnome2_src_configure \ |
86 |
+ $(multilib_native_use_enable introspection) \ |
87 |
+ --disable-static \ |
88 |
+ --with-context-manager=${backend} |
89 |
+ |
90 |
+ if multilib_is_native_abi; then |
91 |
+ ln -s "${S}"/doc/html doc/html || die |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+multilib_src_install() { |
96 |
+ gnome2_src_install |
97 |
+} |
98 |
+ |
99 |
+multilib_src_install_all() { |
100 |
+ einstalldocs |
101 |
+ python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool |
102 |
+} |