summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/ortp')
-rw-r--r--net-libs/ortp/ChangeLog7
-rw-r--r--net-libs/ortp/Manifest14
-rw-r--r--net-libs/ortp/ortp-0.15.0_p1.ebuild89
3 files changed, 98 insertions, 12 deletions
diff --git a/net-libs/ortp/ChangeLog b/net-libs/ortp/ChangeLog
index f72be8887636..c7205967043e 100644
--- a/net-libs/ortp/ChangeLog
+++ b/net-libs/ortp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/ortp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ChangeLog,v 1.38 2009/04/23 20:01:58 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ChangeLog,v 1.39 2009/04/24 03:30:35 volkmar Exp $
+
+*ortp-0.15.0_p1 (24 Apr 2009)
+
+ 24 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> +ortp-0.15.0_p1.ebuild:
+ Add ortp-0.15.0 with patch from linphone-3.1.0 to make it working with it.
23 Apr 2009; Markus Meier <maekke@gentoo.org> ortp-0.15.0:
add ~amd64, bug #266193
diff --git a/net-libs/ortp/Manifest b/net-libs/ortp/Manifest
index 569302bc8196..27d4604d3bab 100644
--- a/net-libs/ortp/Manifest
+++ b/net-libs/ortp/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST ortp-0.13.1.tar.gz 455112 RMD160 f87c886526878d636012dbf2b8ae36c6161afb82 SHA1 27928c973b1bfbe4da999675a26d12e870e35e60 SHA256 2ba471a2a4f1d7f10fb70de5b68dbb7d32b43494efcecb88b3bd8445f630494c
DIST ortp-0.15.0.tar.gz 491669 RMD160 bca44ac18d228bc419f4507973ef4806fd71ea24 SHA1 273c6fea84a1d66e4650fe1a5f02102e7bedd41f SHA256 742860d9165ec291be981bd6f33415c83aadc6f8b2ea287acb561bd76c9e0baa
+DIST ortp-0.15.0_p1-linphone-3.1.0.patch.tgz 5732 RMD160 0d891418de39cb17573042a901a80828ee34c00f SHA1 283efc3937c5b9c49741ce566a50a0970b825f82 SHA256 b52144fd8d5fd38f49178de32fa8b9c74959b8122b520fd305965a3bfb097c5b
DIST ortp-0.7.1.tar.gz 426565 RMD160 142a9a851d8ef4dcdc53e4befcdd932bd1214c20 SHA1 a2b67ab75858ca0a059ab6eeb0cdaf4f3126e93d SHA256 2f2fc74a13df58f560c40385cd78683c66623d7a8271cb17941a9de7be07d43f
EBUILD ortp-0.13.1-r1.ebuild 1566 RMD160 22c2b12d07a5b78dd027634e45cff5df461be8d4 SHA1 37dbbfaf97a638b9a1f3257146f82064f1bcd212 SHA256 3b4f4d273222b759a7e692e4997d210d4206eef8998f0678e636f05d3d10e1d7
EBUILD ortp-0.15.0.ebuild 2332 RMD160 a8b14ee8f46b1ea795d0ee2ff2212d898b3aeee6 SHA1 8ae420ef700eda6bb2358fefabc847a5d76698b4 SHA256 623c2090130285ca59c576f9052110622f964bddb81a7ff9d36b3f833c938da1
+EBUILD ortp-0.15.0_p1.ebuild 2535 RMD160 21a71d68b66c0f8d1b4bece0af0cba841e35f5a1 SHA1 8eec0683f9c333a358a2ae713ce6b6e3cac19630 SHA256 9af4bfc0f7d0298fea43b504a088463d11a67eb6fc63afe0dfe864714ada7f43
EBUILD ortp-0.7.1-r1.ebuild 1265 RMD160 01d277c47be20d7295d978da31532f5d7148deb1 SHA1 f8343e5512543517ff7f1c592c4043be99d64501 SHA256 249e47e791b7722ab9b55db93b4c6ec5744844c528ce0cf5846a16893e62ee4a
-MISC ChangeLog 4787 RMD160 0704c7e9884ea0d8aa20dc4043e0ff1aaee144f3 SHA1 207e2051e2be77388fbf76a47b10b045479b8bb0 SHA256 37fd8548d726e0bd5613dde5d10dfbf4920e7dda6154490e23d36b4376a84a08
+MISC ChangeLog 4972 RMD160 9df679b86d75bec184fa7b22c05020fbc5ab60f2 SHA1 583962b2204dabc13378585acd88c879175e260e SHA256 0c350f3719c9fe1be6e44de7937dcd031ab98128c014ea35a427242d4f59d197
MISC metadata.xml 231 RMD160 31a28bace160f70926588476149c4c29bf574652 SHA1 dd16f4750a37ba02ffd4e66a3dc616efd7cac938 SHA256 8b423f189d6890874bad5cfd52655474feee7adf762c89fc56433bc0b48b3a73
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAknwyVMACgkQkKaRLQcq0GIW/wCeKDkhE8rrksQNZLE+XK1HNpaM
-vZ8Anj/exIVw6qdZIBkLyO5lx3Lv98uL
-=xWd8
------END PGP SIGNATURE-----
diff --git a/net-libs/ortp/ortp-0.15.0_p1.ebuild b/net-libs/ortp/ortp-0.15.0_p1.ebuild
new file mode 100644
index 000000000000..49577021b7c0
--- /dev/null
+++ b/net-libs/ortp/ortp-0.15.0_p1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ortp-0.15.0_p1.ebuild,v 1.1 2009/04/24 03:30:35 volkmar Exp $
+
+EAPI="2"
+
+inherit eutils
+
+MY_P=${P/_p1/}
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/index.php/eng/code_review/ortp/"
+SRC_URI="http://download.savannah.nongnu.org/releases/linphone/${PN}/sources/${MY_P}.tar.gz
+ mirror://gentoo/${P}-linphone-3.1.0.patch.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug doc examples ipv6 minimal srtp ssl"
+
+RDEPEND="srtp? ( net-libs/libsrtp )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # diff patch from linphone-3.1.0 bundled ortp
+ epatch "${WORKDIR}"/${P}-linphone-3.1.0.patch
+
+ # 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=/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
+}