+++ /dev/null
-DIST h323plus-v1_25_0.tar.gz 4193136 BLAKE2B 341458e146cef9a006a990ae04749c4f18dfeababb07fee69eaf19a72fb5509d76e8eccb553ecf91b9b13123b485b40be8dc96c7c797706f516b7ff36db83a32 SHA512 f0b8b26a0062eadc183af60d25302f95d06720dffe23f0bc0c9568ce34d7aae10acef434da9e09839fe19fcdc9f7f5d47396eb7c684ef55e457556abb66a682d
+++ /dev/null
-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 )
+++ /dev/null
-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;
- }
-
+++ /dev/null
-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);
-
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-MY_P="${PN}-v${PV//./_}"
-
-DESCRIPTION="Open Source implementation of the ITU H.323 protocol, successor of 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
-}
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-MY_P="${PN}-v${PV//./_}"
-
-DESCRIPTION="Open Source implementation of the ITU H.323 protocol, successor of 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:=[-debug,wav]
- aec? ( >=media-libs/speex-1.2_rc1 )
- sound? (
- media-sound/gsm
- dev-libs/ilbc-rfc3951
- )
- video? (
- media-libs/libtheora
- virtual/ffmpeg
- )
- net-nds/openldap
- dev-libs/openssl:0="
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <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>