From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- net-libs/gupnp/Manifest | 2 ++ net-libs/gupnp/gupnp-1.0.4.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 net-libs/gupnp/gupnp-1.0.4.ebuild (limited to 'net-libs/gupnp') diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index 43976d3339d9..cc682f4a8cb3 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,3 +1,5 @@ DIST gupnp-1.0.3.tar.xz 422912 BLAKE2B 900a2a81982a50239b26ddd5df3f57caac1ee66103e857b9014db7dc694e303c1eaa0633cb467887f3370e97058abc221bd0175c9df11ca4af31e3f802145a66 SHA512 f256757ddf1a31f1dc93dc138401329e40aa063e7452dccaabe53682eebcb1b98cb6429c01d806290587ca9d01d91afce0603627d2d8675ddb68ef919efb6448 +DIST gupnp-1.0.4.tar.xz 427616 BLAKE2B ab5d34e701e253dc48ebafabc908f9aacd7a325805c61b11b5668cfa105d56a37f0d93593eeedd0e63630b986f2a2c18d4d9cdd82b653c9cc7a5d57262a819ef SHA512 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a EBUILD gupnp-1.0.3.ebuild 1948 BLAKE2B c7515e47821d5e385d21f507a241f15b320645d88d94e3bb8cfd91574c40dcff36d52b412663723cfce4d59324034fd60de31175b0dbd878a41d0d184fc25c1a SHA512 495086fb7212e0f4bb864eefe84e6d895d9dba1939bf43f9a001deacb5389eb4dea136ccc39a469683d6a36e8e0b98d05ecece38e825ff1a395ac829ba84635d +EBUILD gupnp-1.0.4.ebuild 1953 BLAKE2B 1fc828d6d3ec967d2a6564d56547514dbb4f2de42caad06cd75ce63e0f083a24cb53d0c2c319b52f5548b56063109d46c78b1d2c4e07d9bc1dec9f047e54327e SHA512 32be26a800256a06e27b3dc2e9aca20bd9836fc1ee5b58587aeb2f393fa2cd6e0850cc852fd4aee1a9fba068bbb0753eef7c489e2fe797e3c469ba054d9d568c MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/net-libs/gupnp/gupnp-1.0.4.ebuild b/net-libs/gupnp/gupnp-1.0.4.ebuild new file mode 100644 index 000000000000..6e5cf8b99539 --- /dev/null +++ b/net-libs/gupnp/gupnp-1.0.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) +PYTHON_REQ_USE="xml" + +inherit gnome2 multilib-minimal python-single-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 ~arm64 ~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.15: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_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool +} -- cgit v1.2.3