/[gentoo-x86]/net-libs/gupnp/gupnp-0.20.14.ebuild
Gentoo

Contents of /net-libs/gupnp/gupnp-0.20.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jul 13 04:20:26 2015 UTC (5 years, 4 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for HPPA (bug #551814).

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/gupnp-0.20.14.ebuild,v 1.3 2015/06/26 09:23:25 ago Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 VALA_USE_DEPEND="vapigen"
8 # FIXME: Claims to works with python3 but appears to be wishful thinking
9 PYTHON_COMPAT=( python2_7 )
10 PYTHON_REQ_USE="xml"
11
12 inherit gnome2 multilib-minimal python-r1 vala
13
14 DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
15 HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
16
17 LICENSE="LGPL-2"
18 SLOT="0/4"
19 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
20 IUSE="connman +introspection kernel_linux networkmanager"
21
22 REQUIRED_USE="${PYTHON_REQUIRED_USE}
23 ?? ( connman networkmanager )"
24
25 # prefix: uuid dependency can be adapted to non-linux platforms
26 RDEPEND="
27 ${PYTHON_DEPS}
28 >=net-libs/gssdp-0.14.7:0=[introspection?,${MULTILIB_USEDEP}]
29 >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
30 >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
31 >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
32 || (
33 >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
34 <sys-libs/e2fsprogs-libs-1.41.8[${MULTILIB_USEDEP}] )
35 introspection? (
36 >=dev-libs/gobject-introspection-0.6.4
37 $(vala_depend) )
38 connman? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
39 networkmanager? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
40 !net-libs/gupnp-vala
41 "
42 DEPEND="${RDEPEND}
43 >=dev-util/gtk-doc-am-1
44 sys-devel/gettext
45 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
46 "
47
48 src_prepare() {
49 use introspection && vala_src_prepare
50 gnome2_src_prepare
51 }
52
53 multilib_src_configure() {
54 local backend=unix
55 use kernel_linux && backend=linux
56 use connman && backend=connman
57 use networkmanager && backend=network-manager
58
59 ECONF_SOURCE=${S} \
60 gnome2_src_configure \
61 $(multilib_native_use_enable introspection) \
62 --disable-static \
63 --with-context-manager=${backend}
64
65 if multilib_is_native_abi; then
66 ln -s "${S}"/doc/html doc/html || die
67 fi
68 }
69
70 multilib_src_install() {
71 gnome2_src_install
72 }
73
74 multilib_src_install_all() {
75 einstalldocs
76 python_parallel_foreach_impl python_doscript tools/gupnp-binding-tool
77 }

  ViewVC Help
Powered by ViewVC 1.1.20