summaryrefslogtreecommitdiff
path: root/net-voip
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/ekiga/Manifest6
-rw-r--r--net-voip/ekiga/ekiga-4.0.1-r1.ebuild119
-rw-r--r--net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch36
-rw-r--r--net-voip/ekiga/metadata.xml9
-rw-r--r--net-voip/linphone/Manifest11
-rw-r--r--net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch19
-rw-r--r--net-voip/linphone/files/linphone-3.5.2-nls.patch15
-rw-r--r--net-voip/linphone/files/linphone-3.6.1-nls.patch19
-rw-r--r--net-voip/linphone/linphone-3.5.2.ebuild111
-rw-r--r--net-voip/linphone/linphone-3.6.1.ebuild116
-rw-r--r--net-voip/linphone/metadata.xml17
-rw-r--r--net-voip/metadata.xml12
-rw-r--r--net-voip/openmcu/Manifest9
-rw-r--r--net-voip/openmcu/files/openmcu-2.2.1-path.patch48
-rw-r--r--net-voip/openmcu/files/openmcu.confd5
-rw-r--r--net-voip/openmcu/files/openmcu.ini13
-rw-r--r--net-voip/openmcu/files/openmcu.rc620
-rw-r--r--net-voip/openmcu/metadata.xml8
-rw-r--r--net-voip/openmcu/openmcu-2.2.5-r1.ebuild74
-rw-r--r--net-voip/telepathy-gabble/Manifest6
-rw-r--r--net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch29
-rw-r--r--net-voip/telepathy-gabble/metadata.xml11
-rw-r--r--net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild87
-rw-r--r--net-voip/telepathy-haze/Manifest9
-rw-r--r--net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch28
-rw-r--r--net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch22
-rw-r--r--net-voip/telepathy-haze/metadata.xml12
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild41
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild57
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild32
-rw-r--r--net-voip/telepathy-rakia/Manifest5
-rw-r--r--net-voip/telepathy-rakia/metadata.xml8
-rw-r--r--net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild40
-rw-r--r--net-voip/telepathy-salut/Manifest7
-rw-r--r--net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch13
-rw-r--r--net-voip/telepathy-salut/metadata.xml15
-rw-r--r--net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild78
-rw-r--r--net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild62
-rw-r--r--net-voip/vidyodesktop/Manifest9
-rw-r--r--net-voip/vidyodesktop/metadata.xml11
-rw-r--r--net-voip/vidyodesktop/vidyodesktop-3.6.3.017.ebuild74
-rw-r--r--net-voip/vidyodesktop/vidyodesktop-3.6.7.010.ebuild74
-rw-r--r--net-voip/yate/Manifest12
-rw-r--r--net-voip/yate/files/yate-5.4.0-dont-mess-with-cflags.patch15
-rw-r--r--net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch14
-rw-r--r--net-voip/yate/files/yate.confd10
-rw-r--r--net-voip/yate/files/yate.initd33
-rw-r--r--net-voip/yate/metadata.xml26
-rw-r--r--net-voip/yate/yate-5.4.0-r1.ebuild92
-rw-r--r--net-voip/yate/yate-5.5.0-r1.ebuild92
-rw-r--r--net-voip/yate/yate-9999.ebuild89
51 files changed, 1780 insertions, 0 deletions
diff --git a/net-voip/ekiga/Manifest b/net-voip/ekiga/Manifest
new file mode 100644
index 000000000000..8da9937d546f
--- /dev/null
+++ b/net-voip/ekiga/Manifest
@@ -0,0 +1,6 @@
+AUX ekiga-4.0.1-crash-clear.patch 1074 SHA256 573995e0b75c82c24d13866f97be5233034fb1081e0dce1d97038a21b35c6e84 SHA512 7f7a5fc4f3bd92f308a534de330d9c6cf60382a21e26c671141d6f2f066e6f3595a9dbea42664aed4f0ec2ada3fc55decf7ac327f9a7f50fade63ee8a426cf26 WHIRLPOOL 26d925ff2a11afabd2e5a842029410334093e3257fd2a7247ba602dd5b5932daf624101e43c243ecc7a84d882efc61d3165d2d2d4c87b432b616e92c270f4b11
+DIST ekiga-4.0.1.tar.xz 8339364 SHA256 5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b SHA512 3c4dd5eab6e91434da4bbfe5728ac5943ed5ae89b8b2241fb59abb3e41bcd08ba187b5d60c9d839b1010edd7fc97b53cc6db57a6eec40ba81757a772febd2217 WHIRLPOOL 10f60d34b110f0bd77631725bcd7be2badaa88e7278c466a5d2f2944a7ad6226d4466cf6f1f2f3fdea3a3ea925b02216052124dfc5ca416439ba60db22a809ed
+EBUILD ekiga-4.0.1-r1.ebuild 3292 SHA256 c2c067f59b0b9503a7b4ca32056ec82f1111886358c29ade78b40e911d19150c SHA512 d54ce8233d6a0e8211926c77d76e546da6810a44a966f4b6f22d2aa281d452be9842d5fbf10e01cf66517c7ac869cad129bd580dede373d4f7fb4b03854edb93 WHIRLPOOL 6fbf299238ddca0f7d0ff8079f8ff7af3bc7dadf8417e4ff7690b7ce02235444899a4321450f6bc178d9c9f6221493ffd61af7056ad1d2961b1a02273dc112b8
+MISC ChangeLog 6205 SHA256 9715af8487ce441bc0d00dc8cecb91618a4db23afbfa5a47c8f5311e2ecd5464 SHA512 1e98374fde3486f6270c424cd05a9a70a6c39b5b76d2e505b8e12883e7f53e08482639b2772671e3e4be51905610add91aa9f6a680107eae7a8d916cc3ad274d WHIRLPOOL 8f1a8f93fe4a40b6b73aef5275824fd0671170a0254fb3385b004b1f60ec4de514cd70549fc8d1575f2cf34f2a7c6f96f71b5fb9b7b1e94a3f1cd5075f37418f
+MISC ChangeLog-2015 16615 SHA256 b2435bcd9520215aa02fd3ef0067183557e386a65ef0dae1cb19ce87e47a6211 SHA512 e19f5afd921bfeb9b06923a359ca120b3ec8646506ca7395638caa23db1cb3a8ab871bbbf142c1f8f5adc1248342a0029c6a46c9c7adf4c758988fe846b3b5cd WHIRLPOOL e9d4411d8b3fe7f69894cb92c9034aa3c54f107c147aeeeebbe10a381a3015739a67e4ba328b2792620daee2f2f2e77a7d32e7c7d4d2d75798820c9aa4539f63
+MISC metadata.xml 305 SHA256 7261a8a7b8151ee972a8eba8d76e185b0e72724a97cf3cfd2eaeee8786924f32 SHA512 fc1b3c5c121d476c5c339c78b543fb9a1be57019d3e05505ffa717b3877cd48d825c0c123a4882e02ff0fbee37bffc1e146a7098ae7840d80a8b54355c3e5683 WHIRLPOOL 6c5235947360a6c862d1da9b4c8d75e921035fb268964b04ae73f15805b3f0621ab43a56301c38fbe10a9457d9508eae92fca5e404f8ca8d89a0590ec5998c3e
diff --git a/net-voip/ekiga/ekiga-4.0.1-r1.ebuild b/net-voip/ekiga/ekiga-4.0.1-r1.ebuild
new file mode 100644
index 000000000000..5cc07966a143
--- /dev/null
+++ b/net-voip/ekiga/ekiga-4.0.1-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="H.323 and SIP VoIP softphone"
+HOMEPAGE="http://www.ekiga.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+IUSE="dbus debug doc eds h323 ldap libnotify cpu_flags_x86_mmx pulseaudio +shm v4l xv zeroconf"
+
+# gconf is a hard requirement until this bug is fixed:
+# https://bugzilla.gnome.org/show_bug.cgi?id=721198
+#
+# x11-themes/gnome-icon-theme needed, bug #600398, https://bugzilla.gnome.org/show_bug.cgi?id=775652
+# changing configure check is not enough and icons will be missing.
+RDEPEND="
+ >=dev-libs/glib-2.24.0:2
+ >=dev-libs/boost-1.49:0=
+ dev-libs/libxml2:2
+ >=gnome-base/gconf-2.6.0:2
+
+ >=net-libs/opal-3.10.9:0=[sip,sound,video,debug=,h323?,xml]
+ <net-libs/opal-3.12
+ >=net-libs/ptlib-2.10.9:0=[ldap?,stun,v4l?,video,wav,debug=,dtmf,pulseaudio?,xml]
+ <net-libs/ptlib-2.12
+
+ >=x11-libs/gtk+-2.20.0:2
+ x11-themes/gnome-icon-theme
+ dbus? ( >=sys-apps/dbus-0.36
+ >=dev-libs/dbus-glib-0.36 )
+ eds? ( >=gnome-extra/evolution-data-server-1.2:= )
+ ldap? ( dev-libs/cyrus-sasl:2
+ net-nds/openldap )
+ libnotify? ( x11-libs/libnotify )
+ shm? ( x11-libs/libXext )
+ xv? ( x11-libs/libXv )
+ zeroconf? ( >=net-dns/avahi-0.6[dbus] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ sys-devel/gettext
+ doc? (
+ app-text/rarian
+ app-text/gnome-doc-utils
+ app-doc/doxygen )
+ v4l? ( sys-kernel/linux-headers )
+"
+
+# NOTES:
+# ptlib/opal needed features are not checked by ekiga, upstream bug 577249
+# +doc is not installing dev doc (doxygen)
+# UPSTREAM:
+# contact ekiga team to be sure intltool and gettext are not nls deps
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=499208
+ "${FILESDIR}"/${P}-crash-clear.patch
+)
+
+src_prepare() {
+ # remove call to gconftool-2 --shutdown, upstream bug 555976
+ # gnome-2 eclass is reloading schemas with SIGHUP
+ sed -i -e '/gconftool-2 --shutdown/d' Makefile.in || die "sed failed"
+
+ # V4L support is auto-enabled, want it to be a user choice
+ # do not contact upstream because that's a hack
+ # TODO: check if upstream has removed this hack
+ if ! use v4l; then
+ sed -i -e "s/V4L=\"enabled\"/V4L=\"disabled\"/" configure || die "sed failed"
+ fi
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # dbus-service: always enable if dbus is enabled, no reason to disable it
+ # Upstream doesn't support experimental stuff:
+ # https://bugzilla.gnome.org/show_bug.cgi?id=689301
+ # Hence, we disable gstreamer, kde, kab (kontact)
+ gnome2_src_configure \
+ --disable-gstreamer \
+ --disable-kde \
+ --enable-libtool-lock \
+ --disable-kab \
+ --disable-xcap \
+ --enable-gconf \
+ --enable-schemas-install \
+ --enable-nls \
+ --disable-static-libs \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus_service) \
+ $(use_enable debug gtk-debug) \
+ $(use_enable debug opal-debug) \
+ $(use_enable doc gdu) \
+ $(use_enable eds) \
+ $(use_enable h323) \
+ $(use_enable ldap) \
+ $(use_enable libnotify notify) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable shm) \
+ $(use_enable xv) \
+ $(use_enable zeroconf avahi)
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use doc && use dbus; then
+ insinto "/usr/share/doc/${PF}/"
+ doins doc/using_dbus.html
+ fi
+}
diff --git a/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch b/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch
new file mode 100644
index 000000000000..9b9ca657895d
--- /dev/null
+++ b/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch
@@ -0,0 +1,36 @@
+From ebfdaa0690c2f65dfe90714b02ff4f9bc9a3fa6d Mon Sep 17 00:00:00 2001
+From: Julien Puydt <jpuydt@free.fr>
+Date: Mon, 21 Jan 2013 15:54:38 +0100
+Subject: Made the call-history signal the changes first, then do some cleaning
+ later -- fixes a crash on clear
+
+---
+ lib/engine/components/call-history/history-book.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/lib/engine/components/call-history/history-book.cpp b/lib/engine/components/call-history/history-book.cpp
+index b110d4d..4db92fa 100644
+--- a/lib/engine/components/call-history/history-book.cpp
++++ b/lib/engine/components/call-history/history-book.cpp
+@@ -177,6 +177,10 @@ History::Book::clear ()
+
+ std::list<ContactPtr> old_contacts = ordered_contacts;
+ ordered_contacts.clear ();
++
++ cleared ();
++ updated ();
++
+ for (std::list<ContactPtr>::iterator iter = old_contacts.begin ();
+ iter != old_contacts.end();
+ ++iter)
+@@ -187,7 +191,6 @@ History::Book::clear ()
+ xmlDocSetRootElement (doc.get (), root);
+
+ save ();
+- cleared ();
+ }
+
+ void
+--
+cgit v0.12
+
diff --git a/net-voip/ekiga/metadata.xml b/net-voip/ekiga/metadata.xml
new file mode 100644
index 000000000000..3a28e4d695db
--- /dev/null
+++ b/net-voip/ekiga/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="h323">Enable H.323 protocol</flag>
+ <flag name="shm">Enable the Shared Memory Extension from libXext</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest
new file mode 100644
index 000000000000..dff9a6809565
--- /dev/null
+++ b/net-voip/linphone/Manifest
@@ -0,0 +1,11 @@
+AUX linphone-3.5.2-automake-1.13.patch 411 SHA256 2a22664f9afa25cc30a5f4720f166d2915cbb6d7165d5a2c0ca4cebb942dc19c SHA512 c01970d2e18efc5187695c25c0ae63f681c482769c078724a9805e47c6b8d4c5d69c401d673032062fe6137de582a6fd16c42cd4be6868c3bae86c958ba131b5 WHIRLPOOL 9d2e800736ecebcf0d74a0c76919f498fcc8a97cb5549ba6011909d29892d59ee2f2bb3adb48ed7746167b3097fc64e51e2ffd546dbadfc0e5f0f7474f7bf566
+AUX linphone-3.5.2-nls.patch 419 SHA256 122db264895c42d21aae55cd2297a5bb4e0098d043d77b0e14d6af69018e9776 SHA512 f0b7259c0fee65edbbe2df4a60f85ff738f78cb5002e7bdbbd6b0ff602419843fab32bd30e2797a4fa4cc662709336c44de5fdac56a8ce4b886095507061ef46 WHIRLPOOL 76e03094639e989cd95f26f91cad9e004d36db6905bf957923c7e51af9bfe3892f3229b7befb788f9d6dc13c2054666341bedeca315d3c97d5d082829134ca93
+AUX linphone-3.6.1-nls.patch 401 SHA256 19fb515aeb3acfe9785df376aa9ad26ae4c8be205c6404791c3af2fd6300cdce SHA512 cec3043ca002b120907ab64177e5abed50109daae9f6bbcd6d4242667cb180bf33b2cc5a7a4f335c77fc3925736087de3f9e037daa909cc19257ca419f966820 WHIRLPOOL 97a1b216f29c654a8cd2406931ed179f90730d73895e7420c7774b4dbf65ef1e57e44c4f99f799717fbaf0dd5afdda00a878ce14e908e2014e12894a267ef95d
+DIST linphone-3.5.2.tar.gz 8338517 SHA256 da37d5e539e3f8aaa44039aa52ed032ef372e7481d1b3ce68317bf79aa8a6020 SHA512 a45be141af3ee5fc37d314889b92246000810b2b5e129088a30e3ba9335f6cecd226b488a568953463d38806491471e3798be99eda7ceba9d421ff0fa7a995c9 WHIRLPOOL d3365a9d05ed7694bcd12237bd80a55a9ca7766b5e52362ca1c470e7ea748a9e50419ef05e9c79af156d364f8ec8f9a29bcf45361cd07bb8ee029a9e45f142c6
+DIST linphone-3.6.1-exosip-4.patch 89376 SHA256 36e72e03bfc215b923b11f360b0435b1ba5df2b2ead4abce12a7b80a7a0fc367 SHA512 bdab74336cb8235b3396230278fd8eb465defac1175b00ff9cf273ef2dbc4e05f63d2574de599618e4d963b42ad17ac4f0c8c9013e40a497c99211041317313d WHIRLPOOL 8f74746447210a284677e6b203c14542bc9e4c9507d37f5adc860ffd4bf825112c9aba6a4dd9d34ca6152a9e0021ea815d14edd33774d6b75124f549d1d0dbc4
+DIST linphone-3.6.1.tar.gz 11458586 SHA256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 SHA512 688ccfb333b2302ca20c2c77e38b20deee8b1c5f3c31f7a4b666d81114ea3e5cbe38bac6d88116d635ac3fcb7f38d013e35c7c076549cc3d7ae900456d51b5e4 WHIRLPOOL 3b76b6d3bbf1a9e2b06beae41e276abcd5223c5cf6f600c140ab27a60aae7b9c47c1c9da1f26587fac0d77f8a6114115b18d346d33f05b1e2a0a3a83fbf986b0
+EBUILD linphone-3.5.2.ebuild 2889 SHA256 8fa5ff78bf0604260cf86e6d7f9a75d7291e3a611df95114859b6d939450a28f SHA512 135e1798897c1c2a646d8041079884ae7f68cd5863f168a60b4ee075ce8577b3c3fe84e9a5ddb5e50e929bdf0a4dc099b624b9471072d78c1d46b8987f6d69ed WHIRLPOOL 2c036abd1e4d80e4197698d057fc95b3e274e35af18c94137f3342a8d64c3e1d61d44159f4c4cf9c486d799102a8d20156f8abcaccac0116de7cc09497098581
+EBUILD linphone-3.6.1.ebuild 3071 SHA256 e25a9b403e5829de30bfa3ee162134bd3f38fb4e4b51cc6261c0666633b37664 SHA512 0aab857e8ed61cf58b9221b5e69006a5b7b3023e4733f15d198146cd8033369a7596ac1b9bee1343523943706d11af5719041900921741b6bf798521b34c0bfb WHIRLPOOL 06d8b334171f6780331c6b48a67354a86bdc26c4c4b24dd2c415f16a25199fc27059faa9ca22d3d1ae3d6beb0017b2013fe1b7a42b82c6b1326ae16d6e9044f4
+MISC ChangeLog 2764 SHA256 720aff589d600af79951c749b0342f8e68bb41a3e63a474bdbeadd5b4136da44 SHA512 b746cc8fad9ef8b2a779bf44ace730126bd9c57f2f0f7fbae02058a22ef54b3df9a45ce3d310462ff71ad681600c357288871fa958c5cffba9ab909107315b58 WHIRLPOOL 35e2ca736928549b1ceb8ad4fa977c7f36820e94bba46cbfe92d3fad03ea3fa1a9e0e0fdbf41c5fa4c8b19ab2571862e92aacbdabc3f64385f874391bf3f30aa
+MISC ChangeLog-2015 19071 SHA256 e35db154de39081ebe44ed44d355308d40876b6ae37ae9c58215951078fe402e SHA512 def4d63cb157f14573613a3b4df49af150b6ec055a4b0979a0438bfafaab3a41c1f8d0260de02e666f18f31ff6720adba7081eb922fc6eb6b8ef3567b3c4a27f WHIRLPOOL 486c43ea7270dba23fb0dfde0155aaf18007c7f26346b9b6ce784f75b27c215f0fdf3929dbea1e83265092acda04fa562962a5cfd24345b9911e28ed2d0f6b86
+MISC metadata.xml 603 SHA256 493004ae5ba17c012a496fdf451b5dee5624fe54e2e9a1b6edf086ebf02483fd SHA512 5d48b510b798090b2ebfed2197570ac045462dbd424aeac2a8aae8b01c04c7620fe7f8eb5480f12d813b0c55fc15db475f2128de7d6ffb9fcbc1c158711143fd WHIRLPOOL f47cd194c48cfb795c84485315330cf66948566bb6e88f775f3a52a8553a30d761922ae741c0bd6823e5b5988f243cb2c273acaebff1c7c55d05cc301ba6dcf8
diff --git a/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch b/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch
new file mode 100644
index 000000000000..44d679c473a9
--- /dev/null
+++ b/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch
@@ -0,0 +1,19 @@
+Author: hasufell <hasufell@gentoo.org>
+Date: Sun Sep 29 17:41:02 2013 +0200
+
+ remove obsolete macro
+
+ AC_PROG_CC is already called anyway
+
+diff --git a/configure.ac b/configure.ac
+index 22bc235..81f6277 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,6 @@ AC_ISC_POSIX
+ AC_PROG_CC
+ AC_PROG_CXX
+ AC_C_INLINE
+-AM_PROG_CC_STDC
+ AC_HEADER_STDC
+ AM_PROG_CC_C_O
+ AC_CHECK_PROGS(MD5SUM,[md5sum md5])
diff --git a/net-voip/linphone/files/linphone-3.5.2-nls.patch b/net-voip/linphone/files/linphone-3.5.2-nls.patch
new file mode 100644
index 000000000000..b9624048edfe
--- /dev/null
+++ b/net-voip/linphone/files/linphone-3.5.2-nls.patch
@@ -0,0 +1,15 @@
+diff -r 5c0dde6115a0 -r 082bb23f04a9 configure.ac
+--- a/configure.ac Thu Mar 29 12:44:23 2012 +0400
++++ b/configure.ac Thu Mar 29 12:48:40 2012 +0400
+@@ -80,7 +80,10 @@
+ AC_SUBST(GUI_FLAGS)
+
+ dnl localization tools
+-IT_PROG_INTLTOOL([0.40], [no-xml])
++AM_NLS
++if test "$USE_NLS" != "no"; then
++ IT_PROG_INTLTOOL([0.40], [no-xml])
++fi
+
+ AM_CONDITIONAL(BUILD_TESTS,test x$build_tests != xno)
+ dnl Initialize libtool
diff --git a/net-voip/linphone/files/linphone-3.6.1-nls.patch b/net-voip/linphone/files/linphone-3.6.1-nls.patch
new file mode 100644
index 000000000000..fb53aece8f64
--- /dev/null
+++ b/net-voip/linphone/files/linphone-3.6.1-nls.patch
@@ -0,0 +1,19 @@
+Author: hasufell <hasufell@gentoo.org>
+Date: Sun Sep 29 20:19:39 2013 +0200
+
+ fix nls
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -79,7 +79,10 @@ AC_SUBST(CONSOLE_FLAGS)
+ AC_SUBST(GUI_FLAGS)
+
+ dnl localization tools
+-IT_PROG_INTLTOOL([0.40], [no-xml])
++AM_NLS
++if test "$USE_NLS" != "no"; then
++ IT_PROG_INTLTOOL([0.40], [no-xml])
++fi
+
+ AM_CONDITIONAL(BUILD_TESTS,test x$build_tests != xno)
+
diff --git a/net-voip/linphone/linphone-3.5.2.ebuild b/net-voip/linphone/linphone-3.5.2.ebuild
new file mode 100644
index 000000000000..8d000d4c4b35
--- /dev/null
+++ b/net-voip/linphone/linphone-3.5.2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils multilib pax-utils versionator
+
+DESCRIPTION="Video softphone based on the SIP protocol"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]?
+IUSE="doc gsm-nonstandard gtk ipv6 ncurses nls ssl video"
+
+RDEPEND="
+ =media-libs/mediastreamer-2.8*[video?,ipv6?]
+ >=net-libs/libeXosip-3.0.2
+ >=net-libs/libosip-3.0.0
+ <net-libs/libosip-4
+ <net-libs/libeXosip-4
+ >=net-libs/libsoup-2.26
+ >=net-libs/ortp-0.20.0
+ <net-libs/ortp-0.22.0
+ gtk? (
+ dev-libs/glib:2
+ >=gnome-base/libglade-2.4.0:2.0
+ >=x11-libs/gtk+-2.4.0:2
+ x11-libs/libnotify
+ )
+ gsm-nonstandard? ( =media-libs/mediastreamer-2.8*[gsm] )
+ ncurses? (
+ sys-libs/readline:=
+ sys-libs/ncurses
+ )
+ ssl? ( dev-libs/openssl:= )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-text/sgmltools-lite )
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )
+"
+
+IUSE_LINGUAS=" fr it de ja es pl cs nl sv pt_BR hu ru zh_CN"
+IUSE="${IUSE}${IUSE_LINGUAS// / linguas_}"
+
+pkg_setup() {
+ if ! use gtk && ! use ncurses ; then
+ ewarn "gtk and ncurses are disabled."
+ ewarn "At least one of these use flags are needed to get a front-end."
+ ewarn "Only liblinphone is going to be installed."
+ fi
+
+ strip-linguas ${IUSE_LINGUAS}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nls.patch \
+ "${FILESDIR}"/${P}-automake-1.13.patch
+ # remove speex check, avoid bug when mediastreamer[-speex]
+ sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed"
+
+ # variable causes "command not found" warning and is not
+ # needed anyway
+ sed -i -e 's/$(ACLOCAL_MACOS_FLAGS)//' Makefile.am || die
+
+ # fix path to use lib64
+ sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \
+ || die "patching configure.ac failed"
+
+ # removing bundled libs dir prevent them to be reconf
+ rm -rf mediastreamer2 oRTP || die "should not die"
+ sed -i -e "s:oRTP::;s:mediastreamer2::" Makefile.am \
+ || die "patching Makefile.am failed"
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ # we don't want -Werror
+ --disable-strict
+ # don't bundle libs
+ --enable-external-ortp
+ --enable-external-mediastreamer
+ # seems not used, TODO: ask in ml
+ --disable-truespeech
+ --disable-zrtp
+ $(use_enable doc manual)
+ $(use_enable gsm-nonstandard nonstandard-gsm)
+ $(use_enable gtk gtk_ui)
+ $(use_enable ipv6)
+ $(use_enable ncurses console_ui)
+ $(use_enable nls)
+ $(use_enable video)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161
+ dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
+ pax-mark m "${ED}usr/bin/linphone"
+}
diff --git a/net-voip/linphone/linphone-3.6.1.ebuild b/net-voip/linphone/linphone-3.6.1.ebuild
new file mode 100644
index 000000000000..0651a889417b
--- /dev/null
+++ b/net-voip/linphone/linphone-3.6.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils multilib pax-utils versionator
+
+DESCRIPTION="Video softphone based on the SIP protocol"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz
+ https://dev.gentoo.org/~hasufell/distfiles/${P}-exosip-4.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]?
+IUSE="assistant doc gsm-nonstandard gtk ipv6 libnotify ncurses nls sqlite ssl tools upnp video"
+
+RDEPEND="
+ >=media-libs/mediastreamer-2.9.0[ipv6?,upnp?,video?]
+ >=net-libs/libeXosip-4.0.0
+ >=net-libs/libosip-4.0.0
+ >=net-libs/ortp-0.22.0
+ virtual/udev
+ gtk? (
+ dev-libs/glib:2
+ >=gnome-base/libglade-2.4.0:2.0
+ >=x11-libs/gtk+-2.4.0:2
+ assistant? ( >=net-libs/libsoup-2.26 )
+ libnotify? ( x11-libs/libnotify )
+ )
+ gsm-nonstandard? ( >=media-libs/mediastreamer-2.9.0[gsm] )
+ ncurses? (
+ sys-libs/readline:0
+ sys-libs/ncurses
+ )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0 )
+ tools? ( dev-libs/libxml2 )
+ upnp? ( net-libs/libupnp )
+ video? ( >=media-libs/mediastreamer-2.9.0[v4l] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-text/sgmltools-lite )
+ nls? ( dev-util/intltool )
+"
+
+IUSE_LINGUAS=" fr it de he ja es pl cs nl sr sv pt_BR hu ru zh_CN"
+IUSE="${IUSE}${IUSE_LINGUAS// / linguas_}"
+
+pkg_setup() {
+ if ! use gtk && ! use ncurses ; then
+ ewarn "gtk and ncurses are disabled."
+ ewarn "At least one of these use flags are needed to get a front-end."
+ ewarn "Only liblinphone is going to be installed."
+ fi
+
+ strip-linguas ${IUSE_LINGUAS}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nls.patch \
+ "${DISTDIR}"/${P}-exosip-4.patch
+
+ # variable causes "command not found" warning and is not
+ # needed anyway
+ sed -i \
+ -e 's/$(ACLOCAL_MACOS_FLAGS)//' Makefile.am || die
+
+ # fix path to use lib64
+ sed -i \
+ -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \
+ || die "patching configure.ac failed"
+
+ # removing bundled libs dir prevent them to be reconf
+ rm -r mediastreamer2 oRTP || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable doc manual)
+ $(use_enable nls)
+ --disable-static
+ $(use_enable ncurses console_ui)
+ $(use_enable tools)
+ $(use_enable upnp)
+ $(use_enable gtk gtk_ui)
+ $(use_enable libnotify notify)
+ $(use_enable ipv6)
+ --disable-truespeech
+ $(use_enable gsm-nonstandard nonstandard-gsm)
+ $(use_enable ssl)
+ --disable-speex
+ # seems not used, TODO: ask in ml
+ $(use_enable video)
+ --disable-zrtp
+ $(usex gtk "$(use_enable assistant)" "--disable-assistant")
+ # we don't want -Werror
+ --disable-strict
+ # don't bundle libs
+ --enable-external-mediastreamer
+ $(use_enable sqlite msg-storage)
+ --enable-external-ortp
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161
+ dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
+ pax-mark m "${ED%/}/usr/bin/linphone"
+}
diff --git a/net-voip/linphone/metadata.xml b/net-voip/linphone/metadata.xml
new file mode 100644
index 000000000000..de12a8b0d04d
--- /dev/null
+++ b/net-voip/linphone/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
+ <use>
+ <flag name="assistant">Turn on assistant compiling
+ (needs gtk enabled)</flag>
+ <flag name="gsm-nonstandard">Support non-standard GSM frequencies
+ </flag>
+ <flag name="sqlite">Turn on compilation of message storage</flag>
+ <flag name="tools">Compile tools</flag>
+ <flag name="video">Enable video support (display/capture)</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-voip/metadata.xml b/net-voip/metadata.xml
new file mode 100644
index 000000000000..10c52fd5b6a1
--- /dev/null
+++ b/net-voip/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The net-voip category contains packages related to Voice-over-IP
+ </longdescription>
+ <longdescription lang="es">
+ La categoría net-voip contiene paquetes relacionados con Voz sobre
+ IP.
+ </longdescription>
+</catmetadata>
+
diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest
new file mode 100644
index 000000000000..7f6828547377
--- /dev/null
+++ b/net-voip/openmcu/Manifest
@@ -0,0 +1,9 @@
+AUX openmcu-2.2.1-path.patch 2321 SHA256 693d1de2c3ec86742230a044925263189b08d7d32e6ac10ce73826b4cb51eb66 SHA512 9a18d10ff604459aae8b5256cf34908f046691e4ec4d9f3d4a92e5423a78d50473069a29f1a51e03f528fdff73f16c24832d9fa24c074641b06424fd996336df WHIRLPOOL 494d3ac0106212a0412c5bd6a7e4a9366809bc03d18518fc141262e08edfaddd6cae08759e31b16d0cbfb7f5669591ced68a9ed1e37bb64636cda2c5a426640f
+AUX openmcu.confd 167 SHA256 c4aed01e17744f3176caddc1740bae8bff1558f2da2255ef0a66793d8c6b3acc SHA512 d89a3ca06313c972363a9a7d935cb16902233677262b903962970ad6f9f5bae6c2752e02e073064f27333cc4c73b7c751e4aeef1d3555b2408b60ae9ef94b686 WHIRLPOOL a301990fc3237215fba46ca37a5e11b35d8f4285585d76681c5a0e87d1f1029e1100798a455d4b641ab80339640823f257962b4104914aec29a3d200094fd55d
+AUX openmcu.ini 398 SHA256 5ee5bf6327fa286b847d7d8d5ccd6bfb3effc1a20f82ebfda3a6be35d521a5fe SHA512 2ce9468386b71f7fb37c633e9de083796a61262ace4b83b85490365b8d133af94f9bc53680c44996a9f0b7350e4ad0ccfb2ef387ede2ae3b55a0ef7ad6da9de4 WHIRLPOOL 12c192d651aa797e46b042ce5942c84ed6cf384dad2387364d6fbfac4c4e0028105192174d50de32f70924e117ce122c7a1d6f61305d69fb5b6fe5028e621694
+AUX openmcu.rc6 538 SHA256 7d5bb301124be2bd9dfbc101c8b931d96405bf91e726218172efcfec45cd0c83 SHA512 91b341ded3e1b98e9004ff877f2b1fad0aafa30d03b3f63896afcf876e77064e8a78551a93c025936f540ad1727510f6de2db51519104ca8686e755b459ef10f WHIRLPOOL c511f14dc39c394d83b33a1280781c490c13f2059a55243dec023092b8b2aa0db6af941875ed80bcbfdab3d454ecd5d5e16e7977b040dad7233d0355e34e22be
+DIST h323plus-app-v1_23_0.tar.gz 610103 SHA256 faff110e5d23d5578da9d9126581d3a6001338c0dfcb051925e83e1a513e91b2 SHA512 cdb9c587cc857c64440fc9f9d8e1a08e2c9ae00c2070a8d4678e65ca951124c1b4423c24cf795c3f810bd4694f05536b981ca20377755a2c19908de56498dbd0 WHIRLPOOL 462fcc4dcb19d0b4e48967b9d5f6c6676a7c7023472bd28cffe26307a59a5bc33cccd0d1d79acae9fcdd808e0e423f07ada5208c976752df422ae9e31e7a4255
+EBUILD openmcu-2.2.5-r1.ebuild 1493 SHA256 64593ae0f01494ef0ec43845e2704f509e2101cacee9d8ca11dda728884a8063 SHA512 6e3bd1263966e0b53b000c3652559b1ed9d786fb8bfde35b8a4c6f0020ccf6303ae8f1c855261e479e929fe5ab737297790e1d35076b9acca716dba426add042 WHIRLPOOL a6a2d1be4db5ac90353f2321a2dd7ad3626392470e6c82b96ca7c89ec2c7b51a2b21f83399df9a6d8f7da379fbab8c76f444c03e61aba761b0587b174994e178
+MISC ChangeLog 3132 SHA256 90419af499dd22bb1643f301e729918bd8cbd31017aafcd6f47a97653624383e SHA512 3d05e3930dfe0a4c942856df3b683090e4005476d7827d9aaccbc34bc080a7380e99a4cf15ac1b7e726a6af5c0c8d65bc27d4b1392f0b8e8d954107d6d8cf589 WHIRLPOOL c65ecf7fa59a17f29ac0c5ccf053bc636d36a47d0cc41ee2c695d3e9373b95b285312cdf2245d687d0e648f613233546ac5e522effc71d7d659ad0dccefb6d59
+MISC ChangeLog-2015 2430 SHA256 28af74454fd278e741686aeb1ad26bd3ffa3ff82deed3e4fe858eee66366445f SHA512 a63918b31bce16eddc9de19eb0313911a4bff5f8b13df8d41fc0591cd6b7e8f45a78e7628edf768f26d4fa1e62342bee81e49fad70116958a9d314c0fff49778 WHIRLPOOL 76f899c25ba3eaf894a8ce03668ccbc1d6f1061b04370b39781254172d6ad613e339425ab01bc39b60d9125b7bb53b9aa081bae8aa96d714df5d3753da802a5c
+MISC metadata.xml 245 SHA256 16c2d09a8c41ccac448d2d8f5ca14a8fb12f4172d857d27fa2eb6ecbb3152600 SHA512 38267c382aa98b4e5deb5e81d8ce7edf8cba90ce141bda4176ae8a9e31d4a285e8ebd1f50ce4640509aa7f3ee15d4fe6d9c96cac2c4ca479996407374128cf6d WHIRLPOOL 029d12a1d3c3926ec29e28aa31efec5974ccee35ddf7417eaa8f661ddd6fc9ba9cd93fb70c5cdd0f7f598430895d3094d3ef41049874a51d1336599920d276c6
diff --git a/net-voip/openmcu/files/openmcu-2.2.1-path.patch b/net-voip/openmcu/files/openmcu-2.2.1-path.patch
new file mode 100644
index 000000000000..48ae0364a8c6
--- /dev/null
+++ b/net-voip/openmcu/files/openmcu-2.2.1-path.patch
@@ -0,0 +1,48 @@
+diff -u openmcu_v2_2_1.orig/main.cxx openmcu_v2_2_1/main.cxx
+--- openmcu_v2_2_1.orig/main.cxx 2006-06-09 00:39:59.000000000 -0400
++++ openmcu_v2_2_1/main.cxx 2009-02-10 23:09:49.000000000 -0500
+@@ -54,9 +54,9 @@
+ #include <ptlib.h>
+ #include "mcu.h"
+
+-static const char DefaultConnectingWAVFile[] = "connecting.wav";
+-static const char DefaultEnteringWAVFile[] = "entering.wav";
+-static const char DefaultLeavingWAVFile[] = "leaving.wav";
++static const char DefaultConnectingWAVFile[] = "/usr/share/openmcu/sounds/connecting.wav";
++static const char DefaultEnteringWAVFile[] = "/usr/share/openmcu/sounds/entering.wav";
++static const char DefaultLeavingWAVFile[] = "/usr/share/openmcu/sounds/leaving.wav";
+
+ static const char ConnectingWAVFileKey[] = "Connecting WAV File";
+ static const char EnteringWAVFileKey[] = "Entering WAV File";
+diff -u openmcu_v2_2_1.orig/mcu.cxx openmcu_v2_2_1/mcu.cxx
+--- openmcu_v2_2_1.orig/mcu.cxx 2006-07-14 01:28:01.000000000 -0400
++++ openmcu_v2_2_1/mcu.cxx 2009-02-10 23:11:43.000000000 -0500
+@@ -83,7 +83,7 @@
+ static const char DefaultRoomKey[] = "Default room";
+ static const char DefaultRoomTimeLimitKey[] = "Room time limit";
+
+-static const char DefaultCallLogFilename[] = "mcu_log.txt";
++static const char DefaultCallLogFilename[] = "/var/log/openmcu/openmcu.log";
+ static const char DefaultRoom[] = "room101";
+
+ #if OPENMCU_VIDEO
+@@ -154,8 +154,8 @@
+ #endif
+ exeDir.Change();
+
+- httpNameSpace.AddResource(new PHTTPDirectory("data", "data"));
+- httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "html"));
++ httpNameSpace.AddResource(new PHTTPDirectory("data", "/usr/share/openmcu/data"));
++ httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "/usr/share/openmcu/html"));
+
+ manager = CreateConferenceManager();
+ endpoint = CreateEndPoint(*manager);
+@@ -229,7 +229,7 @@
+
+ #if P_SSL
+ // SSL certificate file.
+- PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "server.pem");
++ PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "/etc/openmcu/server.pem");
+ rsrc->Add(new PHTTPStringField(HTTPCertificateFileKey, 25, certificateFile));
+ if (!SetServerCertificate(certificateFile, TRUE)) {
+ PSYSTEMLOG(Fatal, "MCU\tCould not load certificate \"" << certificateFile << '"');
diff --git a/net-voip/openmcu/files/openmcu.confd b/net-voip/openmcu/files/openmcu.confd
new file mode 100644
index 000000000000..59b42a260c91
--- /dev/null
+++ b/net-voip/openmcu/files/openmcu.confd
@@ -0,0 +1,5 @@
+#/etc/conf.d/openmcu.confd
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+OPTIONS="-u openmcu -g openmcu"
diff --git a/net-voip/openmcu/files/openmcu.ini b/net-voip/openmcu/files/openmcu.ini
new file mode 100644
index 000000000000..7dbdac551989
--- /dev/null
+++ b/net-voip/openmcu/files/openmcu.ini
@@ -0,0 +1,13 @@
+[Parameters]
+Password=i9Vp7LN+X5Y=
+Log Level=2
+HTTP Certificate=/etc/openmcu/server.pem
+HTTP Port=1420
+Gatekeeper Mode=No gatekeeper
+Interface Array Size=0
+Default room=room101
+Connecting WAV File=/usr/share/openmcu/sounds/connecting.wav
+Entering WAV File=/usr/share/openmcu/sounds/entering.wav
+Leaving WAV File=/usr/share/openmcu/sounds/leaving.wav
+Call log filename=/var/log/openmcu/mcu_log.txt
+
diff --git a/net-voip/openmcu/files/openmcu.rc6 b/net-voip/openmcu/files/openmcu.rc6
new file mode 100644
index 000000000000..a62d80994db5
--- /dev/null
+++ b/net-voip/openmcu/files/openmcu.rc6
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting H.323 Conferencing service"
+ start-stop-daemon --start --quiet --pidfile /var/run/openmcu/openmcu.pid \
+ --exec /usr/sbin/openmcu -- ${OPTIONS} -d -p /var/run/openmcu/openmcu.pid -i /etc/openmcu/openmcu.ini
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping H.323 Conferencing service"
+ start-stop-daemon --stop --quiet --pidfile /var/run/openmcu/openmcu.pid
+ eend $?
+}
diff --git a/net-voip/openmcu/metadata.xml b/net-voip/openmcu/metadata.xml
new file mode 100644
index 000000000000..26e6909bbf92
--- /dev/null
+++ b/net-voip/openmcu/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-needed -->
+ <upstream>
+ <remote-id type="sourceforge">h323plus</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
new file mode 100644
index 000000000000..9b9df4d15bbf
--- /dev/null
+++ b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user
+
+MY_PN=h323plus-app
+MY_PV=1_23_0
+DESCRIPTION="Simple Multi Conference Unit using H.323"
+HOMEPAGE="http://www.h323plus.org/"
+SRC_URI="mirror://sourceforge/h323plus/${MY_PN}-v${MY_PV}.tar.gz"
+
+LICENSE="MPL-1.0 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/ptlib:=
+ net-libs/h323plus:="
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/applications/${PN}
+
+src_prepare() {
+ # set path for various files
+ eapply "${FILESDIR}"/${PN}-2.2.1-path.patch
+
+ default
+}
+
+src_compile() {
+ emake OPENH323DIR=/usr/share/openh323
+}
+
+src_install() {
+ dosbin obj_*_*_*/${PN}
+
+ keepdir /usr/share/${PN}/data /usr/share/${PN}/html
+
+ # needed for daemon
+ keepdir /var/log/${PN} /var/run/${PN}
+
+ insinto /usr/share/${PN}/sounds
+ doins *.wav
+
+ insinto /etc/${PN}
+ doins server.pem
+ doins "${FILESDIR}"/${PN}.ini
+
+ doman ${PN}.1
+
+ dodoc ReadMe.txt
+
+ newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
+
+pkg_preinst() {
+ enewgroup openmcu
+ enewuser openmcu -1 -1 /dev/null openmcu
+}
+
+pkg_postinst() {
+ einfo "Setting permissions..."
+ chown -R openmcu:openmcu "${ROOT}"etc/openmcu
+ chmod -R u=rwX,g=rX,o= "${ROOT}"etc/openmcu
+ chown -R openmcu:openmcu "${ROOT}"var/{log,run}/openmcu
+ chmod -R u=rwX,g=rX,o= "${ROOT}"var/{log,run}/openmcu
+
+ echo
+ elog "This patched version of openmcu stores it's configuration"
+ elog "in \"/etc/openmcu/openmcu.ini\""
+}
diff --git a/net-voip/telepathy-gabble/Manifest b/net-voip/telepathy-gabble/Manifest
new file mode 100644
index 000000000000..044721a00084
--- /dev/null
+++ b/net-voip/telepathy-gabble/Manifest
@@ -0,0 +1,6 @@
+AUX telepathy-gabble-0.18.4-build-fix-no-jingle.patch 774 SHA256 adbd53d01e4e5ee272947c7b6aac5cd491342fd6fce80414ed1881a9d93f99f8 SHA512 e1d2dc3b13ebfb24dab5c73ba9dd930f1ff61a443311dbfb3526a3474bfba96934b24e48c8b098216e8c205c4835143c891697c23b328a6541a72683d4864e11 WHIRLPOOL 3865a42e54f251cd4b46434c4b07dc2b50f6c3816dd79b232de07e4726af2d1597f236846649d788344c9618900cd02ba3049d4f2ae3b978d076055291e7aabc
+DIST telepathy-gabble-0.18.4.tar.gz 2584311 SHA256 115c91572c72d4a40f0b25b606167b4f2f09441dc7bf1036ccbb1450f1a4969c SHA512 4303f1da7eeadf1f0e69fa881cd8b08dc41f4fd061df3f2ecdc80735d8be3e8cf24d8482f265f1858d8dfed71f62e8bc02c13f9525db8d21c9d927e25fa66218 WHIRLPOOL 882b2aee87abdcf6e404e4a42bb3e3c8d4e8ecc1263deb38c2479455b3a08b58d70ddfb421c6942fb2551dde0a3fcf21e799ad6db6df22a5c0dcfc9fc7ec8d03
+EBUILD telepathy-gabble-0.18.4.ebuild 2361 SHA256 75486da3016058281de12946930c68e7d86215a357ccb5263ad6742ea7fad674 SHA512 c0ce651f7b71ceb6fdd908e73b65e42585929b384dec7fb1abdc4ccf65f8eb9ddf375089453e8de1ba3cddf04817f0823d9e76b20982633baa56d6e67af9b80b WHIRLPOOL 6a0881f58f72391ee4af6174ea5b99b24b2c01d8def6563ada30c46e419838e69eaa91f15e6a15b93200612cb994f605564f3aac3a91a185c37243380ec471ea
+MISC ChangeLog 3650 SHA256 b80b2398c2dd7bb0550bce4e1e368f77a24387e91355117ffb810f057d4ea626 SHA512 d047e10e0684aa48da44a6208c084670e91a72f7872e2eeb94764c0510f6aa136e44824b754a77aa4d543da2e7f0add75e825f4787c337d017067e1169bc78a3 WHIRLPOOL f1532a580d3bf3d8e0e719bcffcddeec5514a18761f069d5d5b63295e88ab0496701356759b7fbdef9223667ed73aa7128b29275326b277f6246c8426f780745
+MISC ChangeLog-2015 23108 SHA256 310f2861db9c5d6851e4e1e014fa3b3f0d30b7bf44ef2238aa451ece233a3cf2 SHA512 8c523e88b5316da3b1d68c3fb7e4aa5ef097e3b53103198b78e38999ca189b9957b402005b809fbfdd2bfbcfa09f2a3f6157c5c91309fda28b9834803f81a499 WHIRLPOOL d0f1fe6ca999033d93ea1414cfe80a3ebe3b93f2ce9e1e700c44407332d4817cc384fa64609e1af015319f09fdca5194c5ceba9b48f102262cf5030b173a1050
+MISC metadata.xml 314 SHA256 ea119c6b0ff80214f0acaf6542293e5cd7a23b5d20d01e39825aa955538861f6 SHA512 ba54eb3b051b150337d298257eed95007ac3f27ac94850dd7c6b5d4a16014cc89ee08477e4e76e3220e003d6d3c705a7c71aeb9f80e4324df62218eb16e69297 WHIRLPOOL 054f0b98f71b93e3f42833d432a90477ef52525f6444fa8a60eed38a16a95075338035bb06d28e0ff776fac96073c7b049ecd9f16380f53e0efa34ee3befd522
diff --git a/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch b/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch
new file mode 100644
index 000000000000..6d25cde8f527
--- /dev/null
+++ b/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch
@@ -0,0 +1,29 @@
+From 8801beb5b64952fad15ff0c316bf1eddbde20ba9 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sat, 2 Sep 2017 18:23:10 +0200
+Subject: [PATCH] Add missing VOIP ifdef guards
+
+Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=523230
+---
+ src/muc-channel.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/muc-channel.c b/src/muc-channel.c
+index c0a27a490..9f6e01167 100644
+--- a/src/muc-channel.c
++++ b/src/muc-channel.c
+@@ -1647,9 +1647,11 @@ gabble_muc_channel_can_be_closed (GabbleMucChannel *chan)
+ if (g_hash_table_size (priv->tubes) > 0)
+ return FALSE;
+
++#ifdef ENABLE_VOIP
+ if (priv->calls != NULL || priv->call_requests != NULL
+ || priv->call_initiating)
+ return FALSE;
++#endif
+
+ return TRUE;
+ }
+--
+2.14.1
+
diff --git a/net-voip/telepathy-gabble/metadata.xml b/net-voip/telepathy-gabble/metadata.xml
new file mode 100644
index 000000000000..17736cf844e8
--- /dev/null
+++ b/net-voip/telepathy-gabble/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+<use>
+ <flag name="plugins">Enable plugin loader</flag>
+</use>
+</pkgmetadata>
diff --git a/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild b/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild
new file mode 100644
index 000000000000..b6a3ce07eea8
--- /dev/null
+++ b/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+# Python is used during build for some scripted source files generation (and twisted tests)
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2 python-any-r1
+
+DESCRIPTION="A XMPP connection manager, handles single and multi user chats and voice calls"
+HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux"
+IUSE="gnutls +jingle plugins test"
+
+# Prevent false positives due nested configure
+QA_CONFIGURE_OPTIONS=".*"
+
+# FIXME: missing sasl-2 for tests ? (automagic)
+# missing libiphb for wocky ?
+# x11-libs/gtksourceview:3.0 needed by telepathy-gabble-xmpp-console, bug #495184
+# Keep in mind some deps or higher minimum versions are in ext/wocky/configure.ac
+RDEPEND="
+ >=dev-libs/glib-2.44:2
+ >=sys-apps/dbus-1.1.0
+ >=dev-libs/dbus-glib-0.82
+ >=net-libs/telepathy-glib-0.19.9
+
+ dev-libs/libxml2
+ dev-db/sqlite:3
+
+ gnutls? ( >=net-libs/gnutls-2.10.2 )
+ !gnutls? ( >=dev-libs/openssl-0.9.8g:0[-bindist] )
+ jingle? (
+ >=net-libs/libsoup-2.42
+ >=net-libs/libnice-0.0.11 )
+ plugins? ( x11-libs/gtksourceview:3.0[introspection] )
+
+ !<net-im/telepathy-mission-control-5.5.0
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-util/gtk-doc-am-1.17
+ dev-libs/libxslt
+ virtual/pkgconfig
+"
+# Twisted tests fail if bad ipv6 setup, upstream bug #30565
+# Random twisted tests fail with org.freedesktop.DBus.Error.NoReply for some reason
+# pygobject:2 is needed by twisted-17 for gtk2reactor usage by gabble
+#test? (
+# dev-python/pygobject:2
+# || (
+# >=dev-python/twisted-16.0.0
+# ( >=dev-python/twisted-core-0.8.2
+# >=dev-python/twisted-words-0.8.2
+# >=dev-python/dbus-python-0.83
+# ) )
+#)
+
+PATCHES=(
+ # Fix build with USE=-jingle, bug #523230
+ "${FILESDIR}"/${P}-build-fix-no-jingle.patch
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-coding-style-checks \
+ --disable-static \
+ --disable-Werror \
+ --enable-file-transfer \
+ $(use_enable jingle voip) \
+ $(use_enable jingle google-relay) \
+ $(use_enable plugins) \
+ --with-tls=$(usex gnutls gnutls openssl)
+}
+
+src_test() {
+ # This runs only C tests (see tests/README):
+ emake -C tests check-TESTS
+}
diff --git a/net-voip/telepathy-haze/Manifest b/net-voip/telepathy-haze/Manifest
new file mode 100644
index 000000000000..914f3a4b09d5
--- /dev/null
+++ b/net-voip/telepathy-haze/Manifest
@@ -0,0 +1,9 @@
+AUX telepathy-haze-0.8.0-crash.patch 878 SHA256 6e1f59cc9e09b2b4dcd63cd5d4f4fa0bc52f72572c0408b733b0305be70018bc SHA512 d771595854732754352c9b740678d9bfcaa1a34e0096b7ce51ac42b1f022ae836809f3aeefddf6bf09e03c9c742ee21c2974e6cd2e662b88ab102b280c72e468 WHIRLPOOL beef3a63ba75d203d214553ffa99785f8b089458fd67354d407be5504641988f39c0cd6456e0b4bd64cea230cbee1df3b39a58de8de94ad31a37d31fe2b02205
+AUX telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch 707 SHA256 9efff2e72b0752ab0ac35cfbc0186bf0b2e6781a5cd68901c14131e7817cc5f9 SHA512 bfe7a8a443ed832c2db33a5d69ae29e489b2f697256f4698224378aad2f103b7a4babe7c1d150c8561b47e999325065b7cdb35b1a696a67aeddf58fdbf321543 WHIRLPOOL 9929d2d99bffec00ff21a01c16ba00f9c09583f62dc24dbb2be622e6b7d4063040757ba43d83620c1d4105c5f7f9e819f21a677af2b2ce365caa4c19b518ede8
+DIST telepathy-haze-0.8.0.tar.gz 580929 SHA256 3e76049c05f2cd5900c5c0c1cfebdf7ae79eec987a599f1090946673c5b8f9c9 SHA512 2739b37b1f95f0996b423c0883f369e1283363e39cb1b0566e2573f3cebdab0530ffd1d4d515202e300407029227b75b4e8c459167d584000405fda2d070699d WHIRLPOOL 671e6959c2c2584663ebc50cb5232f1c4d64fa26505fe0c83fb85f82143c43c40185c7c1c0a00ba8e65ab47bcadb45fdd502ffc0c9d86831196d55404c13739a
+EBUILD telepathy-haze-0.8.0-r1.ebuild 1105 SHA256 597d5a99ebe7898644b491c115a4efe1cf9ca5a2e789154da30bdc4b969046ea SHA512 50c2ca808c55e750751f3c8c7b418927d84dc49f0c936378f3d4aa90d3a9a25e34c7a367c31fcdddfc5ebe3479b58419424012c75d9fe0128aeeb603012c721e WHIRLPOOL 04de9221abda3848fc7ad28fc69c7ec7a0f4f79c26b3581557aed47d08617467f8745deb5879c11a723458d393a1fac1925565435250f6aaebf6d97e403900dd
+EBUILD telepathy-haze-0.8.0-r2.ebuild 1353 SHA256 d640aac01739a7caa28d62f550147b9da4e5b47b07dc1fd7f19a9ead36ec66b9 SHA512 3f06dc96608c8b2f502656747644ea1b580d97f5c2bbf310beb5da2995455e7ef14b00b89bdc6d87ebe0318c557053b0fc35d4ceb7bd985f8f4cd4175abccab0 WHIRLPOOL 6f0d4af34e82d5d72619165891663f038bb181cdfd28b5df46b6814502270296f29862f9dc1cf750ab62f879b3eb8a11ec82281ca98a903eb0b9cf8eaa1e18ae
+EBUILD telepathy-haze-0.8.0.ebuild 836 SHA256 c54586fc5e35c7c55a060659625ecfdbdb949fd91a8dcd12e90735b37a35137f SHA512 2a2c9b0f9d6fcad2b213607a9f2faf14607b38fad04643420d77c6e3a7668f149b575464efc04a84b3de06d9c597363c52630754a1f8874bb5b0c474606c727b WHIRLPOOL 15204af94c3be7fc1c94e07820be337d47aeca239e46bc82f3b3729fbcd8f642306cc478ec0239db4ec54f05628e96877f95bda5d5953b897d8214e88cd950e5
+MISC ChangeLog 3982 SHA256 7fc6d0bac0628713bc1ab45982e3928aacba03359c50a74725e4058af9b28172 SHA512 85af97a160eba26c8b33c46b4a34af163cbb1a7bdcecd761bbbef37374ac3056aa632cc6395bd39da5682a615d42ace9cbf6cb4be33d899f33876c175838b063 WHIRLPOOL 2a9cc28876f5df699c66c8f5e4173c062143e49ebef726b3d2befa454cfd57afecc7db8cdd65ecd634d6c739b231d94e88af1f8512fd8eaf175afb57933169f1
+MISC ChangeLog-2015 7194 SHA256 dc6090d5ec3938b77cf246d619aef7f013b8a718185dc56f55fdfc8f2e94400d SHA512 dee29490138882cbb8a0eaa992c016cc271ca8d66ac6ad01de02df5c148fc3fe81c2303d10d01ca0118d58be75923788029f6df109c2a72f05a80eea669b6cca WHIRLPOOL 292aa4f9bab1857619650497a3a80af5889d5eee7f302e3b67e381aaa3092e4f4bde6831ca048c3045e4c9f0e169e2f66390807ea6fa110c01a27cb640492823
+MISC metadata.xml 397 SHA256 2fad1c5d8200ce1a205a1a59f274328e4e375be6e3c94f5111cf9d9c6395113e SHA512 c66690b8c7673833eff4cc785e913e16c26eeaaf23bf7cc946f6022e548e24ecc0ee14a1ca14c54b9e15b301dcf25b472e5dbbc406ed614fabea9962f928c3d0 WHIRLPOOL 2c7266f9eac19b1dfb66a3aa7d6321a3174c6de7e5c771ad81902503d823450700796da302b1dbf486d75a8baa2a27fecef43473a28d200555a4ae1e573ebcab
diff --git a/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch
new file mode 100644
index 000000000000..2c480bbd746c
--- /dev/null
+++ b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch
@@ -0,0 +1,28 @@
+From 83589722731dde63118104f75c9ab89f66b21c21 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@freedesktop.org>
+Date: Tue, 28 Apr 2015 19:13:39 +0200
+Subject: [PATCH] contact-list: Don't crash if a contact is already in the
+ roster
+
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47005
+---
+ src/contact-list.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/contact-list.c b/src/contact-list.c
+index fc46de8..710ed19 100644
+--- a/src/contact-list.c
++++ b/src/contact-list.c
+@@ -532,7 +532,8 @@ haze_contact_list_request_subscription (HazeContactList *self,
+ /* If the buddy already exists, then it should already be on the
+ * subscribe list.
+ */
+- g_assert (purple_find_buddy (account, bname) == NULL);
++ if (purple_find_buddy (account, bname) != NULL)
++ return;
+
+ buddy = purple_buddy_new (account, bname, NULL);
+
+--
+2.1.0
+
diff --git a/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch
new file mode 100644
index 000000000000..9785debec9ab
--- /dev/null
+++ b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch
@@ -0,0 +1,22 @@
+--- a/src/media-stream.c
++++ b/src/media-stream.c
+@@ -23,6 +23,7 @@
+ #include "config.h"
+ #include "media-stream.h"
+
++#include <libpurple/version.h>
+ #include <libpurple/media/backend-iface.h>
+ #include <string.h>
+ #include <telepathy-glib/dbus.h>
+@@ -1076,7 +1077,11 @@ haze_media_stream_new_native_candidate (
+ if (proto == TP_MEDIA_STREAM_BASE_PROTO_UDP)
+ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_UDP;
+ else if (proto == TP_MEDIA_STREAM_BASE_PROTO_TCP)
++#if PURPLE_VERSION_CHECK (2, 10, 12)
++ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE;
++#else
+ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP;
++#endif
+ else
+ DEBUG ("Unknown network protocol");
+
diff --git a/net-voip/telepathy-haze/metadata.xml b/net-voip/telepathy-haze/metadata.xml
new file mode 100644
index 000000000000..ecb2f47e0c3d
--- /dev/null
+++ b/net-voip/telepathy-haze/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <longdescription lang="en">
+ Telepathy connection manager for protocols supported by
+ libpurple (pidgin's core library).
+ </longdescription>
+</pkgmetadata>
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..f1129cbc8855
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+#IUSE="test"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests failing, see upstream: https://bugs.freedesktop.org/34577
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ >=net-im/pidgin-2.7
+ >=net-libs/telepathy-glib-0.15.1[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# test? ( dev-python/twisted-words )"
+
+src_prepare() {
+ # contact-list: Don't crash if a contact is already in the roster
+ # (fixed in next version)
+ epatch "${FILESDIR}"/${P}-crash.patch
+
+ # Fix compat with newer pidgin versions, bug #572296
+ epatch "${FILESDIR}"/${P}-pidgin-2.10.12-compat.patch
+}
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild
new file mode 100644
index 000000000000..73c85e8f10e9
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-any-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=net-im/pidgin-2.7[dbus]
+ >=net-libs/telepathy-glib-0.15.1
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ test? (
+ || (
+ $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep 'dev-python/twisted-words[${PYTHON_USEDEP}]')
+ )
+ )
+"
+
+PATCHES=(
+ # contact-list: Don't crash if a contact is already in the roster
+ # (fixed in next version)
+ "${FILESDIR}"/${P}-crash.patch
+
+ # Fix compat with newer pidgin versions, bug #572296
+ "${FILESDIR}"/${P}-pidgin-2.10.12-compat.patch
+)
+
+python_check_deps() {
+ if use test ; then
+ has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
+ || has_version "dev-python/twisted-words[${PYTHON_USEDEP}]"
+ fi
+}
+
+src_prepare() {
+ default
+ # Disable failing test
+ sed -i 's|simple-caps.py||' -i tests/twisted/Makefile.{am,in} || die
+}
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild
new file mode 100644
index 000000000000..88570dc6ca76
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+#IUSE="test"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests failing, see upstream: https://bugs.freedesktop.org/34577
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ >=net-im/pidgin-2.7
+ >=net-libs/telepathy-glib-0.15.1[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# test? ( dev-python/twisted-words )"
diff --git a/net-voip/telepathy-rakia/Manifest b/net-voip/telepathy-rakia/Manifest
new file mode 100644
index 000000000000..d977ddeb110f
--- /dev/null
+++ b/net-voip/telepathy-rakia/Manifest
@@ -0,0 +1,5 @@
+DIST telepathy-rakia-0.8.0.tar.gz 659116 SHA256 1baebcd391e0ba199f2f6faa2c99b53ba03e732e80290827de5e42889473bda1 SHA512 5378e1a2909c4218cc9c6fecf0b01beff0b52fd40cc040a601090dbaae330b3506fc74dc5ae86e5f0c954dd3c41fd7ba4e5a294f8fc11d74aa6eb9025097e9ae WHIRLPOOL 43cab071e9df3a7428ce7d871e952f947584593063583615d10df0bdabafba00a8dc904aff22e7cff95a302d4b1eaf39f9dc6fd7df8b78b2dc9223a14fdcd35f
+EBUILD telepathy-rakia-0.8.0.ebuild 981 SHA256 d6fd4a772d3224815dad8601539e3a7e5b62f510269ba28969d3de768c882861 SHA512 8115223d676a687812fa3d47f21fc5dbe25bc076f867070845cef0bd16cd2cf679e1028bde6b87e5dd1987b5e6ea8efd9a2ebc3b1e0a4a30af7bb7b4b720072e WHIRLPOOL c9c82cf91d0e78aabf2a1572459d834970ef194bbfd3c11339611583592b9044b5ab8e7579a6f7a9fb91eecd810d6cd44b8e0b722a00f75f9478a34522deb63c
+MISC ChangeLog 3250 SHA256 d2d61bcefeb2a997faab6d8a4911b689a24bafefc84e87f87608c9413b673217 SHA512 82c4c8219402c5c510f747e41a2b1cda4536ef181b8b478df535ee7472d9bcbeb0d883855cd0abb952cb5803e7ee3a9ea688c434b5a004763ea512eec4fc6516 WHIRLPOOL 26ffb86659ef8b013f9b5488e0e8e8c41c17bde94574e639b9701d0c4ff34416af814dec7c69e351d7b9e0f36d0e94deef107c0054db0ea79ab91989fa856952
+MISC ChangeLog-2015 3151 SHA256 080d46940d6101a48d6af5dc056d277bae358cce006ee53c034079a1e1ae68be SHA512 9e31e7ac6d3928e693658677657033d75af92103066542a68ad44983a054064523b7c5e6cfb3f0abc8214ae366cd1974113fd6c159fab85bcd5a207dff04d4c3 WHIRLPOOL 3215b63b3332ba89f9cbfd08328547d2270d9b489172372b082b3b9cbed03ab6e532afbd236ea1945d2c13e258b3deab4df0449d0c71992eb01d9256516be6db
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/net-voip/telepathy-rakia/metadata.xml b/net-voip/telepathy-rakia/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/net-voip/telepathy-rakia/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>
diff --git a/net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild b/net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild
new file mode 100644
index 000000000000..47387a51f19e
--- /dev/null
+++ b/net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="A SIP connection manager for Telepathy based around the Sofia-SIP library"
+HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/dbus-glib-0.60
+ >=dev-libs/glib-2.30:2
+ >=net-libs/sofia-sip-1.12.11
+ >=net-libs/telepathy-glib-0.17.6
+ >=sys-apps/dbus-0.60
+"
+RDEPEND="${COMMON_DEPEND}
+ !net-voip/telepathy-sofiasip
+"
+# telepathy-rakia was formerly known as telepathy-sofiasip
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ test? ( dev-python/twisted-core )
+"
+# eautoreconf requires: gtk-doc-am
+
+src_configure() {
+ econf --disable-fatal-warnings
+}
diff --git a/net-voip/telepathy-salut/Manifest b/net-voip/telepathy-salut/Manifest
new file mode 100644
index 000000000000..1ce03e075cdc
--- /dev/null
+++ b/net-voip/telepathy-salut/Manifest
@@ -0,0 +1,7 @@
+AUX telepathy-salut-0.5.0-uninitialized.patch 496 SHA256 9f5c77d889880a070d7fee99c6177632f183a38a8b27c32b4761f6f0736ab3e5 SHA512 a6365b18b5c1f876c990ec4bbf522b2c8708ca73c201e9bac9447e3fc8d8979b3882c977e9393e34031ca2659b0519c841645280a03d11b4bac8e907db816ce9 WHIRLPOOL d5a6d35c95e1711328e799d0bb280dd4837804620a8227f865640ca25b1a5645d34915f870e1f83b8297197ad0f80e2acc4996a2c611c190b554f805e51408ef
+DIST telepathy-salut-0.8.1.tar.gz 1823482 SHA256 70b9108ac8b511b7688e1b580de4ddb8981603c3cbde01f287ef8f9cb708618e SHA512 34537ac9ce0b78015e184963ea79beaa7332ac11803f9683ff34577d9f0a14f7ed287aacb2c00059f2ff2f300c325a09a78a320e83d0a0031ad976da2c197a90 WHIRLPOOL 5f7124c5ffb870c12dd93e752f32a6382d28503e235cae7032b2ef35635bc50d992717bc924e009c4bcca944ca26a02950d37ebc95258dd7d47574375a12503a
+EBUILD telepathy-salut-0.8.1-r1.ebuild 1835 SHA256 e7c309e80426efc2c29d05264e749410e756ebdf667860fd6e4d2c5f5aec8916 SHA512 456f5068b7b70e89bdd00be8dda05e6b4103fe0fd7af75a502ee237cde7e5faf4c039acc678e66103fedb0191a8baa596725ab0d5f951bf9d8e9f5510bcc36de WHIRLPOOL b45af4885b8e93375863a94b6cfaf27325d54be229ad72384bd210c84988e0a70c0da8ecaec12aee83152a076f1d9c374d03c789f1a6f64dc58227c1649ab36f
+EBUILD telepathy-salut-0.8.1.ebuild 1503 SHA256 aefc95785a02b10aa8d060acf2e6863091fef897d1033aba1f996762cc5c806a SHA512 3090476a726d41a10546efe18c39d4425ba460bf1adf2efc7de523bb0d1ff01fca7712e2f8e77dd95263f0fd92dee05c91d30c40383b3eb969a21cad298037a0 WHIRLPOOL 2694e744bdf1778b608077a98743dd6c389f484ea24d7a69744ddab9a12a6ac3716adac6a3fd41cf443e54e28fe501c45c61a984467c6b9ccd8fad9064e05835
+MISC ChangeLog 3747 SHA256 f90bfc4fa39401927df715c5396071358009dac8d65e7d34548e32c76d3779f3 SHA512 9110fd295b47f605ad2e0f3d15dcf7419aea66921fa4f2fec62a6b253ec04331b85a71b3b092d276c751c8b3cc5cdd05947b7c11246a12394330d721a2cc2aac WHIRLPOOL db52921c7c521b96a4649aaf23b27921138dfd341737ef53183af9e233dfbe44ccb532c1ef3d03013bf59b2863a3aed92c3b09e84ff2718a93e081470b1679fd
+MISC ChangeLog-2015 8308 SHA256 3b8895a3bac3e9b0c7303a881e30fefa2f27686e844ea6bd7fd94c268ba10075 SHA512 c8d266801785279d44ce17410eab2dcb9bc6ef13ff6c3e5196dd2d8464e6e5d5e07748244c422d6b307cd28c843c6f90f29a90cc510f1b38dff0ebe612f072cd WHIRLPOOL ae45d3845c154e896d1bc67efdc928ef916ade653e9462c446b217bec387f95a9072ba8fbf651d283b99057a77cb0e2e1a170bd2b35ce53c3f0435381e13fad8
+MISC metadata.xml 468 SHA256 684d759ef91ffa0086037ed7ec82b21b230eaad2fd17ecf0f119ed809dbc257e SHA512 937c35bb0de62fd4a47e937123a16622806383ddc34e3ff1296791942a23fd81db4874c1b37cf2bbc69ece84ad37f9d36cebed328b55a633579712424eea2da0 WHIRLPOOL dc5e95cc8be1fb63b8b1d68a92ca007c705440b7113152da1a9f6d799af85243afece9ba5fafbfa8b4919f217f61115708e98a4975a89d42cdd57a91a51c3fa2
diff --git a/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch
new file mode 100644
index 000000000000..83723612dfc4
--- /dev/null
+++ b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/ext/wocky/wocky/wocky-sasl-scram.c b/lib/ext/wocky/wocky/wocky-sasl-scram.c
+index 7261956..c508196 100644
+--- a/lib/ext/wocky/wocky/wocky-sasl-scram.c
++++ b/lib/ext/wocky/wocky/wocky-sasl-scram.c
+@@ -523,7 +523,7 @@ scram_handle_server_final_message (WockySaslScram *self,
+ gchar *message,
+ GError **error)
+ {
+- gchar attr, *value = NULL;
++ gchar attr = 0, *value = NULL;
+
+ if (!scram_get_next_attr_value (&message, &attr, &value) && attr != 'v')
+ goto invalid;
diff --git a/net-voip/telepathy-salut/metadata.xml b/net-voip/telepathy-salut/metadata.xml
new file mode 100644
index 000000000000..c35aa8bef778
--- /dev/null
+++ b/net-voip/telepathy-salut/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>eva@gentoo.org</email>
+ <name>Gilles Dartiguelongue</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ A link-local XMPP connection manager for Telepathy.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild
new file mode 100644
index 000000000000..10baef9097d1
--- /dev/null
+++ b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-any-r1
+
+DESCRIPTION="A link-local XMPP connection manager for Telepathy"
+HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+IUSE="gnutls test"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.61
+ dev-libs/libxml2
+ >=dev-libs/glib-2.28:2
+ >=sys-apps/dbus-1.1.0
+ >=net-libs/telepathy-glib-0.17.1
+ >=net-dns/avahi-0.6.22[dbus]
+ net-libs/libsoup:2.4
+ sys-apps/util-linux
+ dev-db/sqlite:3
+ gnutls? ( >=net-libs/gnutls-2.10.2 )
+ !gnutls? ( >=dev-libs/openssl-0.9.8g:0[-bindist] )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ test? (
+ >=dev-libs/check-0.9.4
+ net-libs/libgsasl
+ || (
+ $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep 'dev-python/twisted-words[${PYTHON_USEDEP}]')
+ )
+ )
+"
+# FIXME: needs xmppstream python module
+# >=net-dns/avahi-0.6.22[python]
+
+PATCHES=(
+ # Fix uninitialized variable, upstream bug #37701
+ "${FILESDIR}"/${PN}-0.5.0-uninitialized.patch
+)
+
+python_check_deps() {
+ if use test ; then
+ has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
+ || has_version "dev-python/twisted-words[${PYTHON_USEDEP}]"
+ fi
+}
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ econf \
+ --disable-coding-style-checks \
+ --disable-plugins \
+ --disable-Werror \
+ --disable-static \
+ --disable-avahi-tests \
+ --docdir=/usr/share/doc/${PF} \
+ --with-tls=$(usex gnutls gnutls openssl)
+ #$(use_enable test avahi-tests)
+}
+
+src_install() {
+ MAKEOPTS+=" -j1" default # bug 413581
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild b/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild
new file mode 100644
index 000000000000..99d3cba79ec7
--- /dev/null
+++ b/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-any-r1
+
+DESCRIPTION="A link-local XMPP connection manager for Telepathy"
+HOMEPAGE="https://telepathy.freedesktop.org/wiki/CategorySalut"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ia64 ppc ~ppc64 sparc x86 ~x86-linux"
+IUSE="gnutls test"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.61
+ dev-libs/libxml2
+ >=dev-libs/glib-2.28:2
+ >=sys-apps/dbus-1.1.0
+ >=net-libs/telepathy-glib-0.17.1
+ >=net-dns/avahi-0.6.22[dbus]
+ net-libs/libsoup:2.4
+ sys-apps/util-linux
+ gnutls? ( >=net-libs/gnutls-2.10.2 )
+ !gnutls? ( >=dev-libs/openssl-0.9.8g:0[-bindist] )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ test? (
+ >=dev-libs/check-0.9.4
+ net-libs/libgsasl
+ dev-python/twisted-words )
+"
+# FIXME: needs xmppstream python module
+# >=net-dns/avahi-0.6.22[python]
+
+src_prepare() {
+ # Fix uninitialized variable, upstream bug #37701
+ epatch "${FILESDIR}/${PN}-0.5.0-uninitialized.patch"
+}
+
+src_configure() {
+ econf \
+ --disable-coding-style-checks \
+ --disable-plugins \
+ --disable-Werror \
+ --disable-static \
+ --disable-avahi-tests \
+ --docdir=/usr/share/doc/${PF} \
+ --with-tls=$(usex gnutls gnutls openssl)
+ #$(use_enable test avahi-tests)
+}
+
+src_install() {
+ MAKEOPTS+=" -j1" default # bug 413581
+ prune_libtool_files
+}
diff --git a/net-voip/vidyodesktop/Manifest b/net-voip/vidyodesktop/Manifest
new file mode 100644
index 000000000000..44b0fc2d8ec0
--- /dev/null
+++ b/net-voip/vidyodesktop/Manifest
@@ -0,0 +1,9 @@
+DIST VidyoDesktopInstaller-ubuntu-TAG_VD_3_6_3_017.deb 10024308 SHA256 99dfdaf061cedda8cefa379c92e0f1147fb2f09ea2ba931846b413119f5dc12e SHA512 dcf2e96c11fcf2fd99fb5d2c6315125ab6bbc6ddb41711d7f06a8b8e1f49646f99b6a60411784a0176c446c0c874922756c5f0f75b9fe30b11c16ca7b8a5d4c6 WHIRLPOOL 29357c2985a0e027fa6dc34a278a9ce1da99b73e7a2ec243b9cb09c3d3aa4821b064f805bf54fdd8457cc829e22c453170a3d20f5773576d1c11deb05fd78c7c
+DIST VidyoDesktopInstaller-ubuntu-TAG_VD_3_6_7_010.deb 10033570 SHA256 fdb5c1c403c324e67efeffa6aa0eb7b73ef5c443b12394c468aa7ac6b5aa6b74 SHA512 53676aae7715ca6eb60c9e4331209a4b192bf90664b1047edfa473c6a20943a5e87e0006e9e458ca36593530f1e96d10e6e2cc54f29ddd8eb10b898a3f68ed27 WHIRLPOOL cf3b091c890972de6edfa3cd4b15843e0a57949ee509d4eba0871d826966e8895dbb8bbf9c3a1187bb4e9e34bd02e66b31190c7a813c605ada9e6b2256a9388a
+DIST VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_3_017.deb 10485826 SHA256 9d2455dc29bfa7db5cf3ec535ffd2a8c86c5a71f78d7d89c40dbd744b2c15707 SHA512 a70f9b5c23ff57ccacf205dee1f4c1741792fb047cf608c0457a825e187888dcfd2dd47c537763398f1fa0a8d344c1a197b9cfcb8696200a70a814f845c64b35 WHIRLPOOL 8f2992e294ddb2fc5196f53a8ff2f25fe31a5cc5ef902bec6142addd5f1aa9ce04923048ef12758e2d28b624f9107a942a5ebb118d21ec337b6a0b7fdbb732f0
+DIST VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_7_010.deb 10495754 SHA256 752a6a1ee7d08362bde9c3c32801f13c48b78226b92879fe1afbcc3eac1ed3d1 SHA512 eb2672443c45332198ea1361d8f6cd6a0e12fb83fa031a1896dd8784c2b1d01c099ede7e09c3de0c183db9688b1709337e7a5abcf3d172bb53caa20500fe6cad WHIRLPOOL 08f3c3b2f30c46c36cfdc531bf734ee5403a4f972b9e70da75f1e8b9e4529178ec2a4591e517e3fae25dccd6313df12f31fb40d856f922c788ed18df139e3a90
+EBUILD vidyodesktop-3.6.3.017.ebuild 1642 SHA256 c35ab13bc8c5fc001b8b9ecf63eeeeaf2759b4a2f6c52e31347dfe6c1edf0a36 SHA512 d732d3a29a69a6b437a54c79735757bca65f80ebb3e279aca1dc089b85d808e95e081982ebcabbfdbd9e0c2a0c8409a93f91550622ab8f3d3164acc697eed77f WHIRLPOOL 807f15af8a9acd7fcdc42ff10866a96f2f9c076e1c7d3b56a41aa9fd5833c7a9f31d0a72e2820548df33ef8b9cb665b61984a709e95b0d6fa80c12e46aadb39b
+EBUILD vidyodesktop-3.6.7.010.ebuild 1670 SHA256 1790e70d3eb77e2137b69815e33a376fbe46c57f732fa791290a678ce687b68a SHA512 886c5bd27ced9fe0bdb5928e4200507dad248290fd2488af81a0211126a8613117ec449aec0ac54d883083cca1b40c69820ab89e193f38f1a72dcae9d5797ed0 WHIRLPOOL 9adbbaa4b41ba5438540c4d7ccfa189b612c03f5e94f5a1d9b31742a89ee34d62092ab1d96fa5780811a8ac56f2f78a004876d4bbfe7fe3728b0360017e5bebd
+MISC ChangeLog 3385 SHA256 dcff25cdaf22dfe02fba53cd80cfcceb64d5c55b9f4bae0a043f6fa40fe067ed SHA512 31c0ed8b559b5c49a1aafbaadd2670808e9d0e418358e5d6e7ade1804f29ab77655e7cfae69ac15a5dc4997d43b91d6ae13c337c16ecbe9bad8b2064c4a57776 WHIRLPOOL f9acbbcab835b356aaa078886fb843021bf40ee4e3bbdafc49d77cb01d98caacf3176c0c6dba1b87536c8c4daafefb9239127ac4963060bafd3538886d0cb11c
+MISC ChangeLog-2015 956 SHA256 763e73429bd9dbc6d0a9d118a4477a919c8ed671c32d99dbbe9898b9a0543bff SHA512 a9ed7ad5f910d696f987817c105afc6ecfcef2c9f9fae5a94b56714d0e483a7c763cc90faddc284eccf01e67d90c8765a8cab5f057bb62b44a9a08abe72b57d1 WHIRLPOOL 0f46dece1d2c04793e6fb247ec16c1bc7f8e8d15d8828af7a1fc7b5016deb9c83d9343f3cca6e1571853857ca299e69c1da2fc9463525d61bdfbd15b77b23231
+MISC metadata.xml 381 SHA256 3c22e46adf80f90a9dac57fde81247eb7025c105ca133ad55354b91df566cd03 SHA512 b91e27cf2e8a2aafae99b96836ee3a234eeddc4abb0d4380f163c309051ed9e01ed05413768055a62ea40f8926dde7a5be28d2dd3b692001cbe377f7265c0f34 WHIRLPOOL edc75395035dd943470e2895b3c4ba1cd6755a08e3623b47318d88320a087da2d9ac16f0a583fd418f0dd818d6bba59f150c4b3f46a96f734ae3ddc80c03e1c1
diff --git a/net-voip/vidyodesktop/metadata.xml b/net-voip/vidyodesktop/metadata.xml
new file mode 100644
index 000000000000..74415b2c8071
--- /dev/null
+++ b/net-voip/vidyodesktop/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>prometheanfire@gentoo.org</email>
+<name>Matthew Thode</name>
+</maintainer>
+<longdescription lang="en">
+A client used to connect to a Vidyo server to facilitate face to face communications.
+</longdescription>
+</pkgmetadata>
diff --git a/net-voip/vidyodesktop/vidyodesktop-3.6.3.017.ebuild b/net-voip/vidyodesktop/vidyodesktop-3.6.3.017.ebuild
new file mode 100644
index 000000000000..688d78113747
--- /dev/null
+++ b/net-voip/vidyodesktop/vidyodesktop-3.6.3.017.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils versionator unpacker
+
+DESCRIPTION="Enterprise video conferencing platform"
+HOMEPAGE="http://www.vidyo.com/"
+SRC_URI="
+ amd64? ( https://demo.vidyo.com/upload/VidyoDesktopInstaller-ubuntu64-TAG_VD_$(replace_all_version_separators _).deb )
+ x86? ( https://demo.vidyo.com/upload/VidyoDesktopInstaller-ubuntu-TAG_VD_$(replace_all_version_separators _).deb )
+"
+
+LICENSE="Vidyo-EULA"
+SLOT="0"
+RESTRICT="mirror strip"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ /opt/vidyo/VidyoDesktop/RenderCheck
+ /opt/vidyo/VidyoDesktop/VidyoDesktopInstallHelper
+ /opt/vidyo/VidyoDesktop/VidyoDesktop
+"
+
+DEPEND=""
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/libffi
+ sys-apps/util-linux
+ sys-libs/glibc
+ sys-devel/gcc
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glu
+ media-libs/libpng
+ media-libs/mesa
+ net-dns/libidn
+ sys-libs/zlib
+ x11-libs/libdrm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/libXv
+ x11-libs/libXxf86vm
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtwebkit:4
+"
+
+src_install() {
+ cp -a opt "${D}"
+ doicon usr/share/pixmaps/vidyo_icon.png
+ dodoc opt/vidyo/VidyoDesktop/license.txt
+ rm "${D}opt/vidyo/VidyoDesktop/license.txt"
+ exeinto /opt/bin
+ doexe usr/bin/VidyoDesktop
+ make_desktop_entry VidyoDesktop VidyoDesktop vidyo_icon 'AudioVideo;Network;'
+}
diff --git a/net-voip/vidyodesktop/vidyodesktop-3.6.7.010.ebuild b/net-voip/vidyodesktop/vidyodesktop-3.6.7.010.ebuild
new file mode 100644
index 000000000000..7c40aa7498fe
--- /dev/null
+++ b/net-voip/vidyodesktop/vidyodesktop-3.6.7.010.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils versionator unpacker
+
+DESCRIPTION="Enterprise video conferencing platform"
+HOMEPAGE="http://www.vidyo.com/"
+SRC_URI="
+ amd64? ( https://client-downloads.vidyoclouddev.com/VidyoDesktopInstaller-ubuntu64-TAG_VD_$(replace_all_version_separators _).deb )
+ x86? ( https://client-downloads.vidyoclouddev.com/VidyoDesktopInstaller-ubuntu-TAG_VD_$(replace_all_version_separators _).deb )
+"
+
+LICENSE="Vidyo-EULA"
+SLOT="0"
+RESTRICT="mirror strip"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ /opt/vidyo/VidyoDesktop/RenderCheck
+ /opt/vidyo/VidyoDesktop/VidyoDesktopInstallHelper
+ /opt/vidyo/VidyoDesktop/VidyoDesktop
+"
+
+DEPEND=""
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/libffi
+ sys-apps/util-linux
+ sys-libs/glibc
+ sys-devel/gcc
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glu
+ media-libs/libpng
+ media-libs/mesa
+ net-dns/libidn
+ sys-libs/zlib
+ x11-libs/libdrm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/libXv
+ x11-libs/libXxf86vm
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtwebkit:4
+"
+
+src_install() {
+ cp -a opt "${ED}"
+ doicon usr/share/pixmaps/vidyo_icon.png
+ dodoc opt/vidyo/VidyoDesktop/license.txt
+ rm "${ED}opt/vidyo/VidyoDesktop/license.txt"
+ exeinto /opt/bin
+ doexe usr/bin/VidyoDesktop
+ make_desktop_entry VidyoDesktop VidyoDesktop vidyo_icon 'AudioVideo;Network;'
+}
diff --git a/net-voip/yate/Manifest b/net-voip/yate/Manifest
new file mode 100644
index 000000000000..e5ff1137e9c0
--- /dev/null
+++ b/net-voip/yate/Manifest
@@ -0,0 +1,12 @@
+AUX yate-5.4.0-dont-mess-with-cflags.patch 575 SHA256 39d4d650d9493f13f422e67c70ee2218924fcf6222677301b2008838d96c2bb8 SHA512 c1acbbf6a6a3bf0aa2b3fd235f215fd18063a5a80bb38277bba6774df8a5860e94ce7c6eb7f11cb8a73df39822fa96fa1604f77948ad36d57c6d8c2e5f87fa47 WHIRLPOOL be41134ea0a57015c549bc0603e3ade8483b55d6b7d28ea6d87879fabe372b5f0e881de6f26ebb137b47eae58b846d203454b9f30c137f0db3665019597032da
+AUX yate-5.5.0-dont-mess-with-cflags.patch 582 SHA256 8c1624ca7cc46d0ea2d6bd9229f71ada99e85e2d93a4ea67509c5317c20657a8 SHA512 f6ac060c2d2542b974f6f89e6af232f1fb16abdb3d985f7c6a8067b19d74fa56f56e14c847e44705aff29c4b7fa5434bb54ee263774a035875c02d2535e8e361 WHIRLPOOL 382d5d2bc6a08150638e73aab0fa8e8d25863d783ef44e11fcd1aecb8bcb589c8e3ef87b66287137adb61fa94d9fa2ec98f0abffc039a325632d14e9aa0c014f
+AUX yate.confd 274 SHA256 1007d50abbe320b64153f12bdf33032b7a3ae9dd51507cc6b431bef2bf9f31cc SHA512 b865d094c708eb512e0c56272acaab16e563a28fbfc65a7950a0918399392d7c96db636866c0217f486acbc71e3c6b726a52a5e16872757c5a7a12311d9dd2ac WHIRLPOOL 0d465f8bef87db3d0d01e1b82839132595604f96de8ba5ebbaff61ebb8b0614c83059e7d8e56476dfdc56f2ae702be85c45f3e33dc36d7a55de0ce4525c8ddb1
+AUX yate.initd 738 SHA256 06b8aa0861b522319f4ab9ee472e910538cd0814317f2b17a96a974ae10e4350 SHA512 769ef1c41b398f94c8e9e2c522ae76025362a0cf76df9eea6e9d329c0d735d41006ecb824c300ad5ede01851360d18545735432fa7574f5b472c2c3b64e6b3da WHIRLPOOL 5be1abb8bbc000602e94d9524ba5226ea85bb035dbd957a6b6fe6bc33276a669671b7cbc01909424ce8a143d316d754e701e755490d596cd93fc4aed73e64eae
+DIST yate-5.4.0-1.tar.gz 5027248 SHA256 4705af7b4c110de11b0cee70e37f9815d130082a4c49b3f093cae07c79539344 SHA512 27c4bb7b00c37a9eaff7be210ba0812a0267fb186b357186734115ded73627dbf8fd3f292a3efbf7b33ca3e7c2e6a6f460d0ee4068e2a8415c58e3f698ae5e5b WHIRLPOOL 5a1243321044d25d134e47ef99cf6be9c2e51badb4c75d4952a3b5727c5aad8228f9a184d0ee66394ec928945b60bf80c5505696675b9666a61d46d2b7787d65
+DIST yate-5.5.0-1.tar.gz 4186159 SHA256 a9fc472df082e92d578efa3de54689e10ee1a24fdd67a9cc928db7c2e1568676 SHA512 8f19253ed140e53895c2df73eb961d0fc2cf2688ee59e9957ce9a1f7f32e4be85aff8221ecbcb7b4dda1560d52d14e3b252670f71a563310788e0d1e30c5f9bc WHIRLPOOL 6b95e6c55deb9339fc40583ea1180ec451aaad58f528e1f4300c353ac67a0f9fe9f532095630b6915832bd02d83f6f02883f10877a26bd9e11ca0efccca056d9
+EBUILD yate-5.4.0-r1.ebuild 2257 SHA256 8b807def8db2e671df56dac01b48bf062f6a79bab6e2f6bb7bade761a5aa737b SHA512 cf0484a97c4f75c382b0989620f0f078dcb3599aa0f04bb72d8cd4aa7f89d26cecd5f2f30095e95f17c37b6aab2593b0a2901a3c5cbd9ba859f6de7b10bbb3a2 WHIRLPOOL 97282d28b06716c9ce244cf0aff8460971813304125dc13619097c8a4d45acbcfbfa404f4dcbb1dc5b8cf2a1740cfcaa396a087abbdbf12d0c0142dc20a69b93
+EBUILD yate-5.5.0-r1.ebuild 2257 SHA256 8b807def8db2e671df56dac01b48bf062f6a79bab6e2f6bb7bade761a5aa737b SHA512 cf0484a97c4f75c382b0989620f0f078dcb3599aa0f04bb72d8cd4aa7f89d26cecd5f2f30095e95f17c37b6aab2593b0a2901a3c5cbd9ba859f6de7b10bbb3a2 WHIRLPOOL 97282d28b06716c9ce244cf0aff8460971813304125dc13619097c8a4d45acbcfbfa404f4dcbb1dc5b8cf2a1740cfcaa396a087abbdbf12d0c0142dc20a69b93
+EBUILD yate-9999.ebuild 2122 SHA256 df8ad63b22ddf822ced3423282249eced2915cc8fadc00096385711ff41dc821 SHA512 c0f9e366cdcac2e7d6b450c650a7707b6b68a4a8152bf5e72f67e2d971adb2e670d2dff67227435aa9e6d41649ef681aff3a3b7bd68f3e2218469674bc30a8c3 WHIRLPOOL 0661a69aaabbe12af719197cc3d3552d067b8ef5b0bd7514a429d946dbc48b14d2c3b5caa686b490c49b941728532ea8c8ab6c99fa7262d406fada6577938359
+MISC ChangeLog 4277 SHA256 3825c5b35785e87f93cb8e8ead47d042b2ad00efa0941e9fe00bbcdb899e8e26 SHA512 291636cc1b79ac1f21c4f62bd7562591dd10356909ffc2281d3d46b80df97a1eb4476d78c364ece5f73aa603c8f7990a7dc6c09acb8723a62caf71b7bb8c3b5b WHIRLPOOL b6df7844a935f1d1787c84a578a105c2e34a92c5de74c2c3fd8fc1562ddc0c2cdeb9a337d42b7bcaafdcb18f0134f038b8d27a76920c4a7a5f2fdf4f1af33e67
+MISC ChangeLog-2015 5761 SHA256 c79e0c1727c70ff4cb7a795dc15642b387dedcea71db855bfe862adac288c168 SHA512 99a9f6ab148dcd056057c5eb4400e2f9475a96021267ebf36dd86c80d28510618e12a09897e3ae16376087c6d7fa7e84d2f5fe11fe0b249967b2734e630d346e WHIRLPOOL 7c7d47df515256c3119060c51bddca9f42d851069b6daa37501a765511d404a2cd48ddd2bacda80cd26316bb599914c3ba3cbbc778901aaf3086a310d1d07af1
+MISC metadata.xml 1051 SHA256 8dcf12c0796658d92ac43e9f98864f5e285e19443a8ebe19d9291ff3be231b53 SHA512 672f161273bb41e887f37806b59bfb390c398440ad024a8797ad33389b29cc94a48730cb1aea4e600f2d5931be5718126994a7e45af89cbcdfdb78841c18a002 WHIRLPOOL bcd394f5d982cba84734b70bd5abed3034548a862fabdc598165f2734bf1f939c7b7dd6826ab367a5b6d37cb889b19cbfe8064fe25b0d58ffd0d57f25cca73fc
diff --git a/net-voip/yate/files/yate-5.4.0-dont-mess-with-cflags.patch b/net-voip/yate/files/yate-5.4.0-dont-mess-with-cflags.patch
new file mode 100644
index 000000000000..961d73fa1ccc
--- /dev/null
+++ b/net-voip/yate/files/yate-5.4.0-dont-mess-with-cflags.patch
@@ -0,0 +1,15 @@
+https://build.opensuse.org/package/view_file/network:telephony/yate/dont-mess-with-cflags.patch?expand=1
+
+Index: yate/configure.in
+===================================================================
+--- yate.orig/configure.in
++++ yate/configure.in
+@@ -1447,7 +1447,6 @@ fi
+
+
+ INSTALL_D="install -D"
+-CFLAGS=`echo "$CFLAGS" | sed 's/\(^\| *\)-g[[0-9]]*//' | sed 's/[[[:space:]]]\{2,\}/ /g'`
+ MODULE_CFLAGS="-fno-exceptions -fPIC $HAVE_GCC_FORMAT_CHECK $HAVE_BLOCK_RETURN"
+ MODULE_CPPFLAGS="-fno-check-new $RTTI_OPT $MODULE_CFLAGS"
+ MODULE_LDRELAX="-export-dynamic -shared"
+
diff --git a/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch b/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch
new file mode 100644
index 000000000000..1a2a98c24e9e
--- /dev/null
+++ b/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch
@@ -0,0 +1,14 @@
+https://build.opensuse.org/package/view_file/network:telephony/yate/dont-mess-with-cflags.patch?expand=1
+
+Index: yate/configure.ac
+===================================================================
+--- yate.orig/configure.ac
++++ yate/configure.ac
+@@ -1652,7 +1652,6 @@ fi
+
+
+ INSTALL_D="install -D"
+-CFLAGS=`echo "$CFLAGS" | sed 's/\(^\| \+\)-g[[0-9]]*//' | sed 's/[[[:space:]]]\{2,\}/ /g'`
+ MODULE_CFLAGS="-fno-exceptions -fPIC $HAVE_GCC_FORMAT_CHECK $HAVE_BLOCK_RETURN"
+ MODULE_CPPFLAGS="$HAVE_NO_OVERLOAD_VIRT_WARN $RTTI_OPT $MODULE_CFLAGS"
+ MODULE_LDRELAX="-rdynamic -shared"
diff --git a/net-voip/yate/files/yate.confd b/net-voip/yate/files/yate.confd
new file mode 100644
index 000000000000..926cc563919f
--- /dev/null
+++ b/net-voip/yate/files/yate.confd
@@ -0,0 +1,10 @@
+# /etc/conf.d/yate: config file for /etc/init.d/yate
+
+# Any random options you want to pass to yate
+YATE_OPTS=""
+
+# Pid file to use (needs to be absolute path)
+#YATE_PIDFILE="/var/run/yate.pid"
+
+# Path to yate binary (needs to be absolute path)
+#YATE_BINARY="/usr/bin/yate"
diff --git a/net-voip/yate/files/yate.initd b/net-voip/yate/files/yate.initd
new file mode 100644
index 000000000000..75428424fd33
--- /dev/null
+++ b/net-voip/yate/files/yate.initd
@@ -0,0 +1,33 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
+
+YATE_PIDFILE=${YATE_PIDFILE:-/var/run/${SVCNAME}.pid}
+YATE_BINARY=${YATE_BINARY:-/usr/bin/yate}
+
+depend() {
+ need net
+ use mysql postgresql zaptel
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec "${YATE_BINARY}" \
+ -- -d -p "${YATE_PIDFILE}" ${YATE_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --pidfile="${YATE_PIDFILE}"
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading ${SVCNAME}"
+ start-stop-daemon --signal HUP --exec "${YATE_BINARY}" \
+ --pidfile "${YATE_PIDFILE}"
+ eend $?
+}
diff --git a/net-voip/yate/metadata.xml b/net-voip/yate/metadata.xml
new file mode 100644
index 000000000000..1ee930a73d0d
--- /dev/null
+++ b/net-voip/yate/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <use>
+ <flag name="dahdi">Enable Dahdi driver</flag>
+ <flag name="zaptel">Enable Zaptel driver</flag>
+ <flag name="wpcard">Enable Wanpipe card driver</flag>
+ <flag name="tdmcard">Enable TDMV API card driver</flag>
+ <flag name="wanpipe">Enable Wanpipe support</flag>
+ <flag name="ilbc">Enable iLBC codec</flag>
+ <flag name="ilbc-webrtc">Enable iLBC webrtc codec</flag>
+ <flag name="isac-float">Enable iSAC float codec</flag>
+ <flag name="isac-fixed">Enable iSAC fixed codec</flag>
+ <flag name="postgres">use Postgress SQL</flag>
+ <flag name="mysql">use MySQL client library</flag>
+ <flag name="gsm">use GSM codec</flag>
+ <flag name="speex">use Speex codec</flag>
+ <flag name="amrnb">use AMR-NB</flag>
+ <flag name="spandsp">use spandsp library</flag>
+ <flag name="h323">use OpenH323</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-voip/yate/yate-5.4.0-r1.ebuild b/net-voip/yate/yate-5.4.0-r1.ebuild
new file mode 100644
index 000000000000..9e4cc965eb8c
--- /dev/null
+++ b/net-voip/yate/yate-5.4.0-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="The Yate AV Suite"
+HOMEPAGE="http://yate.null.ro/"
+
+if [[ ${PV} == 9999 ]] ; then
+ ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://voip.null.ro/tarballs/${PN}5/${P}-1.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+IUSE="doc cpu_flags_x86_sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex h323 spandsp +ssl qt4 +zlib amrnb"
+
+RDEPEND="
+ postgres? ( dev-db/postgresql )
+ mysql? ( virtual/mysql )
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ ssl? ( dev-libs/openssl )
+ h323? ( net-libs/h323plus )
+ zlib? ( sys-libs/zlib )
+ qt4? ( dev-qt/qtgui:4 dev-qt/designer:4 )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ spandsp? ( >=media-libs/spandsp-0.0.3 )
+ dahdi? ( net-misc/dahdi )
+"
+DEPEND="doc? ( || ( app-doc/doxygen dev-util/kdoc ) )
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-dont-mess-with-cflags.patch
+ eautoreconf
+ ./yate-config.sh || die
+}
+
+#fdsize, inline, rtti: keep default values
+#internalregex: use system
+#coredumper: not in the tree, bug 118716
+#wanpipe, wphwec: not in the tree, bug 188939
+#amrnb: not in tree!
+#zaptel: ??
+src_configure() {
+ econf \
+ --with-archlib=$(get_libdir) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable sctp) \
+ $(use_enable dahdi) \
+ $(use_enable zaptel) \
+ $(use_enable wpcard) \
+ $(use_enable tdmcard) \
+ $(use_enable wanpipe) \
+ $(use_enable ilbc) \
+ $(use_enable ilbc-webrtc) \
+ $(use_enable isac-float) \
+ $(use_enable isac-fixed) \
+ $(use_with postgres libpq) \
+ $(use_with mysql) \
+ $(use_with gsm libgsm) \
+ $(use_with speex libspeex) \
+ $(use_with amrnb) \
+ $(use_with spandsp) \
+ $(use_with h323 openh323 /usr) \
+ $(use_with h323 pwlib /usr) \
+ $(use_with ssl openssl) \
+ $(use_with qt4 libqt4)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ if use doc; then
+ emake DESTDIR="${ED}" install
+ else
+ emake DESTDIR="${ED}" install-noapi
+ fi
+ newinitd "${FILESDIR}"/yate.initd yate
+ newconfd "${FILESDIR}"/yate.confd yate
+}
diff --git a/net-voip/yate/yate-5.5.0-r1.ebuild b/net-voip/yate/yate-5.5.0-r1.ebuild
new file mode 100644
index 000000000000..9e4cc965eb8c
--- /dev/null
+++ b/net-voip/yate/yate-5.5.0-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="The Yate AV Suite"
+HOMEPAGE="http://yate.null.ro/"
+
+if [[ ${PV} == 9999 ]] ; then
+ ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://voip.null.ro/tarballs/${PN}5/${P}-1.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+IUSE="doc cpu_flags_x86_sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex h323 spandsp +ssl qt4 +zlib amrnb"
+
+RDEPEND="
+ postgres? ( dev-db/postgresql )
+ mysql? ( virtual/mysql )
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ ssl? ( dev-libs/openssl )
+ h323? ( net-libs/h323plus )
+ zlib? ( sys-libs/zlib )
+ qt4? ( dev-qt/qtgui:4 dev-qt/designer:4 )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ spandsp? ( >=media-libs/spandsp-0.0.3 )
+ dahdi? ( net-misc/dahdi )
+"
+DEPEND="doc? ( || ( app-doc/doxygen dev-util/kdoc ) )
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-dont-mess-with-cflags.patch
+ eautoreconf
+ ./yate-config.sh || die
+}
+
+#fdsize, inline, rtti: keep default values
+#internalregex: use system
+#coredumper: not in the tree, bug 118716
+#wanpipe, wphwec: not in the tree, bug 188939
+#amrnb: not in tree!
+#zaptel: ??
+src_configure() {
+ econf \
+ --with-archlib=$(get_libdir) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable sctp) \
+ $(use_enable dahdi) \
+ $(use_enable zaptel) \
+ $(use_enable wpcard) \
+ $(use_enable tdmcard) \
+ $(use_enable wanpipe) \
+ $(use_enable ilbc) \
+ $(use_enable ilbc-webrtc) \
+ $(use_enable isac-float) \
+ $(use_enable isac-fixed) \
+ $(use_with postgres libpq) \
+ $(use_with mysql) \
+ $(use_with gsm libgsm) \
+ $(use_with speex libspeex) \
+ $(use_with amrnb) \
+ $(use_with spandsp) \
+ $(use_with h323 openh323 /usr) \
+ $(use_with h323 pwlib /usr) \
+ $(use_with ssl openssl) \
+ $(use_with qt4 libqt4)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ if use doc; then
+ emake DESTDIR="${ED}" install
+ else
+ emake DESTDIR="${ED}" install-noapi
+ fi
+ newinitd "${FILESDIR}"/yate.initd yate
+ newconfd "${FILESDIR}"/yate.confd yate
+}
diff --git a/net-voip/yate/yate-9999.ebuild b/net-voip/yate/yate-9999.ebuild
new file mode 100644
index 000000000000..3cd9af1e385b
--- /dev/null
+++ b/net-voip/yate/yate-9999.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="The Yate AV Suite"
+HOMEPAGE="http://yate.null.ro/"
+
+if [[ ${PV} == 9999 ]] ; then
+ ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://voip.null.ro/tarballs/${PN}5/${P}-1.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+IUSE="doc cpu_flags_x86_sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex h323 spandsp +ssl qt4 +zlib amrnb"
+
+RDEPEND="
+ postgres? ( dev-db/postgresql )
+ mysql? ( virtual/mysql )
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ ssl? ( dev-libs/openssl )
+ h323? ( net-libs/h323plus )
+ zlib? ( sys-libs/zlib )
+ qt4? ( dev-qt/qtgui:4 dev-qt/designer:4 )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ spandsp? ( >=media-libs/spandsp-0.0.3 )
+ dahdi? ( net-misc/dahdi )
+"
+DEPEND="doc? ( || ( app-doc/doxygen dev-util/kdoc ) )
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+src_prepare() {
+ eautoreconf
+ ./yate-config.sh || die
+}
+
+#fdsize, inline, rtti: keep default values
+#internalregex: use system
+#coredumper: not in the tree, bug 118716
+#wanpipe, wphwec: not in the tree, bug 188939
+#amrnb: not in tree!
+#zaptel: ??
+src_configure() {
+ econf \
+ --with-archlib=$(get_libdir) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable sctp) \
+ $(use_enable dahdi) \
+ $(use_enable zaptel) \
+ $(use_enable wpcard) \
+ $(use_enable tdmcard) \
+ $(use_enable wanpipe) \
+ $(use_enable ilbc) \
+ $(use_enable ilbc-webrtc) \
+ $(use_enable isac-float) \
+ $(use_enable isac-fixed) \
+ $(use_with postgres libpq) \
+ $(use_with mysql) \
+ $(use_with gsm libgsm) \
+ $(use_with speex libspeex) \
+ $(use_with amrnb) \
+ $(use_with spandsp) \
+ $(use_with h323 openh323 /usr) \
+ $(use_with h323 pwlib /usr) \
+ $(use_with ssl openssl) \
+ $(use_with qt4 libqt4)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ if use doc; then
+ emake DESTDIR="${ED}" install
+ else
+ emake DESTDIR="${ED}" install-noapi
+ fi
+}