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