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