summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2011-03-30 01:57:08 +0400
committerAndrew Savchenko <bircoph@gmail.com>2011-03-30 01:57:08 +0400
commit9792e11d138b1a32c55281132365e7503074b506 (patch)
treea1906da5d39abcf5cbcf21a78be7b3312aef4c0c /net-libs
parentroot-docs are updated upstream (diff)
downloadbircoph-9792e11d138b1a32c55281132365e7503074b506.tar.gz
bircoph-9792e11d138b1a32c55281132365e7503074b506.tar.bz2
bircoph-9792e11d138b1a32c55281132365e7503074b506.zip
Linphone update to 3.4.3
This update requires mediastreamer-2.7.3, ortp-0.16.5 update is optional.
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/ortp/Manifest2
-rw-r--r--net-libs/ortp/ortp-0.16.5.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/net-libs/ortp/Manifest b/net-libs/ortp/Manifest
index 8f2c53d..3b3c888 100644
--- a/net-libs/ortp/Manifest
+++ b/net-libs/ortp/Manifest
@@ -1,4 +1,6 @@
DIST ortp-0.16.4.tar.gz 472306 RMD160 9bddaff5ef0410298567b1aefa1463caf296623e SHA1 01aebb7651df38e4dd43151dbb6498585708d54c SHA256 20d579de5ae31f279ff66f8176bfc43002c6a94462c18742212c5e9d68196879
+DIST ortp-0.16.5.tar.gz 472396 RMD160 ca6577662cb4cd3fa28a86d1b1849dcb7724f4f3 SHA1 b82eb8626631e4decac1fc7c5937d04a4b3c41df SHA256 3b655a79f9122afd298e9cd702e542908bbd6ea1337c02553110c57e0b3c5835
EBUILD ortp-0.16.4.ebuild 2363 RMD160 2d1dba71c978392fb042928d08e86d1155ca5b7e SHA1 5eeff292fe8a7c2d1b289563d6074c8dcbdb1254 SHA256 20ffd6342f02549e8de87b86d25b122d1b2dcdf05fbaa578aab2de39d7860be5
+EBUILD ortp-0.16.5.ebuild 2363 RMD160 2d1dba71c978392fb042928d08e86d1155ca5b7e SHA1 5eeff292fe8a7c2d1b289563d6074c8dcbdb1254 SHA256 20ffd6342f02549e8de87b86d25b122d1b2dcdf05fbaa578aab2de39d7860be5
MISC ChangeLog 7968 RMD160 2f909be9b9c83e0e2b58a4b86704cfb3ee33775d SHA1 a8c7152eaf10770975a0b0829157ca3efe197b51 SHA256 3b66e2f2bed25110825a120c9fd91efb8c7aab206656be61558e0c84a080789b
MISC metadata.xml 330 RMD160 bbdf0c8f6eb13e9f0b08b49a3265a62c0f228a3c SHA1 a2bb062ad11f226a972fe02c4660b5e034adf029 SHA256 99937e3e0045cb0812725da6ca1bd118dcff96790b193d1936b25192e27c7fd9
diff --git a/net-libs/ortp/ortp-0.16.5.ebuild b/net-libs/ortp/ortp-0.16.5.ebuild
new file mode 100644
index 0000000..c865e3c
--- /dev/null
+++ b/net-libs/ortp/ortp-0.16.5.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ortp-0.16.3.ebuild,v 1.4 2011/01/01 20:36:18 hwoarang Exp $
+
+EAPI="3"
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="http://download.savannah.nongnu.org/releases-noredirect/linphone/${PN}/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE="debug doc examples ipv6 minimal srtp ssl"
+
+RDEPEND="srtp? ( net-libs/libsrtp )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ # to be sure doc is not builded nor installed w/ -doc and doxygen installed
+ if ! use doc; then
+ sed -i -e 's/test $DOXYGEN != //' configure \
+ || die "patching configure failed"
+ fi
+
+ # to authorize -srtp even with libsrtp installed
+ if ! use srtp; then
+ sed -i -e 's/$have_srtp_headers$have_srtp_lib//' configure \
+ || die "patching configure failed"
+ fi
+
+ # to authorize -ssl even with openssl installed
+ if ! use ssl; then
+ sed -i -e 's/SSL_LIBS=".*"/SSL_LIBS=""/' \
+ -e 's/openssl\/.*.h/poll.h/' configure \
+ || die "patching configure failed"
+ fi
+
+ # do not build examples programs, see bug 226247
+ sed -i -e 's/SUBDIRS = . tests/SUBDIRS = ./' src/Makefile.in \
+ || die "patching src/Makefile.in failed"
+
+ # ${P} is added after ${docdir}
+ if use doc; then
+ sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \
+ || die "patching Makefile.in failed"
+ fi
+}
+
+src_configure() {
+ # force docdir to standard Gentoo doc directory
+ # memcheck is for HP-UX only
+ # mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
+ # strict adds -Werror, don't want it
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --disable-memcheck \
+ --disable-mode64bit \
+ --disable-strict \
+ --disable-dependency-tracking \
+ --enable-fast-install \
+ --enable-libtool-lock \
+ $(use_enable debug) \
+ $(use_enable ipv6) \
+ $(use_enable minimal perf)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/tests/*.c || die "doins failed"
+ fi
+}