commit: abc636798170f0a8d0375cbea88bf7b912d71de2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Feb 20 13:16:30 2016 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Feb 20 13:52:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc63679
net-libs/gupnp: Version bump Package-Manager: portage-2.2.27 net-libs/gupnp/Manifest | 1 + net-libs/gupnp/gupnp-0.20.16.ebuild | 76 +++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index f79c6f6..cdfee50 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,2 +1,3 @@ DIST gupnp-0.20.14.tar.xz 396764 SHA256 77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd SHA512 56d0ee6c2ef8a3c82c61793cf2ce81cd0dd86a0975c1366678337f80178e64f473fbe985e41f7e04225b150edf44e74a9ff96fe687d5710ab90f0b033750edf4 WHIRLPOOL b7de86ff4e364f775699932669dc6c58cb25cde1b8825de72243dc04828400a685c21a12d43a7a36aa1c2cfe64089c47c9ca9298f174a09ba17dcdf75422c809 DIST gupnp-0.20.15.tar.xz 403812 SHA256 0446b42d0d5b8adfcdca78832f2ce6173ab33793fca055afc97aec1fcc579fe2 SHA512 e0d62d188c364d2e56071e1050d838d155cc82320871b6e9bfac299028225a190eb288a8308a80d2f3b5b2d069f869bb81a8080507728b42be06053cec391c94 WHIRLPOOL d3b40099d7ad7ccbf79b2fb77ab4941ed0985b49e22f5d7798872b1d67141edce83ea0f8a61941893ff876c6561dbbd5b0219a6dfc3b01cf2892283c0468c4e9 +DIST gupnp-0.20.16.tar.xz 406912 SHA256 ff1119eff12529c46837e03c742f69dc4fae48d59097d79582d38a383b832602 SHA512 3db3b72a4e5eed6c7910eba4f27e7acacc21d4b4c63488dc3a0328a7a8ab4082fad203bd67923fc35cb6475a4bc918ca95cb50a6eb6ac8e1c6e88e969d9549f7 WHIRLPOOL 1f46ed6dd5725720ce6c6617d712552ec7dac05f0e75e5cf7d3d99a82299427cacb1d4b807e6149a3b9b7ea489233cf7cb299528108b80b3c8ff0210533d27e0 diff --git a/net-libs/gupnp/gupnp-0.20.16.ebuild b/net-libs/gupnp/gupnp-0.20.16.ebuild new file mode 100644 index 0000000..3fa8639 --- /dev/null +++ b/net-libs/gupnp/gupnp-0.20.16.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" +# FIXME: Claims to works with python3 but appears to be wishful thinking +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit gnome2 multilib-minimal python-r1 vala + +DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" + +LICENSE="LGPL-2" +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="connman +introspection kernel_linux networkmanager" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ?? ( connman networkmanager ) +" + +# prefix: uuid dependency can be adapted to non-linux platforms +RDEPEND=" + ${PYTHON_DEPS} + >=net-libs/gssdp-0.14.13:0=[introspection?,${MULTILIB_USEDEP}] + >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}] + >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] + >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] + introspection? ( + >=dev-libs/gobject-introspection-1.36:= + $(vala_depend) ) + connman? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] ) + networkmanager? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] ) + !net-libs/gupnp-vala +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.14 + sys-devel/gettext + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +src_prepare() { + use introspection && vala_src_prepare + gnome2_src_prepare +} + +multilib_src_configure() { + local backend=unix + use kernel_linux && backend=linux + use connman && backend=connman + use networkmanager && backend=network-manager + + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + --disable-static \ + --with-context-manager=${backend} + + if multilib_is_native_abi; then + ln -s "${S}"/doc/html doc/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + einstalldocs + python_foreach_impl python_doscript tools/gupnp-binding-tool +}