diff options
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r-- | net-libs/gupnp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/gupnp/gupnp-0.20.15.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index e0abbeae75db..8e160a894cac 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,2 +1,3 @@ DIST gupnp-0.20.13.tar.xz 395356 SHA256 d779b094f13097a5900689b3587e5b495d79112d0855ed842577acba25c902b3 SHA512 dfc73a50f93dba84042652556a3fad870137fda3659fac4fe735c3d2cecf94d6908382d88cf85122840dd61017b9348f97edb6ded6d876d5e35058d70f9b8dc1 WHIRLPOOL 5d3cb3f9411324d73d33728e137c7b75c16386a5c57470c5213c3393582b6ebdd9889d6e5cc702128bb1c0f8514958b3bf70607cbd38dfe957b11bd03dda3009 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 diff --git a/net-libs/gupnp/gupnp-0.20.15.ebuild b/net-libs/gupnp/gupnp-0.20.15.ebuild new file mode 100644 index 000000000000..692bf1157c27 --- /dev/null +++ b/net-libs/gupnp/gupnp-0.20.15.ebuild @@ -0,0 +1,77 @@ +# 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}] + <sys-libs/e2fsprogs-libs-1.41.8[${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 +} |