summaryrefslogtreecommitdiff
path: root/net-libs/gupnp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/gupnp
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r--net-libs/gupnp/Manifest5
-rw-r--r--net-libs/gupnp/gupnp-1.0.2.ebuild73
-rw-r--r--net-libs/gupnp/metadata.xml8
3 files changed, 86 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
new file mode 100644
index 000000000000..2727b6cbd811
--- /dev/null
+++ b/net-libs/gupnp/Manifest
@@ -0,0 +1,5 @@
+DIST gupnp-1.0.2.tar.xz 421792 SHA256 5173fda779111c6b01cd4a5e41b594322be9d04f8c74d3361f0a0c2069c77610 SHA512 a22082b10725abe233a8b3212a988a7c7e52a617aefe2029f25572d371560264cddd15eab2ad4637880b4be3b4bdb85dbc5c47c8da338667152c86eaecd7e165 WHIRLPOOL ac7c07d93eaa70f02cdb611954ef912fb8947c23b9e39a155923bb25612da0afec91a661a8059a54cf9693bc0a9a8060f4103bd316fc06ba39c62d9580efa65a
+EBUILD gupnp-1.0.2.ebuild 2011 SHA256 df65aa9e30d8642514961931a9dbcf0110a2c24bafa16f391a566fa5a9a066d9 SHA512 c3dee380560695f76e4ad94fc473ba1ade3281d7006692b7a155073304c1abc0b4e3df0173ef56f1c24609253c504566b2505fd278e6c3b827f08bd2a5243ea3 WHIRLPOOL 4963cfd554b0dc5891922bac66234b1604be3298a5d6718b07f08fb23e15d1b45a5c925569e22d60af4c1620d5935596b4558442fcdce255388f9b886f56651d
+MISC ChangeLog 5442 SHA256 d0501d21d1b929d46ce17e526cd6a5d481c8b0c5a9e4ea7a3b637e433462d5fa SHA512 d307078892e306dd9f832c25150128ac449f9b818f4b2df59efdd35850b249b10ef829e74fad33ed42f99dd9b71ce615e28d62def2c442a671102320f0500a12 WHIRLPOOL 0f0d94205dd2ee11deb770c2ee6357ddd4e5c41a93e7b411b8130175da3a9a291faf1e13b3dc0ab76d0cff1023664f6deb72f363576552326cc8997a5d378c3a
+MISC ChangeLog-2015 12626 SHA256 0aabb37fcdf226b4ad764c8372530446c8e1ca6208fdc2cc71497dbdaa02eea5 SHA512 7badb47abc989934accd14f1b0d6e2cf0e960d6dfb35c924d0ff5db18fcd6133773bf7069f2e7fba5469c042c44d0a2125a7a6f1cca7b0e5e74f6e6fe4e1decf WHIRLPOOL 16037a061383c9b5ae92da092d1f2c2fa1c38295926dca23f44900c0b45bb62125503eae6a3155cf6688c5e7b58dacea7d0a623a06f8bc1d224b6d47bac34f7a
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/net-libs/gupnp/gupnp-1.0.2.ebuild b/net-libs/gupnp/gupnp-1.0.2.ebuild
new file mode 100644
index 000000000000..19b46e745292
--- /dev/null
+++ b/net-libs/gupnp/gupnp-1.0.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+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 ~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_foreach_impl python_doscript tools/gupnp-binding-tool
+}
diff --git a/net-libs/gupnp/metadata.xml b/net-libs/gupnp/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/net-libs/gupnp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>