summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-08-25 21:53:31 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-08-25 21:53:31 +0000
commitaa46b960f998d5665c4a2147f07ec91bf27a05cd (patch)
treef39cf1744ccb341fb8081fb487d4dc3715747507 /net-libs/gupnp
parentVersion bump. (diff)
downloadgentoo-2-aa46b960f998d5665c4a2147f07ec91bf27a05cd.tar.gz
gentoo-2-aa46b960f998d5665c4a2147f07ec91bf27a05cd.tar.bz2
gentoo-2-aa46b960f998d5665c4a2147f07ec91bf27a05cd.zip
Version bump. Add python-*-r1 support for gupnp-binding-tool.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r--net-libs/gupnp/ChangeLog7
-rw-r--r--net-libs/gupnp/gupnp-0.20.5.ebuild71
2 files changed, 77 insertions, 1 deletions
diff --git a/net-libs/gupnp/ChangeLog b/net-libs/gupnp/ChangeLog
index fddf52aa0ae1..22099462f798 100644
--- a/net-libs/gupnp/ChangeLog
+++ b/net-libs/gupnp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/gupnp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/ChangeLog,v 1.67 2013/08/01 18:49:36 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/ChangeLog,v 1.68 2013/08/25 21:53:31 eva Exp $
+
+*gupnp-0.20.5 (25 Aug 2013)
+
+ 25 Aug 2013; Gilles Dartiguelongue <eva@gentoo.org> +gupnp-0.20.5.ebuild:
+ Version bump. Add python-*-r1 support for gupnp-binding-tool.
*gupnp-0.20.4 (01 Aug 2013)
diff --git a/net-libs/gupnp/gupnp-0.20.5.ebuild b/net-libs/gupnp/gupnp-0.20.5.ebuild
new file mode 100644
index 000000000000..60f2b9abcc16
--- /dev/null
+++ b/net-libs/gupnp/gupnp-0.20.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/gupnp-0.20.5.ebuild,v 1.1 2013/08/25 21:53:31 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.14"
+VALA_USE_DEPEND="vapigen"
+# FIXME: Claims to works with python3 but appears to be wishful thinking
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="xml"
+
+inherit gnome2 python-any-r1 vala
+
+DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
+HOMEPAGE="http://gupnp.org/"
+
+LICENSE="LGPL-2"
+SLOT="0/4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="connman +introspection kernel_linux networkmanager"
+
+RDEPEND="
+ >=net-libs/gssdp-0.13.0:0=[introspection?]
+ >=net-libs/libsoup-2.28.2:2.4[introspection?]
+ >=dev-libs/glib-2.24:2
+ dev-libs/libxml2
+ || (
+ >=sys-apps/util-linux-2.16
+ <sys-libs/e2fsprogs-libs-1.41.8 )
+ introspection? (
+ >=dev-libs/gobject-introspection-0.6.4
+ $(vala_depend) )
+ connman? (
+ >=dev-libs/glib-2.28:2
+ >=net-misc/connman-0.80 )
+ networkmanager? ( >=dev-libs/glib-2.26:2 )
+ !net-libs/gupnp-vala
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-util/gtk-doc-am-1
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ use introspection && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local backend=unix
+ use kernel_linux && backend=linux
+ use connman && backend=connman
+ use networkmanager && backend=network-manager
+
+ gnome2_src_configure \
+ $(use_enable introspection) \
+ --disable-static \
+ --with-context-manager=${backend}
+}
+
+src_install() {
+ gnome2_src_install
+ python_doscript tools/gupnp-binding-tool
+}