Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp/
Date: Sat, 20 Feb 2016 13:55:41
Message-Id: 1455976367.abc636798170f0a8d0375cbea88bf7b912d71de2.pacho@gentoo
1 commit: abc636798170f0a8d0375cbea88bf7b912d71de2
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 20 13:16:30 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 13:52:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc63679
7
8 net-libs/gupnp: Version bump
9
10 Package-Manager: portage-2.2.27
11
12 net-libs/gupnp/Manifest | 1 +
13 net-libs/gupnp/gupnp-0.20.16.ebuild | 76 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 77 insertions(+)
15
16 diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
17 index f79c6f6..cdfee50 100644
18 --- a/net-libs/gupnp/Manifest
19 +++ b/net-libs/gupnp/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gupnp-0.20.14.tar.xz 396764 SHA256 77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd SHA512 56d0ee6c2ef8a3c82c61793cf2ce81cd0dd86a0975c1366678337f80178e64f473fbe985e41f7e04225b150edf44e74a9ff96fe687d5710ab90f0b033750edf4 WHIRLPOOL b7de86ff4e364f775699932669dc6c58cb25cde1b8825de72243dc04828400a685c21a12d43a7a36aa1c2cfe64089c47c9ca9298f174a09ba17dcdf75422c809
22 DIST gupnp-0.20.15.tar.xz 403812 SHA256 0446b42d0d5b8adfcdca78832f2ce6173ab33793fca055afc97aec1fcc579fe2 SHA512 e0d62d188c364d2e56071e1050d838d155cc82320871b6e9bfac299028225a190eb288a8308a80d2f3b5b2d069f869bb81a8080507728b42be06053cec391c94 WHIRLPOOL d3b40099d7ad7ccbf79b2fb77ab4941ed0985b49e22f5d7798872b1d67141edce83ea0f8a61941893ff876c6561dbbd5b0219a6dfc3b01cf2892283c0468c4e9
23 +DIST gupnp-0.20.16.tar.xz 406912 SHA256 ff1119eff12529c46837e03c742f69dc4fae48d59097d79582d38a383b832602 SHA512 3db3b72a4e5eed6c7910eba4f27e7acacc21d4b4c63488dc3a0328a7a8ab4082fad203bd67923fc35cb6475a4bc918ca95cb50a6eb6ac8e1c6e88e969d9549f7 WHIRLPOOL 1f46ed6dd5725720ce6c6617d712552ec7dac05f0e75e5cf7d3d99a82299427cacb1d4b807e6149a3b9b7ea489233cf7cb299528108b80b3c8ff0210533d27e0
24
25 diff --git a/net-libs/gupnp/gupnp-0.20.16.ebuild b/net-libs/gupnp/gupnp-0.20.16.ebuild
26 new file mode 100644
27 index 0000000..3fa8639
28 --- /dev/null
29 +++ b/net-libs/gupnp/gupnp-0.20.16.ebuild
30 @@ -0,0 +1,76 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +GCONF_DEBUG="no"
37 +VALA_USE_DEPEND="vapigen"
38 +# FIXME: Claims to works with python3 but appears to be wishful thinking
39 +PYTHON_COMPAT=( python2_7 )
40 +PYTHON_REQ_USE="xml"
41 +
42 +inherit gnome2 multilib-minimal python-r1 vala
43 +
44 +DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
45 +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
46 +
47 +LICENSE="LGPL-2"
48 +SLOT="0/4"
49 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
50 +IUSE="connman +introspection kernel_linux networkmanager"
51 +
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
53 + ?? ( connman networkmanager )
54 +"
55 +
56 +# prefix: uuid dependency can be adapted to non-linux platforms
57 +RDEPEND="
58 + ${PYTHON_DEPS}
59 + >=net-libs/gssdp-0.14.13:0=[introspection?,${MULTILIB_USEDEP}]
60 + >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
61 + >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
62 + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
63 + >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
64 + introspection? (
65 + >=dev-libs/gobject-introspection-1.36:=
66 + $(vala_depend) )
67 + connman? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
68 + networkmanager? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
69 + !net-libs/gupnp-vala
70 +"
71 +DEPEND="${RDEPEND}
72 + >=dev-util/gtk-doc-am-1.14
73 + sys-devel/gettext
74 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
75 +"
76 +
77 +src_prepare() {
78 + use introspection && vala_src_prepare
79 + gnome2_src_prepare
80 +}
81 +
82 +multilib_src_configure() {
83 + local backend=unix
84 + use kernel_linux && backend=linux
85 + use connman && backend=connman
86 + use networkmanager && backend=network-manager
87 +
88 + ECONF_SOURCE=${S} \
89 + gnome2_src_configure \
90 + $(multilib_native_use_enable introspection) \
91 + --disable-static \
92 + --with-context-manager=${backend}
93 +
94 + if multilib_is_native_abi; then
95 + ln -s "${S}"/doc/html doc/html || die
96 + fi
97 +}
98 +
99 +multilib_src_install() {
100 + gnome2_src_install
101 +}
102 +
103 +multilib_src_install_all() {
104 + einstalldocs
105 + python_foreach_impl python_doscript tools/gupnp-binding-tool
106 +}