Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp/
Date: Wed, 08 Mar 2017 19:37:11
Message-Id: 1489001743.e8fdaa06d4300f432dbcd1929986578259e3ffa5.expeditioneer@gentoo
1 commit: e8fdaa06d4300f432dbcd1929986578259e3ffa5
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 8 19:33:55 2017 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 8 19:35:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8fdaa06
7
8 net-libs/gupnp version bump to 1.0.1
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-libs/gupnp/Manifest | 1 +
13 net-libs/gupnp/gupnp-1.0.1.ebuild | 73 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
17 index 3d7f34dddc0..fc2aafd356d 100644
18 --- a/net-libs/gupnp/Manifest
19 +++ b/net-libs/gupnp/Manifest
20 @@ -1 +1,2 @@
21 DIST gupnp-0.20.18.tar.xz 409712 SHA256 c5e0e11061f8d0ff9c8dccc196f39c45a49c0153c9a72abf6290ab34d1cbb021 SHA512 553e2b55434f6a8e084c656d30017b671842a06ad1c6b8b0739f9f81693d3d18061e2e5b3294f247b11b2b95368ad00c89e13d3db5fc04a3b3549593c7f73a5f WHIRLPOOL 2b594f39d5deae1ef393a503752e969a213e295ac9f83f0721d0193168624a39b58bdedbfe12ffd6c2db2e7ea54a8eb38dfa6c5349d9692db07d5295754f741f
22 +DIST gupnp-1.0.1.tar.xz 421920 SHA256 934584cc1b361bf251a5ac271ffb1995a3c6426ce44cb64f9c6d779f2af9a6d9 SHA512 907aed86a31972668a57252183a4acde518fdf4f2af1a12277c4cb723f3b6b8748bca23fad9165fa6d440c30748bf58db334a27db089d212e72564093dea2215 WHIRLPOOL 19888759b0e3d0faad0ce82fd319afcf823ffd19960944546872eecc93fc44db4ca11cb3d9ab3a80d863359e9fcec1199054b092ed2a241779866bde360bfc9d
23
24 diff --git a/net-libs/gupnp/gupnp-1.0.1.ebuild b/net-libs/gupnp/gupnp-1.0.1.ebuild
25 new file mode 100644
26 index 00000000000..6a24cc8ff1d
27 --- /dev/null
28 +++ b/net-libs/gupnp/gupnp-1.0.1.ebuild
29 @@ -0,0 +1,73 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="6"
34 +VALA_USE_DEPEND="vapigen"
35 +# FIXME: Claims to works with python3 but appears to be wishful thinking
36 +PYTHON_COMPAT=( python2_7 )
37 +PYTHON_REQ_USE="xml"
38 +
39 +inherit gnome2 multilib-minimal python-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 ~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_foreach_impl python_doscript tools/gupnp-binding-tool
102 +}