changeset 445:7e560a7c788b

add the necessary ebuilds to make blink work
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 21 Jul 2017 11:00:48 +0200
parents 20f79c3e04b5
children ed034f9928b8
files dev-python/potr/Manifest dev-python/potr/potr-1.2.0.ebuild dev-python/python-msrplib/Manifest dev-python/python-msrplib/python-msrplib-0.19.1.ebuild dev-python/python-otr/Manifest dev-python/python-otr/python-otr-1.2.0.ebuild dev-python/python-sipsimple/Manifest dev-python/python-sipsimple/python-sipsimple-3.1.1.ebuild dev-python/python-sipsimple/python-sipsimple-3.1.1.ebuild.disabled dev-util/bcunit/Manifest dev-util/bcunit/bcunit-3.0.1.ebuild media-libs/mediastreamer/Manifest media-libs/mediastreamer/files/mediastreamer-2.8.2-autopoint.patch media-libs/mediastreamer/files/mediastreamer-2.8.2-ffmpeg-1.0.patch media-libs/mediastreamer/files/mediastreamer-2.8.2-libav9.patch media-libs/mediastreamer/files/mediastreamer-2.8.2-v4l-automagic.patch media-libs/mediastreamer/files/mediastreamer-underlinking.patch media-libs/mediastreamer/files/mediastreamer-xxd.patch media-libs/mediastreamer/mediastreamer-2.15.1.ebuild media-libs/mediastreamer/mediastreamer-2.8.2.ebuild net-libs/bctoolbox/Manifest net-libs/bctoolbox/bctoolbox-0.5.1.ebuild net-libs/ortp/Manifest net-libs/ortp/ortp-1.0.1.ebuild net-voip/belle-sip/Manifest net-voip/belle-sip/belle-sip-1.6.1.ebuild net-voip/blink/Manifest net-voip/blink/blink-3.0.3.ebuild net-voip/linphone/Manifest net-voip/linphone/linphone-3.11.1.ebuild
diffstat 30 files changed, 817 insertions(+), 427 deletions(-) [+]
line wrap: on
line diff
--- a/dev-python/potr/Manifest	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-DIST potr-1.2.0.tar.gz 21440 SHA256 df17b17e5d56dc472d59c59190951ddb67952a0ac02cb4fd64ccbef9b211f790 SHA512 45326b3cb1f02eca0cc96d545c862acc87c25e0f1d3f0146bae51953fccba485b264b89143b4d00b9f8f9133c2811dee6dc255c7ebb2375ed70bd49a2feb1f71 WHIRLPOOL 0ab2a8894c8df10f225dc6ca604cbdd03c1f375c510c21368d290603fd4da7178e872604e3544d1cb3b2b23b4bc2a751c5a5231b1854d74d57f495c7c10ac3bf
-EBUILD potr-1.2.0.ebuild 739 SHA256 f7bda54a57bc62eda87c4602a5c56b6c6ad6e5735e3633a2ffc73592dea01d9e SHA512 1af15e15bd28153ddca098cbc66a3828756fa7350646659c89a75515f4631d01689ac7d864a90b9ae6e1e5c8192db9b4aa38cdcc0451700409bc942587813262 WHIRLPOOL 2cff9eb47ee3a9c15295b2a002b3ea67de9440c187ddf86818ab55aadbabbfaac49a061478fc8f09cfcc68805aa4246c43abb7a5c1dbe0bdbaea59fe992e1c26
--- a/dev-python/potr/potr-1.2.0.ebuild	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MY_P="python-otr-release-${PV}"
-
-# compile errors with python3 ... skip for now
-#PYTHON_COMPAT=( python2_7 python3_4 )
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="Pure Python OTR implementation"
-HOMEPAGE="https://github.com/AGProjects/python-otr/"
-SRC_URI="https://github.com/AGProjects/python-otr/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-CDEPEND=">=dev-python/pycrypto-2.1[${PYTHON_USEDEP}]
-	dev-python/gmpy[${PYTHON_USEDEP}]
-"
-DEPEND="${CDEPEND}
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	"
-RDEPEND="${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-msrplib/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST release-0.19.1.tar.gz 30917 SHA256 a1e5a3c1a2ae63bdeff60ca21cbb1640a3538f5c63dfe65dfa4edeac9cc86b9b SHA512 afa05606354eb82cb7d1f5c95ac1a146c25c7d22b74a44b83625351b470646e91242468f3ee0a1ccb2b3193d3a222246a92a8133614ded4747493a1f6e2b193e WHIRLPOOL fb6265e3a75debd5504793ce0a090fe0afae9deb4401d766145800c4dc57e1d7df50bd2ab70738875f6cd3e89f40793940def293859d42896b0117db2821b186
+EBUILD python-msrplib-0.19.1.ebuild 986 SHA256 59bae31ed001eb0abc033732700c210b4c41eee323e3ce33e49f88efd9e4d62b SHA512 79f5613045f8f09c3f3f703d6bb2a389190033e0021f9d89993435b06f6f72bb69eae6a72715a83c1d405f34e2ccf8875b3d682e00348860b71fea0596cbb18c WHIRLPOOL f398e59a80c1a7761cd78ac476e4633b05771d53d9d4b968074a2ee7bce4704210fa59a03d3ca4728941d0f3bff469a657dec2e6a9fe4a8b5c14575446858aa4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-msrplib/python-msrplib-0.19.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Client library for MSRP protocol and its relay extension"
+HOMEPAGE="http://sipsimpleclient.org"
+SRC_URI="https://github.com/AGProjects/${PN}/archive/release-${PV}.tar.gz"
+S=${WORKDIR}/${PN}-release-${PV}
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-python/python-application[${PYTHON_USEDEP}]
+	dev-python/python-eventlib[${PYTHON_USEDEP}]
+	dev-python/python-gnutls[${PYTHON_USEDEP}]
+	dev-python/twisted-core[${PYTHON_USEDEP}]
+	dev-python/twisted-names[${PYTHON_USEDEP}]
+"
+src_compile() {
+	python setup.py build_ext
+}
+
+src_install() {
+	python setup.py install --home "${D}" --install-purelib="${D}"usr/lib64/python2.7/site-packages --install-platlib="${D}"usr/lib64/python2.7/site-packages --install-scripts="${D}"/usr/bin --install-data="${D}"usr
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-otr/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST python-otr-1.2.0.tar.gz 21183 SHA256 7382b4ecee01395ddc39fef298ad5d9ea54c8d6007dcec2a773b36823f21df4b SHA512 4230fdc4246b366c49a9593280775e65b38be9083e72e0f93b974fdf3b2fb374b87925b7b0f842c2e62f12a7b5df7f3a7bc8e1dd11406187f6bf7e73b1481010 WHIRLPOOL 7e9801c76c3f54b137a25ca50546015b95912dc398a56da625e93b3cf07c2a87db8daf08cd96ead07f8a46bcd857c8aca4f752d92aafdc4753c7023ba61f940f
+EBUILD python-otr-1.2.0.ebuild 468 SHA256 215726b143d2b054bd6099d6b60abccbcd2a4107cd2109b6a1bf002ccc8b1bd5 SHA512 b5811c6805c2bae4bb8f46537f7600774288cc984fd4b5d806c01193f06311c4ebe0db8d00349bf49853f9eea89ea22d734a657be0557daea7e6222b4c11d42c WHIRLPOOL 7471245b2783670ac1cd7a7cf024fea6abf2ca1089b126d714d6dc1c19af41d4e230aa2c8854690bf83def1d8b1daffdd9c2ed594de210d4d891dfebd44e2c85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-otr/python-otr-1.2.0.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Off-The-Record Messaging (OTR) protocol implementation for python"
+HOMEPAGE="http://ag-projects.com/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+		dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
--- a/dev-python/python-sipsimple/Manifest	Wed May 24 10:51:26 2017 +0200
+++ b/dev-python/python-sipsimple/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -1,4 +1,7 @@
 AUX aconfigure.openh264.patch 581 SHA256 6e94ebfa4bba70d8a11ff61518e2ae49c2e082578a6bed0b59d26be2385c4162 SHA512 e4a6b5b8f7ae6046ad89196f899fb20d03b7b22ea569f63082ca848db0caac83c15a2ce28df4096ecd7e0f759c0ae20ea25ec74493d8018f07e2db1255f3dc5c WHIRLPOOL 1781e7ec88041002b360fde3ff68f33308ae451beb7b30b6ee6eb942b56f5f38100a3e8442dc5a22c50e2961f3a7cbc5e4685c0bf1222075ce16eb954969f896
 AUX setup_pjsip.openh264.patch 515 SHA256 54d1ba3fc7c106f472bbee8519ad480dfb576dfaab900778a5aed2c359cb1277 SHA512 57cb4a795fca9bf243dae29bee3c67c855fab165d66b20789676403b5f660825b8632684e40b19ae7cadccc1e65a0d578ce91048be68411a814e226d59a294b8 WHIRLPOOL a880494956100110595ff9b55914714d96d5d9da65d85df17c604619349409418f2fc7d176ae2b551d5727b0fc19d6886ac3832382123a798afe36069886cdfe
 DIST python-sipsimple-3.1.0.tar.gz 4786269 SHA256 4cc33f5373f40148d0c07db6c43f6c9ec973593fada6a6082fea42d8326711c3 SHA512 dc0425e77c1e42839ebac81171754840da88c36fb0dc322b3fd961e9c86bff69e77746ac2ee2c3bf75438a64f02229a2c0745103aff6931dcc289070d8668ed7 WHIRLPOOL 3eb2da40de33aa9e23131fdeb2e65e000e13564528d87a2eab8f7407a20ee54d9859a0603889ea0d0c2ea649b220b234fa581e4aa4d22e06380ace778ba71445
+DIST release-3.1.1.tar.gz 4786969 SHA256 58db6306425cf829672c69ad7bc1ae209a68c1fba818b7d896ec3f170e902647 SHA512 915312e43aa465aea77b3d11f8ae4df94e63599a46e734152ee9fa28b8f4005050b4f117291890bee2a7e2b0a8ed1c42c259e0a0a38b5015ee9f3766489413d8 WHIRLPOOL 8182cc789c44e79a03b831d1d1e6241fc9d76e687cae7356b69ebd6197c647260f86bf2350418af3c7ae4981d0434f37d7dfbbee7922dee4e015946354b07c0f
 EBUILD python-sipsimple-3.1.0.ebuild 1556 SHA256 f978824fbf7a253a562fe9cc8d127bb72ed9cb67dc506201a5829d96252242e6 SHA512 f190523068a78e6ce77cdd582f1a5ab1fe58b154c46121a253f525c1599b42fd21ff5fde72a0bc2fc5b497a944da7bb28e8f9d7e294df9030e79103892996138 WHIRLPOOL 1045d4fad644581186d0f2ba13675c45329cd3a09566b461cfff79e2413968cde98fe4902c099b05da62b8618441c4d6520bb24f00cf566da7896b2c8117d58d
+EBUILD python-sipsimple-3.1.1.ebuild 1619 SHA256 3bf6df3cb11b92a451507892a47d503672e384207795bf4b2d596112a0fd232e SHA512 43d45ca06cf956cd7b8b414353926a1cda024d8030db74f6ba902fbe8bb76d4938ad3b67f3eca277345fa1f250d4de991c332f310c973b11629f46ca4a546046 WHIRLPOOL 8aaec2fa72b20b5280c62839aa84130a7bd9bb1d3eb2a7ec212e436f1e1337fb476ff610f3ab0eeefff6d9f4931f9cb5ffa77e7dcd4f7fe992787104536975f8
+MISC python-sipsimple-3.1.1.ebuild.disabled 1552 SHA256 c269f044b6f9bad1b703ce5869d2063332e0641679d79e9f48c0cdb975648ce2 SHA512 35fbb1d573666720e8b7133b492159f7e8d3972372826d3d0b14fee9ac1a13ace83f3db44dd61e8d64d6d0c9daa330f5e8d3cc0aa720a1d437d11e1629fbd972 WHIRLPOOL 9b78433b8d5a5c151e6076ae04325fa0e25f2e67873fc64c40e5cc01c94c7b517ebdd7af3b33849e2207c8aed3818832718a7d7881ce698dfa88e23132b6e0b5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-sipsimple/python-sipsimple-3.1.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -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 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="SIP SIMPLE client SDK is a Software Development Kit"
+HOMEPAGE="http://sipsimpleclient.org"
+SRC_URI="https://github.com/AGProjects/${PN}/archive/release-${PV}.tar.gz"
+S=${WORKDIR}/${PN}-release-${PV}
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="libressl"
+
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+	dev-db/sqlite:3
+	!libressl? ( dev-libs/openssl:0[-bindist] )
+	libressl? ( dev-libs/libressl )
+	dev-python/python-application[${PYTHON_USEDEP}]
+	media-libs/alsa-lib
+	media-libs/libv4l
+	media-libs/libvpx
+	sys-apps/util-linux
+	virtual/ffmpeg
+"
+RDEPEND="${CDEPEND}
+	virtual/python-dnspython[${PYTHON_USEDEP}]
+	dev-python/python-cjson[${PYTHON_USEDEP}]
+	dev-python/python-dateutil[${PYTHON_USEDEP}]
+	dev-python/python-eventlib[${PYTHON_USEDEP}]
+	dev-python/greenlet[${PYTHON_USEDEP}]
+	dev-python/python-gnutls[${PYTHON_USEDEP}]
+	dev-python/lxml[${PYTHON_USEDEP}]
+	>=dev-python/python-msrplib-0.19.0[${PYTHON_USEDEP}]
+	dev-python/python-xcaplib[${PYTHON_USEDEP}]
+	dev-python/twisted-core[${PYTHON_USEDEP}]
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+"
+DEPEND="${CDEPEND}
+	dev-python/cython[${PYTHON_USEDEP}]
+	virtual/pkgconfig
+"
+src_compile() {
+	chmod +x deps/pjsip/{a,}configure
+	python setup.py build_ext
+}
+
+src_install() {
+	python setup.py install --home "${D}" --install-purelib="${D}"usr/lib64/python2.7/site-packages --install-platlib="${D}"usr/lib64/python2.7/site-packages --install-scripts="${D}"/usr/bin --install-data="${D}"usr
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-sipsimple/python-sipsimple-3.1.1.ebuild.disabled	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="SIP SIMPLE client SDK is a Software Development Kit"
+HOMEPAGE="http://sipsimpleclient.org"
+SRC_URI="https://github.com/AGProjects/python-sipsimple/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="libressl"
+
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+	dev-db/sqlite:3
+	!libressl? ( dev-libs/openssl:0[-bindist] )
+	libressl? ( dev-libs/libressl )
+	dev-python/python-application[${PYTHON_USEDEP}]
+	media-libs/alsa-lib
+	media-libs/libv4l
+	media-libs/libvpx
+	sys-apps/util-linux
+	virtual/ffmpeg
+	media-libs/x264
+"
+RDEPEND="${CDEPEND}
+	virtual/python-dnspython[${PYTHON_USEDEP}]
+	dev-python/python-cjson[${PYTHON_USEDEP}]
+	dev-python/python-dateutil[${PYTHON_USEDEP}]
+	dev-python/python-eventlib[${PYTHON_USEDEP}]
+	dev-python/greenlet[${PYTHON_USEDEP}]
+	dev-python/python-gnutls[${PYTHON_USEDEP}]
+	dev-python/lxml[${PYTHON_USEDEP}]
+	dev-python/python-msrplib[${PYTHON_USEDEP}]
+	dev-python/python-xcaplib[${PYTHON_USEDEP}]
+	dev-python/twisted-core[${PYTHON_USEDEP}]
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+	dev-python/potr[${PYTHON_USEDEP}]
+"
+DEPEND="${CDEPEND}
+	dev-python/cython[${PYTHON_USEDEP}]
+	virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+	chmod +x ${S}/deps/pjsip/configure
+	chmod +x ${S}/deps/pjsip/aconfigure
+
+	epatch "${FILESDIR}/aconfigure.openh264.patch"
+	epatch "${FILESDIR}/setup_pjsip.openh264.patch"
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-util/bcunit/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST bcunit-3.0.1.tar.gz 378174 SHA256 ddc03979a913384c23fa9739e191b0625b51ad448e222c5e197fc1bedf06ac24 SHA512 65c4641fa7cca29ead39bf774b18ffd7e0e1f8175d2712b8df39394730e773afc2ff3762394834db65456aab9eb2264a7d07e6c3aa2b538c7d31f2a6707f3c9b WHIRLPOOL 371acd5efc641dc18c2b6a7917b1dfc4f3fb2360860d0444257a4a343df52bb3c67d275fc80a52a1cfb8b5ea833e64dec64d6964340ebc0eab54d4f5ae1a472c
+EBUILD bcunit-3.0.1.ebuild 886 SHA256 37375834dcbb03a13fa490c055f081a00479bc68671a5362f6b293975df27245 SHA512 c652a0a8d667ee1fc1c8f4fb97808b9a478cc0be68a49852627ac7c58dc46d58cf19c1e9a5a478537e819e2ad5e0bf19328d775edc234eeff08e4d9495b7601b WHIRLPOOL 60d6321b32771386cef8680d2fe9119e81d85a6c2f4ddd5bcfb945e99e75030c76fcb1d5547eeff5588ce790db789a3644860c98f24ced988036f8263ddbca2a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-util/bcunit/bcunit-3.0.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils eutils flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="C Unit Test Framework from Belledonne Comminications"
+STABLE_REV=fe7c9c5bd32b72542dd96d772b9b5f70adc53117
+SRC_URI="https://github.com/BelledonneCommunications/bcunit/archive/${STABLE_REV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/BelledonneCommunications/bcunit"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ncurses static-libs"
+
+RDEPEND="ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${STABLE_REV}
+
+DOCS=( AUTHORS NEWS README ChangeLog )
+
+multilib_src_configure() {
+	local mycmakeargs=( "-DENABLE_CURSES=$(usex ncurses)" )
+	cmake-utils_src_configure
+}
+
+multilib_src_install() {
+	cmake-utils_src_install
+}
--- a/media-libs/mediastreamer/Manifest	Wed May 24 10:51:26 2017 +0200
+++ b/media-libs/mediastreamer/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -1,6 +1,4 @@
-AUX mediastreamer-2.8.2-autopoint.patch 710 SHA256 d19e1398755eccc8714b98d3ab53f671e31335e9d4c5456d8de8f89ddbc1cfb8 SHA512 fed068438d9624d91dbace156933bba2a6d1a785f5f2eca3053d443cf479bf66731cd0b2d32118dba376ac4d96f34de31a82c70170553d0de497fea238bf162a WHIRLPOOL 7cc86d7331dd9eba10c5f51cdd4105ce9246a345336598e3e3528a7d9684887ef995c1ca342275d636516ad71c0137205dc2e7ea5c3696004dbbdf0b10c011c5
-AUX mediastreamer-2.8.2-ffmpeg-1.0.patch 1603 SHA256 c76fea152b1c6d968b753464e2e57ec49dbaba014d17efd304228ddac7495e32 SHA512 19fed47ebb1261e6e3f98021b3b3acb92f112169991fa5dc5960cecf0de5044108e114fb65c7e516aae9412c1c8d6561e87a2d45b50cd772a64d711d08148d0e WHIRLPOOL 9b9e023c7fa9ed93b6459e69252f89e0a1eee9b1962eb4c04c23f8cdf6e61444f5f6fb9c02faec0c5ebfb8600d87a1861390684de2bff25a863a6199b9048ed8
-AUX mediastreamer-2.8.2-libav9.patch 4464 SHA256 5677af43cf8224a7a129dabe7dcf7db331a5e07119d0e28b1e117ec8c4b55685 SHA512 8df2c02bd2066b00bf5ce1e841d3fcf3ac51d8b7401a26e9b1f894b31cfa58026619874ce1e02393e41948bff3e89499f7be022abef5d4f9b6442033632d01bd WHIRLPOOL ad6238c7183df176934f5b7a8d16f6879a12b7e66e25453e42a5728cc56e626c36e2609e560ed26c84bafa8fd9142a993526e486383a404ca69c4d6ebb301acd
-AUX mediastreamer-2.8.2-v4l-automagic.patch 1675 SHA256 c804e26d980648478cf10acb95ecca3e24c1f63acbefc80c6fced623a36a72f0 SHA512 9b091a1edbe82e7b633d64ff1d6a5c702ddacfac289bb47c632aae6063961ea6a9c5260f863b0e902f6f77b004abca47cb3d7088b284fdf5953ac21deddd5b4a WHIRLPOOL 2687b2cda2d97037f0661a654de0d8e16979558a13aee253f54dacb999ce50972334a58a0d669bf0fe73f6290fbdb2b4d96ab8a3448c92ed50d545fc473179b9
-DIST mediastreamer-2.8.2.tar.gz 882966 SHA256 a62ebb008913db6e03e27bd1ec30bb560ae4219da5255c0e91853b5e894a4f33 SHA512 2041d9fbba0f831aea6bdd3259b21742a37cfdbdf473b0bc4f20bd730371395ddf2866804ae496e9864adf5fcd0d24e03193d5d8feadd54e6ff0b3adda01ff60 WHIRLPOOL cecd47766dff3df76271b3209f7f967a00165861283c34633361a07bf8a416e63d5c5c6dd364a1558f1f865803eaf4a1888bd3bcf42cb0e159b12107045b61ab
-EBUILD mediastreamer-2.8.2.ebuild 3993 SHA256 c04a5823de2d2da5f0d636e40eabe07efea07a3bdaceafbed920cb9f59c3c038 SHA512 58cd6661cd1eb50281f7916f8edddfff1444a42ba523b6307ee40b8085b4866282f8f7575d2e7ac14d0f0fd2fd2bcc2c698da6150bc7d89b5a34b1e649a4bdf7 WHIRLPOOL 5e02fed2ba1d603e6ea38ee68187a20bf7b48bbd0e787725ab89b45e2b11a5e80578b82a0105144ed4a122f0dd99d04f3849005a131d4d8b2e10da06056cf981
+AUX mediastreamer-underlinking.patch 2073 SHA256 b05b73ad90f5f12820dc236912cefa63de228788d80c511ae52ab7f410b475cb SHA512 8677e1a42680d67bc5624173b406a1c6fc04435917e73a844a79b0ee97648220bf994ed0eaf4762a86ffdc9e489b44774435bd48618f2b0966d39e6d9b40e485 WHIRLPOOL aff1336de1bbdb63e9d3da7294a1a442ea0a186b30eb81cc231ceb92afa8ed14f5dc5aa17a8b587378e6cd8a52225ef6bdb765e89b464b8c2f1ded89696e3b35
+AUX mediastreamer-xxd.patch 598 SHA256 0f8ba68645c445ddd503f5eb3384cc3d9fc43fbb748a5ea5819a687f2a5a79c3 SHA512 8fc5c75728833387850bb7d76410d9c65da43f8beae9b683722ddb4291317940a2cb82b29a5eb5db37b26d475c9c5229098baa7e71ea7f7d1cb1650e167f2f17 WHIRLPOOL d9287bc343a82ab5f502b10488fdab730416fec302874ad4cebc5470bb0650773f2aee568a99d6c22aa0dfa01f939101c5714aa2edbe6cbbb80c6172ddd197a8
+DIST mediastreamer-2.15.1.tar.gz 18783627 SHA256 8b1f3ed60e25965319d68a7ed0d372dde6f6cac2d56dcfb1d7bb77c9612bd1cd SHA512 755e16e121c8ab60404da14e8b46e4d03492b4c4fa782a6d998e12bec050e44c5ea7d3ed568525958796438b49aa869d6060072338f482de45e8170e4f406152 WHIRLPOOL 8e04e79d54319df0d991fe1c183463347f512516c5ab715a3007758e3618cf206b021e8b4ee7f3564dd000e590dad2c30bd6397357e155ccfa27536b26c17e1e
+EBUILD mediastreamer-2.15.1.ebuild 4577 SHA256 deb480333d945d8ff355da15957c94852777fdf4080b91a761fcd4f7e5b9266d SHA512 7a48c793a91959cca0cbcb0beb071b3709ed8904935417b35d5905891a8a707ccb8203aeb2692b2c628a9492771a54a60322cee9c1280b381e13757a945221f9 WHIRLPOOL f5c4f3cbe46be2a5fae14a64e8d17e2e93130ac0d029d95440870107046adb7515772961ae18235411a5e726190261e57bb3cc730e09224b52e66c282ad446f4
--- a/media-libs/mediastreamer/files/mediastreamer-2.8.2-autopoint.patch	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
---- mediastreamer-2.8.2/configure.ac.orig	2012-06-01 16:31:34.000000000 +0400
-+++ mediastreamer-2.8.2/configure.ac	2012-06-01 16:36:08.586809086 +0400
-@@ -191,13 +191,13 @@
- if test "$mingw_found" != "yes" ; then
- 	dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK.
- 	AM_GNU_GETTEXT([external])
--	AM_GNU_GETTEXT_VERSION([0.18])
- 	LIBS="$LIBS $LIBINTL"
- else
- 	AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
- 	AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
- 	LIBS="$LIBS -lintl"
- fi
-+AM_GNU_GETTEXT_VERSION([0.18])
- 
- AM_CONDITIONAL(BUILD_MACOSX, test x$macosx_found = xyes)
- AM_CONDITIONAL(BUILD_IOS, test x$ios_found = xyes)
--- a/media-libs/mediastreamer/files/mediastreamer-2.8.2-ffmpeg-1.0.patch	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=445168
-
-commit f586917ea4d66f9ba8910f0967a8830e54d50784
-Author: Yann Diorcet <yann.diorcet@belledonne-communications.com>
-Date:   Tue Jun 5 11:07:48 2012 +0200
-
-    Fixes for new versions of ffmpeg
-
-diff --git a/src/h264dec.c b/src/h264dec.c
-index c4a84ee..5229b5e 100644
---- a/src/h264dec.c
-+++ b/src/h264dec.c
-@@ -45,7 +45,9 @@ typedef struct _DecData{
- static void ffmpeg_init(){
- 	static bool_t done=FALSE;
- 	if (!done){
-+#ifdef FF_API_AVCODEC_INIT
- 		avcodec_init();
-+#endif
- 		avcodec_register_all();
- 		done=TRUE;
- 	}
-diff --git a/src/videoenc.c b/src/videoenc.c
-index 21d016f..fb35760 100644
---- a/src/videoenc.c
-+++ b/src/videoenc.c
-@@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- 
- static bool_t avcodec_initialized=FALSE;
- 
-+#ifndef FF_I_TYPE
-+#define FF_I_TYPE AV_PICTURE_TYPE_I
-+#endif
-+
- #ifdef ENABLE_LOG_FFMPEG
- 
- void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
-@@ -53,7 +57,9 @@ void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
- 
- void ms_ffmpeg_check_init(){
- 	if(!avcodec_initialized){
-+#ifdef FF_API_AVCODEC_INIT
- 		avcodec_init();
-+#endif
- 		avcodec_register_all();
- 		avcodec_initialized=TRUE;
- #ifdef ENABLE_LOG_FFMPEG
-@@ -300,10 +306,10 @@ static void prepare_h263(EncState *s){
- 	if (s->profile==0){
- 		s->codec=CODEC_ID_H263;
- 	}else{
-+		/*
- 		c->flags|=CODEC_FLAG_H263P_UMV;
- 		c->flags|=CODEC_FLAG_AC_PRED;
- 		c->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
--		/*
- 		c->flags|=CODEC_FLAG_OBMC;
- 		c->flags|=CODEC_FLAG_AC_PRED;
- 		*/
--- a/media-libs/mediastreamer/files/mediastreamer-2.8.2-libav9.patch	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,115 +0,0 @@
-diff -urb mediastreamer-2.8.2.old/src/h264dec.c mediastreamer-2.8.2/src/h264dec.c
---- mediastreamer-2.8.2.old/src/h264dec.c	2013-06-22 19:13:24.649838347 +0200
-+++ mediastreamer-2.8.2/src/h264dec.c	2013-06-22 19:20:52.044822431 +0200
-@@ -55,10 +55,10 @@
- 	int error;
- 	codec=avcodec_find_decoder(CODEC_ID_H264);
- 	if (codec==NULL) ms_fatal("Could not find H264 decoder in ffmpeg.");
--	avcodec_get_context_defaults(&d->av_context);
--	error=avcodec_open(&d->av_context,codec);
-+	avcodec_get_context_defaults3(&d->av_context, NULL);
-+	error=avcodec_open2(&d->av_context,codec, NULL);
- 	if (error!=0){
--		ms_fatal("avcodec_open() failed.");
-+		ms_fatal("avcodec_open2() failed.");
- 	}
- }
- 
-diff -urb mediastreamer-2.8.2.old/src/jpegwriter.c mediastreamer-2.8.2/src/jpegwriter.c
---- mediastreamer-2.8.2.old/src/jpegwriter.c	2013-06-22 19:13:24.649838347 +0200
-+++ mediastreamer-2.8.2/src/jpegwriter.c	2013-06-22 19:17:57.087828655 +0200
-@@ -90,7 +90,7 @@
- 			mblk_t *jpegm;
- 			struct SwsContext *sws_ctx;
- 			
--			AVCodecContext *avctx=avcodec_alloc_context();
-+			AVCodecContext *avctx=avcodec_alloc_context3(NULL);
- 			
- 			avctx->width=yuvbuf.w;
- 			avctx->height=yuvbuf.h;
-@@ -98,9 +98,9 @@
- 			avctx->time_base.den =1;
- 			avctx->pix_fmt=PIX_FMT_YUVJ420P;
- 
--			error=avcodec_open(avctx,s->codec);
-+			error=avcodec_open2(avctx,s->codec,NULL);
- 			if (error!=0) {
--				ms_error("avcodec_open() failed: %i",error);
-+				ms_error("avcodec_open2() failed: %i",error);
- 				cleanup(s,NULL);
- 				av_free(avctx);
- 				return;
-diff -urb mediastreamer-2.8.2.old/src/nowebcam.c mediastreamer-2.8.2/src/nowebcam.c
---- mediastreamer-2.8.2.old/src/nowebcam.c	2013-06-22 19:13:24.652838347 +0200
-+++ mediastreamer-2.8.2/src/nowebcam.c	2013-06-22 19:20:43.198822745 +0200
-@@ -68,9 +68,9 @@
- 		return NULL;
- 	}
- 
--	avcodec_get_context_defaults(&av_context);
--	if (avcodec_open(&av_context,codec)<0){
--		ms_error("jpeg2yuv: avcodec_open failed");
-+	avcodec_get_context_defaults3(&av_context, NULL);
-+	if (avcodec_open2(&av_context,codec,NULL)<0){
-+		ms_error("jpeg2yuv: avcodec_open2 failed");
- 		return NULL;
- 	}
- 	av_init_packet(&pkt);
-diff -urb mediastreamer-2.8.2.old/src/videodec.c mediastreamer-2.8.2/src/videodec.c
---- mediastreamer-2.8.2.old/src/videodec.c	2013-06-22 19:13:24.654838347 +0200
-+++ mediastreamer-2.8.2/src/videodec.c	2013-06-22 19:28:58.436805127 +0200
-@@ -52,7 +52,7 @@
- 	DecState *s=(DecState *)ms_new0(DecState,1);
- 	ms_ffmpeg_check_init();
- 	
--	avcodec_get_context_defaults(&s->av_context);
-+	avcodec_get_context_defaults3(&s->av_context, NULL);
- 	s->av_codec=NULL;
- 	s->codec=cid;
- 	s->input=NULL;
-@@ -133,8 +133,8 @@
- 	if (s->av_context.codec==NULL){
- 		/* we must know picture size before initializing snow decoder*/
- 		if (s->codec!=CODEC_ID_SNOW){
--			error=avcodec_open(&s->av_context, s->av_codec);
--			if (error!=0) ms_error("avcodec_open() failed: %i",error);
-+			error=avcodec_open2(&s->av_context, s->av_codec,NULL);
-+			if (error!=0) ms_error("avcodec_open2() failed: %i",error);
- 			if (s->codec==CODEC_ID_MPEG4 && s->dci_size>0){
- 				s->av_context.extradata=s->dci;
- 				s->av_context.extradata_size=s->dci_size;
-@@ -223,8 +223,8 @@
- 			int error;
- 			s->av_context.width=h>>16;
- 			s->av_context.height=h&0xffff;
--			error=avcodec_open(&s->av_context, s->av_codec);
--			if (error!=0) ms_error("avcodec_open() failed for snow: %i",error);
-+			error=avcodec_open2(&s->av_context, s->av_codec, NULL);
-+			if (error!=0) ms_error("avcodec_open2() failed for snow: %i",error);
- 			else {
- 				s->snow_initialized=TRUE;
- 				ms_message("Snow decoder initialized,size=%ix%i",
-diff -urb mediastreamer-2.8.2.old/src/videoenc.c mediastreamer-2.8.2/src/videoenc.c
---- mediastreamer-2.8.2.old/src/videoenc.c	2013-06-22 19:13:24.654838347 +0200
-+++ mediastreamer-2.8.2/src/videoenc.c	2013-06-22 19:20:19.732823580 +0200
-@@ -236,7 +236,7 @@
- 	AVCodecContext *c=&s->av_context;
- 	const int max_br_vbv=128000;
- 
--	avcodec_get_context_defaults(c);
-+	avcodec_get_context_defaults3(c, NULL);
- 	if (s->codec==CODEC_ID_MJPEG)
- 	{
- 		ms_message("Codec bitrate set to %i",c->bit_rate);
-@@ -342,9 +342,9 @@
- 		ms_error("could not find encoder for codec id %i",s->codec);
- 		return;
- 	}
--	error=avcodec_open(&s->av_context, s->av_codec);
-+	error=avcodec_open2(&s->av_context, s->av_codec, NULL);
- 	if (error!=0) {
--		ms_error("avcodec_open() failed: %i",error);
-+		ms_error("avcodec_open2() failed: %i",error);
- 		return;
- 	}
- 	video_starter_init(&s->starter);
--- a/media-libs/mediastreamer/files/mediastreamer-2.8.2-v4l-automagic.patch	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-From 93362c849d4a3ba1748d033369f76e93557f1c06 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Thu, 22 Nov 2012 15:02:21 +0100
-Subject: [PATCH] Support disabling V4L support completely.
-
----
- mediastreamer-2.8.2/configure.ac | 17 ++++++++++++++---
- 1 file changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/mediastreamer-2.8.2/configure.ac b/mediastreamer-2.8.2/configure.ac
-index d5be955..86703a0 100644
---- a/mediastreamer-2.8.2/configure.ac
-+++ b/mediastreamer-2.8.2/configure.ac
-@@ -624,6 +624,16 @@ PACKAGE_DATA_DIR="$prefix/share"
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR,  "${package_prefix}/share" ,[path of data])
- AC_SUBST(PACKAGE_DATA_DIR)
- 
-+AC_ARG_ENABLE(v4l,
-+      [  --disable-v4l       Disable usage of v4l],
-+      [case "${enableval}" in
-+        yes) v4l=yes ;;
-+        no)  v4l=no ;;
-+        *) AC_MSG_ERROR(bad value ${enableval} for --disable-v4l) ;;
-+      esac],[v4l=yes])
-+
-+if test "$v4l" = "yes" ; then
-+
- dnl check for video4linux headers
- AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h)
- if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then
-@@ -637,9 +647,6 @@ else
- 	found_v4l2=no
- fi
- 
--AM_CONDITIONAL(BUILD_V4L1, test x$found_v4l1 = xyes )
--AM_CONDITIONAL(BUILD_V4L2, test x$found_v4l2 = xyes )
--
- AC_ARG_ENABLE(libv4l1,
-       [  --disable-libv4l1    Disable usage of libv4l1, really discouraged],
-       [case "${enableval}" in
-@@ -680,6 +687,10 @@ this check.
- 	fi
- fi
- 
-+fi
-+
-+AM_CONDITIONAL(BUILD_V4L1, test x$found_v4l1 = xyes )
-+AM_CONDITIONAL(BUILD_V4L2, test x$found_v4l2 = xyes )
- 
- AC_ARG_ENABLE(tests,
-       [  --enable-tests    Disable compilation of tests],
--- 
-1.8.0
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-libs/mediastreamer/files/mediastreamer-underlinking.patch	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,53 @@
+From 497ad9c27385c02f4f038b6e787ada9c7b6f8373 Mon Sep 17 00:00:00 2001
+From: hasufell <hasufell@gentoo.org>
+Date: Wed, 9 Oct 2013 18:24:28 +0200
+Subject: [PATCH] fix underlinking
+
+---
+ configure.ac    | 20 ++++++++++++++++++++
+ src/Makefile.am |  2 +-
+ 2 files changed, 21 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9f402bd..4b923a9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -893,6 +893,26 @@ fi
+ 	echo "G729 AnnexB in RFC3389 is disabled."
+ fi
+ AM_CONDITIONAL(LIBBCG729,test x$g729bCN != xfalse)
++dnl Check for clock_gettime, in libc for FreeBSD, in rt for linux,
++dnl in rt for Solaris 7, in posix4 for Solaris 2.5.1
++LIB_CLOCK_GETTIME=
++clk_saved_libs=$LIBS
++AC_SEARCH_LIBS([clock_gettime], [rt posix4],
++    [test "$ac_cv_search_clock_gettime" = "none required" ||
++    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
++AC_SUBST([LIB_CLOCK_GETTIME])
++
++AC_MSG_CHECKING([for working clock_gettime])
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
++    [[clock_gettime(CLOCK_REALTIME, 0);]])], [gnupg_cv_clock_gettime=yes], [gnupg_cv_clock_gettime=no])
++AC_MSG_RESULT($gnupg_cv_clock_gettime)
++
++if test x"$gnupg_cv_clock_gettime" = xyes; then
++    AC_DEFINE([HAVE_CLOCK_GETTIME], 1,
++    [Define to 1 if you have the `clock_gettime' function.])
++fi
++LIBS=$clk_saved_libs
++
+ 
+ dnl ##################################################
+ dnl # Check for doxygen
+diff --git a/src/Makefile.am b/src/Makefile.am
+--- a/src/Makefile.am	2015-03-22 14:54:22.241017401 +0500
++++ b/src/Makefile.am	2015-03-22 14:53:58.336018407 +0500
+@@ -327,7 +327,7 @@
+ 	awk 'BEGIN { print("MSFilterDesc * ms_voip_filter_descs[]={") } { printf("&%s,\n",$$1) } END{ print("NULL\n};\n") } ' $(abs_builddir)/voipdescs.txt >> $(abs_builddir)/$@
+ 
+ 
+-libmediastreamer_base_la_LIBADD = $(ORTP_LIBS)
++libmediastreamer_base_la_LIBADD = $(ORTP_LIBS) @LIB_CLOCK_GETTIME@
+ libmediastreamer_base_la_LDFLAGS = -no-undefined -version-info $(LIBMEDIASTREAMER_SO_VERSION)
+ libmediastreamer_voip_la_LDFLAGS = -no-undefined -version-info $(LIBMEDIASTREAMER_SO_VERSION)
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-libs/mediastreamer/files/mediastreamer-xxd.patch	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,16 @@
+--- a/src/Makefile.am	2015-03-22 15:10:30.685976674 +0500
++++ b/src/Makefile.am	2015-03-22 15:13:33.590968982 +0500
+@@ -471,11 +471,11 @@
+ 
+ yuv2rgb.fs.h: yuv2rgb.fs
+ 	cd $(abs_srcdir) && \
+-	xxd -i yuv2rgb.fs | sed s/}\;/,0x00}\;/ > $(abs_builddir)/yuv2rgb.fs.h
++	xxdi.pl yuv2rgb.fs | sed s/}\;/0x00}\;/ > $(abs_builddir)/yuv2rgb.fs.h
+ 
+ yuv2rgb.vs.h: yuv2rgb.vs
+ 	cd $(abs_srcdir) && \
+-	xxd -i yuv2rgb.vs | sed s/}\;/,0x00}\;/ > $(abs_builddir)/yuv2rgb.vs.h
++	xxdi.pl yuv2rgb.vs | sed s/}\;/0x00}\;/ > $(abs_builddir)/yuv2rgb.vs.h
+ 
+ #because make bundle serahc in this dir
+ install-data-local:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-libs/mediastreamer/mediastreamer-2.15.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,178 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="Mediastreaming library for telephony application"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86"
+# Many cameras will not work or will crash an application if mediastreamer2 is
+# not built with v4l2 support (taken from configure.ac)
+# TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
+IUSE="+alsa amr bindist coreaudio debug doc examples +filters g726 g729 gsm ilbc
+	ipv6 libav ntp-timestamp opengl opus +ortp oss pcap portaudio pulseaudio sdl
+	silk +speex static-libs test theora upnp v4l video vpx x264 X"
+
+REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
+	video? ( || ( opengl sdl X ) )
+	theora? ( video )
+	X? ( video )
+	v4l? ( video )
+	opengl? ( video )"
+
+RDEPEND="net-libs/libsrtp:0
+	alsa? ( media-libs/alsa-lib )
+	g726? ( >=media-libs/spandsp-0.0.6_pre1 )
+	gsm? ( media-sound/gsm )
+	opus? ( media-libs/opus )
+	ortp? ( >=net-libs/ortp-1 )
+	pcap? ( sys-libs/libcap )
+	portaudio? ( media-libs/portaudio )
+	pulseaudio? ( media-sound/pulseaudio )
+	speex? ( media-libs/speex media-libs/speexdsp )
+	upnp? ( net-libs/libupnp:* )
+	video? (
+		libav? ( media-video/libav:0/11 )
+
+		opengl? ( media-libs/glew:0
+			virtual/opengl
+			x11-libs/libX11 )
+		v4l? ( media-libs/libv4l
+			sys-kernel/linux-headers )
+		theora? ( media-libs/libtheora )
+		sdl? ( media-libs/libsdl[video,X] )
+		X? ( x11-libs/libX11
+			x11-libs/libXv ) )"
+DEPEND="${RDEPEND}
+	dev-util/intltool
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )
+	opengl? ( dev-util/xxdi )
+	test? ( >=dev-util/cunit-2.1_p3[ncurses] )
+	X? ( x11-proto/videoproto )"
+
+PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) )
+	g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) )
+	ilbc? ( media-plugins/mediastreamer-ilbc )
+	video? ( x264? ( media-plugins/mediastreamer-x264 ) )
+	silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )"
+
+src_prepare() {
+	eapply_user
+
+	# variable causes "command not found" warning and is not
+	# needed anyway
+	sed -i \
+		-e 's/$(ACLOCAL_MACOS_FLAGS)//' \
+		Makefile.am || die
+
+	# respect user's CFLAGS
+	sed -i \
+		-e "s:-O2::;s: -g::" \
+		configure.ac || die "patching configure.ac failed"
+
+	# change default paths
+	sed -i \
+		-e "s:\(prefix/share\):\1/${PN}:" \
+		configure.ac || die "patching configure.ac failed"
+
+	# fix doc installation dir
+	sed -i \
+		-e "s:\$(pkgdocdir):\$(docdir):" \
+		help/Makefile.am || die "patching help/Makefile.am failed"
+
+	# fix html installation dir
+	sed -i \
+		-e "s:\(doc_htmldir=\).*:\1\$(htmldir):" \
+		help/Makefile.am || die "patching help/Makefile.am failed"
+
+	# linux/videodev.h dropped in 2.6.38
+	sed -i \
+		-e 's:linux/videodev.h ::' \
+		configure.ac || die
+
+	# break check for conflicts with polarssl (emdedtls is used instead anyway)
+	sed -i \
+		-e 's:sha1_update:sha1_update_XXX:' \
+		configure.ac || die
+
+	epatch \
+		"${FILESDIR}/${PN}-underlinking.patch" \
+		"${FILESDIR}/${PN}-xxd.patch"
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
+		--datadir="${EPREFIX}"/usr/share/${PN}
+		# arts is deprecated
+		--disable-artsc
+		# don't want -Werror
+		--disable-strict
+		--disable-libv4l1
+		# don't use bundled libs
+		--enable-external-ortp
+		$(use_enable alsa)
+		$(use_enable pulseaudio)
+		$(use_enable coreaudio macsnd)
+		$(use_enable debug)
+		$(use_enable filters)
+		$(use_enable g726 spandsp)
+		$(use_enable gsm)
+		$(use_enable ntp-timestamp)
+		$(use_enable opengl glx)
+		$(use_enable opus)
+		$(use_enable ortp)
+		$(use_enable oss)
+		$(use_enable pcap)
+		$(use_enable portaudio)
+		$(use_enable speex)
+		$(use_enable static-libs static)
+		$(use_enable theora)
+		$(use_enable upnp)
+		$(use_enable video)
+		$(use_enable vpx vp8)
+		$(use_enable v4l)
+		$(use_enable v4l libv4l2)
+		$(use_enable sdl)
+		$(use_enable X x11)
+		$(use_enable X xv)
+
+		$(use doc || echo ac_cv_path_DOXYGEN=false)
+	)
+
+	# Mac OS X Audio Queue is an audio recording facility, available on
+	# 10.5 (Leopard, Darwin9) and onward
+	if use coreaudio && [[ ${CHOST} == *-darwin* && ${CHOST##*-darwin} -ge 9 ]]
+	then
+		myeconfargs+=( --enable-macaqsnd )
+	else
+		myeconfargs+=( --disable-macaqsnd )
+	fi
+
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	default
+	cd tester || die
+	./mediastreamer2_tester || die
+}
+
+src_install() {
+	default
+	prune_libtool_files
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins tester/*.c
+	fi
+}
--- a/media-libs/mediastreamer/mediastreamer-2.8.2.ebuild	Wed May 24 10:51:26 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit autotools eutils multilib
-
-DESCRIPTION="Mediastreaming library for telephony application"
-HOMEPAGE="http://www.linphone.org/"
-SRC_URI="mirror://nongnu/linphone/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-# Many cameras will not work or will crash an application if mediastreamer2 is
-# not built with v4l2 support (taken from configure.ac)
-# TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
-IUSE="+alsa amr bindist coreaudio debug doc examples g726 g729 gsm ilbc
-	ipv6 oss portaudio pulseaudio sdl silk +speex static-libs theora v4l
-	video x264 X"
-
-REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
-	video? ( || ( sdl X ) )
-	theora? ( video )
-	X? ( video )
-	v4l? ( video )"
-
-RDEPEND=">=net-libs/ortp-0.17[ipv6?]
-	alsa? ( media-libs/alsa-lib )
-	g726? ( >=media-libs/spandsp-0.0.6_pre1 )
-	gsm? ( media-sound/gsm )
-	portaudio? ( media-libs/portaudio )
-	pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )
-	speex? ( >=media-libs/speex-1.2_beta3 )
-	video? (
-		virtual/ffmpeg
-		v4l? ( media-libs/libv4l
-			sys-kernel/linux-headers )
-		theora? ( media-libs/libtheora )
-		sdl? ( media-libs/libsdl[video,X] )
-		X? ( x11-libs/libX11
-			x11-libs/libXv ) )"
-DEPEND="${RDEPEND}
-	dev-util/intltool
-	virtual/pkgconfig
-	x11-proto/videoproto
-	doc? ( app-doc/doxygen )"
-
-PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) )
-	g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) )
-	ilbc? ( media-plugins/mediastreamer-ilbc )
-	video? ( x264? ( media-plugins/mediastreamer-x264 ) )
-	silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )"
-
-src_prepare() {
-	# respect user's CFLAGS
-	sed -i -e "s:-O2::;s: -g::" configure.ac || die "patching configure.ac failed"
-
-	# change default paths
-	sed -i -e "s:\(\${prefix}/\)lib:\1$(get_libdir):" \
-		-e "s:\(prefix/share\):\1/${PN}:" configure.ac \
-		|| die "patching configure.ac failed"
-
-	# fix html doc installation dir
-	sed -i -e "s:\$(pkgdocdir):\$(docdir):" help/Makefile.am \
-		|| die "patching help/Makefile.am failed"
-	sed -i -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" help/Makefile.am \
-		|| die "patching help/Makefile.am failed"
-
-	epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
-		"${FILESDIR}/${P}-autopoint.patch" \
-		"${FILESDIR}/${P}-ffmpeg-1.0.patch" \
-		"${FILESDIR}/${P}-libav9.patch"
-
-	# linux/videodev.h dropped in 2.6.38
-	sed -i -e 's:linux/videodev.h ::' configure.ac || die
-
-	# don't build examples in tests/
-	sed -i -e "/SUBDIRS/s/ tests//" Makefile.in || die
-
-	# patch from https://bugs.gentoo.org/show_bug.cgi?id=560334
-	sed -i -e "s/CodecID/AVCodecID/g" src/videodec.c
-	sed -i -e "s/CodecID/AVCodecID/g" src/videoenc.c
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
-		--datadir="${EPREFIX}"/usr/share/${PN}
-		# arts is deprecated
-		--disable-artsc
-		# don't want -Werror
-		--disable-strict
-		--disable-libv4l1
-		# don't use bundled libs
-		--enable-external-ortp
-		$(use_enable alsa)
-		$(use_enable pulseaudio)
-		$(use_enable coreaudio macsnd)
-		$(use_enable debug)
-		$(use_enable g726 spandsp )
-		$(use_enable gsm)
-		$(use_enable ipv6)
-		$(use_enable oss)
-		$(use_enable portaudio)
-		$(use_enable speex)
-		$(use_enable static-libs static)
-		$(use_enable theora)
-		$(use_enable video)
-		$(use_enable v4l)
-		$(use_enable v4l libv4l2)
-		$(use_enable sdl)
-		$(use_enable X x11)
-		$(use_enable X xv)
-
-		$(use doc || echo ac_cv_path_DOXYGEN=false)
-	)
-
-	# Mac OS X Audio Queue is an audio recording facility, available on
-	# 10.5 (Leopard, Darwin9) and onward
-	if use coreaudio && [[ ${CHOST} == *-darwin* && ${CHOST##*-darwin} -ge 9 ]]
-	then
-		myeconfargs+=( --enable-macaqsnd )
-	else
-		myeconfargs+=( --disable-macaqsnd )
-	fi
-
-	econf "${myeconfargs[@]}"
-}
-
-src_install() {
-	default
-	prune_libtool_files
-
-	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins tests/*.c
-	fi
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/bctoolbox/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST bctoolbox-0.5.1.tar.gz 103040 SHA256 24ff61eb38324470006e26f2ae5a865ec8f10a55e6bf561cde334aebdd7c6fe1 SHA512 698abecb5f28c4e49b21a9296f5672a62f45d47693515e251fb952f62ca0843888e3b7d2a4c5aeba79da6cc94875f0cc0ab8d587cef92fe6604713a6b799fdca WHIRLPOOL 3fd3f206a8eed222713bed43c42ab97422157a7208dda539a264291362664fb4259f1fb694202192a200a299752ee6f7236fafe0b636d71e4a3bb7e6ff856aca
+EBUILD bctoolbox-0.5.1.ebuild 507 SHA256 d6067008ca71af8e557e6782097c3c77ded0d441754740468c65898e4a92dce8 SHA512 66c122beddf7261de921993b22b10e579248ab6dadd7a49beb30988f7d341f61325e74f2e87752c3dc22fdd4f9382bca016a16356973b357560a5af9be81ffbb WHIRLPOOL 9c73590219362b8e59707ff2ee924b435a160f661eb13a4a90eb99bbfe66e88794677cc4cb733ef27f12988400414857ef58d3be7e6f50e3d0ee383017f810aa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/bctoolbox/bctoolbox-0.5.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils autotools
+
+DESCRIPTION="Utilities library used by Belledonne Communications softwares"
+HOMEPAGE="https://savannah.nongnu.org/projects/linphone/"
+SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="dev-util/bcunit
+	net-libs/mbedtls"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/ortp/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST ortp-1.0.1.tar.gz 211110 SHA256 5c3bba8d30062e9264be28dc04280f991b652700a180c7aeb6402a23458cb5eb SHA512 e74aeb38ae91e6bf1a0f599f93ae2931f68e80dd078d0101b52347a8d86909e2ced0723f7e4c328968604064ff0a21b2b2a89d86ac2c0c1e89f4d7ff408a451f WHIRLPOOL 3199df4bfa9b7115580f73183b55bd0ffc1a5878fd2880349018920ab4031cd554a2333b4dbc0f87dabb9bfa27e03bad81e4f756c80dc9d9d28437e01a90f838
+EBUILD ortp-1.0.1.ebuild 1405 SHA256 69cdc4d7491def5fb0c4de13f13a2d93163b221ac421b527e6930f70b74d31cc SHA512 5ac7b687e7e3416ad5709ee17c0592c383ffa7a3ef33be39040dd524e75d8512a593ec7c8d68af9c078d79da62f472ab4c9fb3e8e2bd9e83a2095c64cc6a661f WHIRLPOOL 82e192432ba7aaa69db551375161c38eaf5deca72026a23392a1be25b1a9ac2f1bef2b3fd78b978ff6e3b246b1b8c01fc7638b703cc6e7c1482530d872276e30
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/ortp/ortp-1.0.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils autotools
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/9"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples minimal ntp-timestamp"
+
+RDEPEND="
+	>=net-libs/bctoolbox-0.5
+"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	default
+	# ${P} is added after ${docdir}
+	if use doc; then
+		sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.am \
+			|| die "patching Makefile.am failed"
+	fi
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		# memcheck is for HP-UX only
+		--disable-memcheck
+		# mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
+		--disable-mode64bit
+		# strict adds -Werror, do not want it
+		--disable-strict
+		--enable-fast-install
+		--enable-libtool-lock
+
+		$(use_enable debug)
+		$(use_enable minimal perf)
+		$(use_enable ntp-timestamp)
+
+		$(use doc || echo ac_cv_path_DOXYGEN=false)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+		install
+
+	einstalldocs
+
+	prune_libtool_files
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins src/tests/*.c
+	fi
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/belle-sip/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST belle-sip-1.6.1.tar.gz 594850 SHA256 fb2ac793d3eacceb76140d654a196065ec04ccc8ac5a83b2193c081aa06a6e5e SHA512 052ad6d35daad6a53cc3a7a6c1f435a851d8f2388443227019037d704eb913bd5e1d383fbf3e509e29965abaf25f20757b5667e861459dffe879f9a8842d3f44 WHIRLPOOL 3a39e818ff11538687372f5188402276c74cff7dc4fc7b980faf9af96a6df13446b0ca51e2a8a195c9d7bb452879c10563793be7f7cb2d8c72d29c0015cae1f6
+EBUILD belle-sip-1.6.1.ebuild 1107 SHA256 3aacbf9f03997ec733e5a06d6f069eed4ee43f1b51ca51c9c0e968f4dfb21e9b SHA512 1f169aa9ead9bc614f720522694d08b756ef10bf524d5d3ae7abfb46ac4731b34d0a933a94fc212326518aa5fe390bcb506458f76971e70281bdb38482df9c47 WHIRLPOOL 7ffa28b7d9de7d528a9d3fcfb3d297bef8ba68e8464d6fda5ad1a5704774c358a462aa60b26af0b5a2d19e963332934ca6d175b10b198a5cff6e27310183ba36
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/belle-sip/belle-sip-1.6.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="C object oriented SIP Stack."
+HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip/overview"
+SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+
+IUSE="debug examples test +tls -tunnel +zlib"
+REQUIRED_USE=""
+
+DEPEND="${RDEPEND}
+	dev-java/antlr:3
+	dev-libs/antlr-c
+	net-libs/bctoolbox
+	dev-util/intltool
+	sys-devel/libtool
+	virtual/pkgconfig
+	test? ( >=dev-util/cunit-2.1_p3[ncurses] )"
+
+src_prepare() {
+	default
+	sed -i -e 's,-Werror,,' configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable debug)
+		$(use_enable tls)
+		$(use_enable tunnel)
+		$(use_enable test tests)
+		$(use_enable zlib)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	default
+	test -d tester || die
+	emake -C tester test
+}
+
+src_install() {
+	default
+	prune_libtool_files
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins tester/*.c
+	fi
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/blink/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST release-3.0.3.tar.gz 1874057 SHA256 26bf454c1db3407c4f6c16e0edece31d2cbbbd4e45d61fd11eb319c695f8b277 SHA512 bf00da76662de27a968e8c9f4f14eaa6292b0bde26a82adfb47f4b90cdfae5816a6c3296ace564c7112cb4a44918035f7fd10095937c3f4cf78e4eee517d791e WHIRLPOOL fb8a5891937ce4a7bf9314b78c08ff858fbac45c84be0fcc4df217fd57cd1a2969cd5074184a16f5d7e4c0b6b5cc7337c6f563a33236f57c75300f09c2275e10
+EBUILD blink-3.0.3.ebuild 1791 SHA256 b9668c43f4ce3c92003cf421bfa5c724bc6eb283c2219c763477a80d361b4dc8 SHA512 39817a0a7378f4b3c441c66cc0687b63f9507003e3fc9252cd1a83cf09e9b61f913430eb4812c5d5229bfc27846f52d4702b5265a64e81c0d40d2fd3fad9862f WHIRLPOOL 5b57d455625434d317950c2a4ef57acc67cf87e3337fad795e05203769eb112e194355fde9a97f07977f81ad9fdc37bdf902ac863f86fa22c9223667bcb9169f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/blink/blink-3.0.3.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit eutils gnome2-utils distutils-r1
+
+DESCRIPTION="A state of the art, easy to use SIP client"
+HOMEPAGE="http://iCanBlink.com"
+SRC_URI="https://github.com/AGProjects/${PN}-qt/archive/release-${PV}.tar.gz"
+
+S="${WORKDIR}/${PN}-qt-release-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="net-libs/libvncserver"
+RDEPEND="${CDEPEND}
+	dev-python/python-application[${PYTHON_USEDEP}]
+	dev-python/python-cjson[${PYTHON_USEDEP}]
+	dev-python/python-eventlib[${PYTHON_USEDEP}]
+	dev-python/PyQt5[webkit,${PYTHON_USEDEP}]
+	dev-python/twisted-core[${PYTHON_USEDEP}]
+	>=dev-python/python-sipsimple-3.1.0[${PYTHON_USEDEP}]
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+	dev-python/google-api-python-client[${PYTHON_USEDEP}]
+	dev-python/python-dateutil[${PYTHON_USEDEP}]
+	dev-python/gmpy:2[${PYTHON_USEDEP}]
+	>=dev-python/python-application-2.0.0[${PYTHON_USEDEP}]
+	>=dev-python/python-otr-1.2.0[${PYTHON_USEDEP}]
+	dev-python/python-gnutls[${PYTHON_USEDEP}]
+"
+DEPEND="${CDEPEND}
+	dev-python/cython[${PYTHON_USEDEP}]"
+
+src_compile() {
+	python setup.py build_ext
+}
+
+src_install() {
+	python setup.py install --home "${D}" --install-purelib="${D}"usr/lib64/python2.7/site-packages --install-platlib="${D}"usr/lib64/python2.7/site-packages --install-scripts="${D}"/usr/bin --install-data="${D}"usr
+
+	newicon -s 48 resources/icons/blink48.png blink.png
+	newicon -s 64 resources/icons/blink64.png blink.png
+	doicon -s 512 resources/icons/blink.png
+
+	make_desktop_entry ${PN} Blink
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/linphone/Manifest	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,2 @@
+DIST linphone-3.11.1.tar.gz 18504096 SHA256 dc88ef3d311495b9db6041f2ed7b99f6b00a91339c1612e63b4071a4f0a0404e SHA512 c5ca879b7328425e637dca2479461f64c00ee2dec7e6345cacbf144d5ce8a0a0266f2f42a6b7a9c24ebcd186337dd695e09ec3bf0a2cd5ecc854c0bfb5b99468 WHIRLPOOL 937c5ea57a022fee477621915a292f8bb92b023b7354fdb78b3a2a517eaeb6cc2c42e3bda57e4bec37d404bc0a0bc90c20982b6d1f3a4369245c8f7717c8a94d
+EBUILD linphone-3.11.1.ebuild 3225 SHA256 6ce077bc27fefff50137c1e2516fdbb838bf39e551abcbca3251fef73bdc651f SHA512 f7bfadea8f2eb92d2e7e7bb4cf44ffd5cf491a4a44e899ead4d9dbf96431e0026f5a445d43e8fb9ae9dc89c9eefcc6ea751c8cc012c273270e01c8df0fc7e011 WHIRLPOOL 5fcfdd7dbbcc42363e144dad2b8c20139798c748191fa67e21a762ecfcc4597936288fdf4253aa695b044a461eeb4a3897d998db4bf3519bc103957a2b148ba6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-voip/linphone/linphone-3.11.1.ebuild	Fri Jul 21 11:00:48 2017 +0200
@@ -0,0 +1,126 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils multilib pax-utils versionator
+
+DESCRIPTION="Video softphone based on the SIP protocol"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
+
+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 ldap libnotify ncurses nls sqlite tools upnp vcard video zlib"
+REQUIRED_USE="assistant? ( gtk )
+	libnotify? ( gtk )"
+
+RDEPEND="
+	>=media-libs/mediastreamer-2.15.0[upnp?,video?]
+	>=net-libs/ortp-0.24.0
+	net-libs/bctoolbox
+	>=net-voip/belle-sip-1.6
+	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.15.0[gsm] )
+	ldap? (
+		dev-libs/cyrus-sasl
+		net-nds/openldap
+	)
+	ncurses? (
+		sys-libs/readline:0
+		sys-libs/ncurses:0
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tools? ( dev-libs/libxml2 )
+	upnp? ( net-libs/libupnp:0 )
+	vcard? ( net-voip/belcard )
+	video? ( >=media-libs/mediastreamer-2.15.0[v4l] )
+	zlib? ( sys-libs/zlib )
+"
+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() {
+	default
+	epatch "${FILESDIR}"/${PN}-nls.patch \
+		"${FILESDIR}"/${PN}-no-cam-crash-fix.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
+	# and lime actually does not depend on polarssl (upstream bug)
+	sed -i \
+		-e "s:lib\(/liblinphone\):$(get_libdir)\1:" \
+		-e "s:found_polarssl=no:found_polarssl=yes:" \
+		configure.ac || die "patching configure.ac failed"
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable doc manual)
+		$(use_enable doc doxygen)
+		$(use_enable nls)
+		--disable-static
+		$(use_enable ldap)
+		$(use_enable ncurses console_ui)
+		$(use_enable tools)
+		$(use_enable upnp)
+		$(use_enable gtk gtk_ui)
+		$(use_enable libnotify notify)
+		--enable-lime
+		$(use_enable ipv6)
+		--disable-truespeech
+		$(use_enable gsm-nonstandard nonstandard-gsm)
+		--disable-speex
+		# seems not used, TODO: ask in ml
+		$(use_enable video)
+		--disable-zrtp
+		$(use_enable assistant)
+		# we don't want -Werror
+		--disable-strict
+		# don't bundle libs
+		--enable-external-mediastreamer
+		$(use_enable sqlite sqlite-storage)
+		--enable-external-ortp
+		$(use_enable vcard)
+		$(use_enable zlib)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161
+	dodoc AUTHORS BUGS ChangeLog NEWS README.md README.arm TODO
+	pax-mark m "${ED%/}/usr/bin/linphone"
+}