summaryrefslogtreecommitdiff
path: root/net-libs/libnice
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libnice')
-rw-r--r--net-libs/libnice/Manifest6
-rw-r--r--net-libs/libnice/files/libnice-0.1.13-gstreamer.patch40
-rw-r--r--net-libs/libnice/libnice-0.1.13.ebuild57
-rw-r--r--net-libs/libnice/metadata.xml8
4 files changed, 111 insertions, 0 deletions
diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest
new file mode 100644
index 000000000000..aec9737f8f95
--- /dev/null
+++ b/net-libs/libnice/Manifest
@@ -0,0 +1,6 @@
+AUX libnice-0.1.13-gstreamer.patch 1195 SHA256 a100912a30b80257f218e97e5e58af8cb4172fe2563e6512d620ad14b63eedcf SHA512 fdbeded042b13c33c703a6b5032b7110eb1ce84ec3614e62f6482688a00eece723b4668a1925fcfab645bf61e7fcaf0d4d444525953dae397d8edb9a842c498b WHIRLPOOL 856eab907571730aea8977d49c8d0237403952253d7c3d570cdbdbc84d59dc746271db6772b53232a4e4785953e41154893e219f4fa6e1034f753ddef4d33c80
+DIST libnice-0.1.13.tar.gz 912374 SHA256 61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1 SHA512 c9bb81e8cd0b4e3673dba07ce08a16dd8821831339b44f1006510cdc09f9ae4c6eb7d43230711a2509867acb8d7df71821c411830dbf71c5a5d7e802f14a32c1 WHIRLPOOL 93bd35742cc3ef3cf768613d7757552d7fae98e906cad334b499e3a69577480a840e4e9bdb16c047099a62d47a60e8eee006107b1717937312ada087098f9dad
+EBUILD libnice-0.1.13.ebuild 1559 SHA256 632af6292b8b6f27ee956eed1a048c6c6d005597c56858742659640d71f70086 SHA512 193d86af23c26c8dd7cbd7daaa95b56904f5a8277619f51c9189fcadf9a16efe63eb47e7a31baa6a3d2371b7f11be9e578bec37cd7d9b445b53c4ebb0cdf9551 WHIRLPOOL a00cdfdea457817c82eef3cc951d63156ff87026394d88c1a71036154dbf6e02e598fa20cba8aeaf6de8682c8f9ffab34aa9e62b29c7c2aeaf7bd90423badb8b
+MISC ChangeLog 3745 SHA256 0602fe96b7cfb72c079198d55f35470137526f111e65287029318bba76a404ec SHA512 5387acbdeb04ea7417b938886a5bfc38622d3a9e565683b523bdec5d4dee0c9a25668b612c9bcd45369d4ba1593fa6e53c55238d7c3d59370e37e87211ccc42d WHIRLPOOL 9bd67b3cfc59117d370dbb567abed11912e16828776ce826c9d60b79a3b909acd77eeb3e76ce4a948a12bfa267082601bf71f7ebf02899134bc1009249ae12af
+MISC ChangeLog-2015 12765 SHA256 3edcfad60dae53a7eec8ee2810b274abc2971c038ca3c04e86810eef9372c441 SHA512 2a82fa5fcbd6c47e357120359d60c3bdd7232879b4defbd655bec468fc3653547d6897be3975dabf3bb61f33f01e4ddf085149dbdc8098b682fa476dfa6255d0 WHIRLPOOL 0a8225fda5db2960d0b0a77d0006316882d4a41e1a26972660a5bd6be7165acfd6c2064d5bc349385c8b6742244522ce0d75e8de6b9c75e30b21811125fd5a39
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/net-libs/libnice/files/libnice-0.1.13-gstreamer.patch b/net-libs/libnice/files/libnice-0.1.13-gstreamer.patch
new file mode 100644
index 000000000000..136d85456c40
--- /dev/null
+++ b/net-libs/libnice/files/libnice-0.1.13-gstreamer.patch
@@ -0,0 +1,40 @@
+From 76ff4aee9fe963842dd17748d14c68552c5dcda3 Mon Sep 17 00:00:00 2001
+From: Timo Gurr <timo.gurr@gmail.com>
+Date: Mon, 1 Jun 2015 16:10:16 +0200
+Subject: [PATCH] configure: Fix configure failure when building without
+ gstreamer support
+
+Error introduced in 20ea22e0a11a9bdfe4d8125b68083249b694338a, resulting in a
+configure/build error when building without gstreamer:
+
+configure: error: conditional "HAVE_GST_CHECK" was never defined.
+Usually this means the macro was only invoked conditionally.
+---
+ configure.ac | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6031cec..64a571f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -231,9 +231,6 @@ AS_IF([test "$with_gstreamer" != no], [
+ [
+ have_gst_check=no
+ ])
+-
+- AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
+-
+ ])
+
+ AS_IF([test "$with_gstreamer010" != no], [
+@@ -260,6 +257,7 @@ AC_SUBST(gstplugindir)
+ AC_SUBST(gstplugin010dir)
+
+ AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes)
++AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
+ AM_CONDITIONAL(WITH_GSTREAMER010, test "$with_gstreamer010" = yes)
+
+ GUPNP_IGD_REQUIRED=0.2.4
+--
+2.4.1
+
diff --git a/net-libs/libnice/libnice-0.1.13.ebuild b/net-libs/libnice/libnice-0.1.13.ebuild
new file mode 100644
index 000000000000..94c40f4d6da0
--- /dev/null
+++ b/net-libs/libnice/libnice-0.1.13.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib-minimal xdg-utils
+
+DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)"
+HOMEPAGE="https://nice.freedesktop.org/wiki/"
+SRC_URI="https://nice.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+introspection +upnp"
+
+RDEPEND="
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
+ upnp? ( >=net-libs/gupnp-igd-0.2.4:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
+"
+
+# Many tests fail from time to time, for example:
+# https://bugs.freedesktop.org/show_bug.cgi?id=81691
+RESTRICT="test"
+
+src_prepare() {
+ xdg_environment_reset
+
+ # https://bugs.freedesktop.org/show_bug.cgi?id=90801
+ epatch "${FILESDIR}"/${P}-gstreamer.patch
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # gstreamer plugin split off into media-plugins/gst-plugins-libnice
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-static \
+ --disable-static-plugins \
+ --without-gstreamer \
+ --without-gstreamer-0.10 \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable upnp gupnp)
+
+ if multilib_is_native_abi; then
+ ln -s {"${S}"/,}docs/reference/libnice/html || die
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --modules
+}
diff --git a/net-libs/libnice/metadata.xml b/net-libs/libnice/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/net-libs/libnice/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>