diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/h323plus | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/h323plus')
-rw-r--r-- | net-libs/h323plus/Manifest | 1 | ||||
-rw-r--r-- | net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch | 15 | ||||
-rw-r--r-- | net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch | 13 | ||||
-rw-r--r-- | net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch | 18 | ||||
-rw-r--r-- | net-libs/h323plus/h323plus-1.25.0-r1.ebuild | 68 | ||||
-rw-r--r-- | net-libs/h323plus/metadata.xml | 15 |
6 files changed, 130 insertions, 0 deletions
diff --git a/net-libs/h323plus/Manifest b/net-libs/h323plus/Manifest new file mode 100644 index 000000000000..2a704d77c3d3 --- /dev/null +++ b/net-libs/h323plus/Manifest @@ -0,0 +1 @@ +DIST h323plus-v1_25_0.tar.gz 4193136 SHA256 1f4c10f4a087493fdc62e1b27041966f2fa2163941db99b1afe1551968fef190 SHA512 f0b8b26a0062eadc183af60d25302f95d06720dffe23f0bc0c9568ce34d7aae10acef434da9e09839fe19fcdc9f7f5d47396eb7c684ef55e457556abb66a682d WHIRLPOOL d3267238a8eea5537bff1e5b55c84adb3b011ed51f21da1c451f8f28e8bdc537b94a8f294e85cf07ed2d54e53ac6cdc279c365714e556261c8fb799d5ba9a154 diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch new file mode 100644 index 000000000000..74856a099c0f --- /dev/null +++ b/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch @@ -0,0 +1,15 @@ +Fix macro definition for ptlib-2.10.10 compatibility +http://lists.packetizer.com/pipermail/h323plus/2012-December/002543.html + +diff -ur a/include/openh323buildopts.h.in b/include/openh323buildopts.h.in +--- a/include/openh323buildopts.h.in 2012-09-21 05:53:21.000000000 +0200 ++++ b/include/openh323buildopts.h.in 2013-03-05 19:26:25.251373540 +0100 +@@ -35,7 +35,7 @@ + #include <ptbuildopts.h> + #include <ptlib/../../revision.h> + +-#if PTLIB_MAJOR == 2 && PTLIB_MINOR < 10 ++#if PTLIB_MAJOR == 2 && PTLIB_MINOR <= 10 + #define PTLIB_VER ( PTLIB_MAJOR*100 + PTLIB_MINOR*10 + PTLIB_BUILD ) + #else + #define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + PTLIB_BUILD ) 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-r1.ebuild b/net-libs/h323plus/h323plus-1.25.0-r1.ebuild new file mode 100644 index 000000000000..76bac758253a --- /dev/null +++ b/net-libs/h323plus/h323plus-1.25.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 debug +sound +video" +SLOT="0/${PV}" +LICENSE="MPL-1.1" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86" + +DEPEND=">=net-libs/ptlib-2.6.4:=[wav] + aec? ( >=media-libs/speex-1.2_rc1 ) + sound? ( + 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 + epatch "${FILESDIR}"/${PN}-1.25.0-ptlib-2.10.10.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 sound 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/$(get_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..f34428bcd21b --- /dev/null +++ b/net-libs/h323plus/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> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <use> + <flag name="aec">Enable acoustic echo cancellation</flag> + <flag name="sound">Enable audio codecs</flag> + <flag name="video">Enable video codecs</flag> + </use> + <upstream> + <remote-id type="sourceforge">h323plus</remote-id> + </upstream> +</pkgmetadata> |