summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-03-12 18:43:35 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-03-12 18:43:35 +0000
commite0cac67d490db265c172ab1813a12de09b1eea45 (patch)
tree4a99f2b84a66380f7bbfcfc6d7a4de5461ebab8f /net-libs
parentnet-misc/dahdi-tools: removing dahdi-tools as it is now in gentoo-x86 (diff)
downloadvoip-e0cac67d490db265c172ab1813a12de09b1eea45.tar.gz
voip-e0cac67d490db265c172ab1813a12de09b1eea45.tar.bz2
voip-e0cac67d490db265c172ab1813a12de09b1eea45.zip
net-libs/ptlib: version bump 2.4.4 to 2.4.5 + some enhancements
svn path=/trunk/; revision=805
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/ptlib/ChangeLog6
-rw-r--r--net-libs/ptlib/Manifest10
-rw-r--r--net-libs/ptlib/metadata.xml9
-rw-r--r--net-libs/ptlib/ptlib-2.4.5.ebuild (renamed from net-libs/ptlib/ptlib-2.4.4.ebuild)83
4 files changed, 61 insertions, 47 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog
index f392f02..2a654ec 100644
--- a/net-libs/ptlib/ChangeLog
+++ b/net-libs/ptlib/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*ptlib-2.4.5 (12 Mar 2009)
+
+ 12 Mar 2009; Mounir Lamouri (volkmar) <mounir.lamouri@gmail.com>
+ -ptlib-2.4.4.ebuild, +ptlib-2.4.5.ebuild:
+ version bump: 2.4.4 to 2.4.5 and misc enhancements
+
*ptlib-2.4.4 (03 Mar 2009)
03 Mar 2009; Mounir Lamouri (volkmar) <mounir.lamouri@gmail.com>
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest
index 8da8590..d2cb9cd 100644
--- a/net-libs/ptlib/Manifest
+++ b/net-libs/ptlib/Manifest
@@ -1,6 +1,6 @@
AUX ptlib-asm.patch 561 RMD160 3825ccdf533c614d6ed5ec2462e0b4308d72225b SHA1 3d9547f09baec55729bf8c8465064a67226b4bec SHA256 f97c433c846f9280c8f2e30b2ca3c618059bc4b809e892bb1ad7eba900b5e670
-DIST ptlib-2.4.4-htmldoc.tar.gz 3041205 RMD160 1ee1f974ec2b000b55c673eb096ad273ebd22f79 SHA1 5fb757c2a60ac4af7dc7113310fa892ef7e011d6 SHA256 47038b2b8a8b70ceacea18f7ef323c050f396c7bce3d284f078a5f96208deb12
-DIST ptlib-2.4.4.tar.bz2 3009442 RMD160 9a84d463bf203b1619a9df5a67d0fed80b182acd SHA1 a6255cc6f2fb337518a9c49d8ce21f1790729ca7 SHA256 c9ef4267490507fc9699634551b50c0c1c225d48e0c095a81be6fa5a1fa96a3a
-EBUILD ptlib-2.4.4.ebuild 8108 RMD160 0ad9142bd436b6ab51add00458ed9bfd635f66d4 SHA1 d24847e2eacdf347e2f34ef260d53e3d7125be00 SHA256 5fe1c168bd3f53a1de8071309f087b6a67d80ccbd08393300446dd844b7ebceb
-MISC ChangeLog 307 RMD160 e3d1be7bfc9a7137d7e68a072a0cddcfac9b550d SHA1 06153fea5dd6d6fab18e86a9f930e39c6b04542d SHA256 0f0ce17a864d61bd4149cd5beea504752faee90d8d4466348b1662b6cc947b23
-MISC metadata.xml 1106 RMD160 4098c8a10f393ab5cad6c42c63c08aaebb5fcbf4 SHA1 4cbd8bb9f0038871deeb80a88ca58d96e03a4718 SHA256 b58efba6889cbbd6b2083ac5db67a5e180d0eb770a587ef77890fbaaac0aa881
+DIST ptlib-2.4.5-htmldoc.tar.bz2 2082811 RMD160 b0afab6eecb040d7433293ed232ad534149a47bf SHA1 6aec9971ca03704b9a0818a5479b0f92d480a99f SHA256 20f9e3770520781dfe390768133fde1d1ef1b55c6320ef25905bb36da99c1ccb
+DIST ptlib-2.4.5.tar.bz2 2961858 RMD160 dd66ef8fc2edf470fce436ab1d3acc7c24d028d5 SHA1 b19d0590a77a66cded4556aea49d4a9ba81ed21f SHA256 06e17d81368106bcea103af42dfbb00e531645fbe0ea838dc4c8516608e889ae
+EBUILD ptlib-2.4.5.ebuild 8223 RMD160 7b7c23a733b023512449def7d95cfb42d8138efc SHA1 ba6ef16bf150ea26e18ce0ddf50add02acdb8435 SHA256 a5348bceafc68871cadd36e124c72a63d3cd10c0559795c691cd7f8198f1a867
+MISC ChangeLog 500 RMD160 aafc90e64b9556e126bd9ba51d8950bf9e126ed9 SHA1 deab488f0b0048da1155619d08c78acd2730c702 SHA256 0d5c671dfe34ab6835d8d18e255f70c82a32d8297977ac6c5e528ee85cf5a32a
+MISC metadata.xml 1404 RMD160 bd150b45cf5bef92875fa03800dc79457654fd15 SHA1 0e44796fd62af6917983364be6d2f083a376f358 SHA256 27268b5de8d274e068e3b438ca427c8998915961b1b1c7b477ab8ee66b67b062
diff --git a/net-libs/ptlib/metadata.xml b/net-libs/ptlib/metadata.xml
index 4207e6c..23ac079 100644
--- a/net-libs/ptlib/metadata.xml
+++ b/net-libs/ptlib/metadata.xml
@@ -6,18 +6,23 @@
<flag name="asn">Enable ASN decoding/encoding support</flag>
<flag name="audio">Enable audio support</flag>
<flag name="config-file">Enable config file support</flag>
+ <flag name="dtmf">Enable DTMF encoding/decoding support</flag>
<flag name="http">Enable http support</flag>
<flag name="http-forms">Enable http forms support</flag>
<flag name="http-server">Enable http server support</flag>
+ <flag name="mail">Enable mail protocols (POP3/SMTP)</flag>
<flag name="pipechan">Enable pipechannel support</flag>
- <flag name="plugins">Enable plugin support</flag>
<flag name="qos">Enable QOS support</flag>
+ <flag name="remote">Enable remote connection support</flag>
<flag name="resolver">Enable DNS resolver support</flag>
+ <flag name="serial">Enable serial port support</flag>
<flag name="shmvideo">Enable shared memory video devices</flag>
+ <flag name="socks">Enable SOCKS protocol support</flag>
+ <flag name="stun">Enable STUN support</flag>
+ <flag name="telnet">Enable telnet protocol support</flag>
<flag name="tts">Enable Text-To-Speech server support</flag>
<flag name="url">Enable url support</flag>
<flag name="video">Enable video support</flag>
- <flag name="video-file">Enable video file support</flag>
<flag name="vxml">Enable VXML support</flag>
<flag name="wav">Enable WAVFILE support</flag>
</use>
diff --git a/net-libs/ptlib/ptlib-2.4.4.ebuild b/net-libs/ptlib/ptlib-2.4.5.ebuild
index 80eb7b6..0647bcf 100644
--- a/net-libs/ptlib/ptlib-2.4.4.ebuild
+++ b/net-libs/ptlib/ptlib-2.4.5.ebuild
@@ -9,35 +9,35 @@ inherit eutils flag-o-matic
DESCRIPTION="Network focused portable C++ class library providing high level functions"
HOMEPAGE="http://www.opalvoip.org/"
SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
- doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.gz )"
+ doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
LICENSE="MPL-1.0"
SLOT="0"
KEYWORDS="~ppc"
# default enabled are features from 'minsize', the most used according to ptlib
-IUSE="alsa +asn +audio config-file debug doc esd examples ftp +http http-forms
-http-server ieee1394 ipv6 jabber odbc oss pch pipechan +plugins qos ldap
-resolver sasl sdl shmvideo snmp soap ssl tts +url v4l v4l2 +video +video-file
-vxml wav xml xmlrpc"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- esd? ( media-sound/esound )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- media-libs/libdc1394:1 )
+IUSE="alsa +asn +audio config-file debug doc dtmf esd examples ftp +http
+http-forms http-server ieee1394 ipv6 jabber ldap mail odbc oss pch pipechan
+qos remote resolver sasl sdl serial shmvideo snmp soap socks ssl +stun telnet
+tts +url v4l v4l2 +video vxml wav xml xmlrpc"
+
+RDEPEND="audio? ( alsa? ( media-libs/alsa-lib )
+ esd? ( media-sound/esound ) )
ldap? ( net-nds/openldap )
odbc? ( dev-db/unixODBC )
sasl? ( dev-libs/cyrus-sasl:2 )
sdl? ( media-libs/libsdl )
ssl? ( dev-libs/openssl )
- v4l2? ( media-libs/libv4l )
+ video? ( ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ media-libs/libdc1394:1 )
+ v4l2? ( media-libs/libv4l ) )
xml? ( dev-libs/expat )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/bison
sys-devel/flex
- v4l? ( sys-kernel/linux-headers )
- v4l2? ( sys-kernel/linux-headers )
+ video? ( v4l? ( sys-kernel/linux-headers )
+ v4l2? ( sys-kernel/linux-headers ) )
!!dev-libs/pwlib"
# NOTES:
@@ -55,12 +55,6 @@ pkg_setup() {
# warn user about use flag that are gonna override other ones
- if ! use plugins; then
- ewarn "disabling plugins will remove a lot of ptlib features"
- ewarn "it is _not_ recommended"
- warning=true
- fi
-
if ! use audio; then
ewarn "disabling audio will remove all audio support"
ewarn "even if other audio features have been enabled"
@@ -169,36 +163,40 @@ src_prepare() {
# this patch fixes bug 145424
# upstream have been contacted, see bug 2657924 in upstream bugtracker
+ # TODO: check for fix by upstream when bumping
epatch "${FILESDIR}"/${PN}-asm.patch
}
src_configure() {
+ local myconf=""
+
+ # plugins disable only if ! audio and ! video
+ if ! use audio && ! use video; then
+ myconf="${myconf} --disable-plugins"
+ else
+ myconf="${myconf} --enable-plugins"
+ fi
+
# minsize, openh323, opal: presets of features (overwritten by use flags)
# ansi-bool, atomicity: there is no reason to disable those features
# internalregex: we want to use external one
- # appshare, vfw: only for windows
# sunaudio and bsdvideo are respectively for SunOS and BSD's
- # dtmf, pop3smtp, remconn, serial, sock, sockagg, stun, telnet
- # all seem useless (TODO: check when new versions)
- econf \
+ # appshare, vfw: only for windows
+ # sockagg: always enabled, see bug 2685379 in upstream bugtracker
+ # samples: no need to build sample
+ econf ${myconf} \
--disable-minsize \
--disable-openh323 \
--disable-opal \
--enable-ansi-bool \
--enable-atomicity \
--disable-internalregex \
- --disable-appshare \
- --disable-vfw \
--disable-sunaudio \
--disable-bsdvideo \
- --disable-dtmf \
- --disable-pop3smtp \
- --disable-remconn \
- --disable-serial \
- --disable-socks \
- --disable-sockagg \
- --disable-stun \
- --disable-telnet \
+ --disable-appshare \
+ --disable-vfw \
+ --enable-sockagg \
+ --disable-samples \
$(use_enable audio) \
$(use_enable alsa) \
$(use_enable asn) \
@@ -206,6 +204,7 @@ src_configure() {
$(use_enable debug exceptions) \
$(use_enable debug memcheck) \
$(use_enable debug tracing) \
+ $(use_enable dtmf) \
$(use_enable esd) \
$(use_enable ftp) \
$(use_enable http) \
@@ -216,25 +215,30 @@ src_configure() {
$(use_enable ipv6) \
$(use_enable jabber) \
$(use_enable ldap openldap) \
+ $(use_enable mail pop3smtp) \
$(use_enable odbc) \
$(use_enable oss) \
$(use_enable pch) \
$(use_enable pipechan) \
- $(use_enable plugins) \
$(use_enable qos) \
+ $(use_enable remote remconn) \
$(use_enable resolver) \
$(use_enable sasl) \
$(use_enable sdl) \
+ $(use_enable serial) \
$(use_enable shmvideo) \
$(use_enable snmp) \
$(use_enable soap) \
+ $(use_enable socks) \
$(use_enable ssl openssl) \
+ $(use_enable stun) \
+ $(use_enable telnet) \
$(use_enable tts) \
$(use_enable url) \
$(use_enable v4l) \
$(use_enable v4l2) \
$(use_enable video) \
- $(use_enable video-file vidfile) \
+ $(use_enable video vidfile) \
$(use_enable vxml) \
$(use_enable wav wavfile) \
$(use_enable xml expat) \
@@ -256,11 +260,10 @@ src_install() {
dohtml -r html/* || die "dohtml failed"
fi
- dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "dodoc failed"
+ dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed"
- # ChangeLog is splitted and other branches ChangeLogs are in the tarball
- docinto ChangeLogs/
- dodoc ChangeLog-${PN}-v2_{0,1,2,3,4}_*.txt || die "dodoc failed"
+ # 2.4.5 has only one ChangeLog
+ dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
if use examples; then
local exampledir="/usr/share/doc/${PF}/examples"