summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-02-22 19:04:24 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-02-22 19:04:24 +0000
commite17694246f2eca94c057e1eeaf40ca25a5155b63 (patch)
tree4b83d016e476d1298f65fb5a4bc8ebe3f3782a01 /net-libs
parentAdd ~arm-linux keywords. (diff)
downloadhistorical-e17694246f2eca94c057e1eeaf40ca25a5155b63.tar.gz
historical-e17694246f2eca94c057e1eeaf40ca25a5155b63.tar.bz2
historical-e17694246f2eca94c057e1eeaf40ca25a5155b63.zip
Initial commit, bug #290106.
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/h323plus/ChangeLog11
-rw-r--r--net-libs/h323plus/Manifest6
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch13
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch18
-rw-r--r--net-libs/h323plus/h323plus-1.25.0.ebuild67
-rw-r--r--net-libs/h323plus/metadata.xml10
6 files changed, 125 insertions, 0 deletions
diff --git a/net-libs/h323plus/ChangeLog b/net-libs/h323plus/ChangeLog
new file mode 100644
index 000000000000..ea1d0f097079
--- /dev/null
+++ b/net-libs/h323plus/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-libs/h323plus
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/ChangeLog,v 1.1 2013/02/22 19:04:21 chithanh Exp $
+
+*h323plus-1.25.0 (22 Feb 2013)
+
+ 22 Feb 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/h323plus-1.25.0-ptrace-debugoptionlist.patch,
+ +files/h323plus-1.25.0-ptrace-param.patch, +h323plus-1.25.0.ebuild,
+ +metadata.xml:
+ Initial commit, bug #290106.
diff --git a/net-libs/h323plus/Manifest b/net-libs/h323plus/Manifest
new file mode 100644
index 000000000000..685ac7bdef45
--- /dev/null
+++ b/net-libs/h323plus/Manifest
@@ -0,0 +1,6 @@
+AUX h323plus-1.25.0-ptrace-debugoptionlist.patch 470 SHA256 72df4e0a97be69605ed980a7c857ede3fde42c13c8ea330d6d39181690f6d7ee SHA512 a12809c96ad236a1c3d9aed07976ea64653227f612676f0bac34fde6638e1719ade9fbd31e54f601c6dcefb52170788cead570b6dfdd2e1763b7b55d85e3d9ba WHIRLPOOL 8fb55c14c98647ac70c5d76f05fa4a9995b6f84618fb4385dc8fd1f6d06ac22339923f21efcda8e22147ca62307c241f8632a990c7a15fac6c2a912db7b0ef5b
+AUX h323plus-1.25.0-ptrace-param.patch 598 SHA256 c3035c2a869d391084efb6a0b2b048ad04c0799796e076e06f7211271934c642 SHA512 b51686ec30930cbf4749f233625a9f26651f7a93570468e70ff7e423fc74508f0495b74e565ff7f907a2e775572a54dc7253ebe8434e1d4f5a2b1b990638c09d WHIRLPOOL babe144faaf833ab7f1f29f21af9000be3123736dd8bf030eea339adf8b48d9618266c13e82b4810f836ddc42d8233cfb37a7a0c46ff03c9590d2958cc6cbea4
+DIST h323plus-v1_25_0.tar.gz 4193136 SHA256 1f4c10f4a087493fdc62e1b27041966f2fa2163941db99b1afe1551968fef190 SHA512 f0b8b26a0062eadc183af60d25302f95d06720dffe23f0bc0c9568ce34d7aae10acef434da9e09839fe19fcdc9f7f5d47396eb7c684ef55e457556abb66a682d WHIRLPOOL d3267238a8eea5537bff1e5b55c84adb3b011ed51f21da1c451f8f28e8bdc537b94a8f294e85cf07ed2d54e53ac6cdc279c365714e556261c8fb799d5ba9a154
+EBUILD h323plus-1.25.0.ebuild 1893 SHA256 cbce0596bf2d276effa52dbc1c6fb42a2b8bfe504be76b14e93be850b98cfcc2 SHA512 a30d96a95d4023d3bd98bd55d3a9a31f2a678ad5e01653f8058dbe76da6b1bcbd451a0ef89cc6c6a3afcffab631b6c28c6c1332d77247bff79383e88ff13a7c9 WHIRLPOOL 6f4c5b7c720b925c845182e47bce08c3142181c5e727cd9829243d091dff558faa5213ffb4febbd277b7de0c634d035528c9548115c8477ebfadc3af762d2e2b
+MISC ChangeLog 483 SHA256 b4a8dbb937ad3b83b7d12fbed866d40f28decd6b5b212741051bd36aa3b736b9 SHA512 6253df1f0c06a24238a35b797811db896743fa714a624c0cf618077d83b65a3655dcebbd87eaa815279ae95c0aa9f44552ebffa1fb9f659b735282675c7c4cca WHIRLPOOL 02cf7567c14addff6aed086d876c9e5c0ff6bfdf3e4da15fa7fd389bfe7ead7427810c31ac511a66a97f40ef32c48079f25f2eee4ebc1dcbaf0227432503e765
+MISC metadata.xml 338 SHA256 6a9f45b1b07a91f22a1ee2dcfeb4a9a42372576b8a2f78f423134410d0748e48 SHA512 148c8f1b6e0460f63ebfd4eec17ace5d37918df3a302c2c918c2f17549ac482144689201737344ceecf52c16152ba27df92736f14797684540c53f245db6d054 WHIRLPOOL b836d9c9d0542bc589a388d28ed6699f08938a0d915e457d6b82ba0802d814190751d6f27d52d5979a41ea5fc8f0f317d1b8875788775eb96bd8b41edd5ba6ea
diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch
new file mode 100644
index 000000000000..7e800f490f19
--- /dev/null
+++ b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch
@@ -0,0 +1,13 @@
+diff -ur a/src/h323pluginmgr.cxx b/src/h323pluginmgr.cxx
+--- a/src/h323pluginmgr.cxx 2012-11-29 17:23:26.000000000 +0100
++++ b/src/h323pluginmgr.cxx 2013-02-22 18:56:33.100356993 +0100
+@@ -1543,7 +1543,9 @@
+ PopulateMediaFormatOptions(codecDefn, fmt);
+ PopulateMediaFormatFromGenericData(fmt,
+ (PluginCodec_H323GenericCodecData *)codecDefn->h323CapabilityData);
++#if PTRACING
+ OpalMediaFormat::DebugOptionList(fmt);
++#endif
+ return true;
+ }
+
diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch
new file mode 100644
index 000000000000..c69e703f42c0
--- /dev/null
+++ b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch
@@ -0,0 +1,18 @@
+diff -ur a/src/rtp.cxx b/src/rtp.cxx
+--- a/src/rtp.cxx 2012-12-10 18:56:08.000000000 +0100
++++ b/src/rtp.cxx 2013-02-22 18:54:35.360358638 +0100
+@@ -1164,9 +1164,13 @@
+ return e_ProcessPacket;
+ }
+
+-
++#if PTRACING
+ void RTP_Session::OnRxSenderReport(const SenderReport & PTRACE_PARAM(sender),
+ const ReceiverReportArray & PTRACE_PARAM(reports))
++#else
++void RTP_Session::OnRxSenderReport(const SenderReport & sender,
++ const ReceiverReportArray & reports)
++#endif
+ {
+ userData->OnRxSenderReport(sessionID,sender,reports);
+
diff --git a/net-libs/h323plus/h323plus-1.25.0.ebuild b/net-libs/h323plus/h323plus-1.25.0.ebuild
new file mode 100644
index 000000000000..70e9e2df6aea
--- /dev/null
+++ b/net-libs/h323plus/h323plus-1.25.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild,v 1.1 2013/02/22 19:04:21 chithanh Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+MY_P="${PN}-v${PV//./_}"
+
+DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol, successor to OpenH323"
+HOMEPAGE="http://www.h323plus.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV//./_}.tar.gz"
+
+IUSE="aec +audio debug +video"
+SLOT="0"
+LICENSE="MPL-1.1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+
+DEPEND=">=net-libs/ptlib-2.6.4
+ aec? ( >=media-libs/speex-1.2_rc1 )
+ audio? (
+ media-sound/gsm
+ dev-libs/ilbc-rfc3951
+ )
+ video? (
+ media-libs/libtheora
+ virtual/ffmpeg
+ )"
+RDEPEND="${DEPEND}
+ !net-libs/openh323"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-param.patch
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-debugoptionlist.patch
+}
+
+src_configure() {
+ # TODO: support for h.263/h.264/sbc(bluetooth)/celt/spandsp
+ #export OPENH323DIR=${S}
+ econf \
+ PTLIB_CONFIG="${EPREFIX}/usr/bin/ptlib-config" \
+ $(use_enable video) \
+ $(use_enable audio) \
+ $(use_enable aec) \
+ $(use_enable debug asntracing)
+ # revision.h does not exist in ptlib(?)
+ sed -i "/revision.h/d" include/openh323buildopts.h || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ AR="$(tc-getAR)"
+ # these should point to the right directories,
+ # openh323.org apps and others need this
+ sed -i -e "s:^OH323_LIBDIR = \$(OPENH323DIR).*:OH323_LIBDIR = /usr/${libdir}:" \
+ openh323u.mak || die
+ sed -i -e "s:^OH323_INCDIR = \$(OPENH323DIR).*:OH323_INCDIR = /usr/include/openh323:" \
+ openh323u.mak || die
+ # this is hardcoded now?
+ sed -i -e "s:^\(OPENH323DIR[ \t]\+=\) "${S}":\1 /usr/share/openh323:" \
+ openh323u.mak || die
+}
diff --git a/net-libs/h323plus/metadata.xml b/net-libs/h323plus/metadata.xml
new file mode 100644
index 000000000000..de847b0c42f3
--- /dev/null
+++ b/net-libs/h323plus/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>voip</herd>
+ <use>
+ <flag name="aec">Enable acoustic echo cancellation</flag>
+ <flag name="audio">Enable audio codecs</flag>
+ <flag name="video">Enable video codecs</flag>
+ </use>
+</pkgmetadata>