summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-11-19 21:10:11 +0000
committerMichał Górny <mgorny@gentoo.org>2012-11-19 21:10:11 +0000
commit4ab17eda9b046aa0ba69fadcda5dcc826eb719f7 (patch)
treeee63650e426495eaa72ad152ed72b0fe02bb3b55 /net-libs/ortp
parentFix compile error wrt bug #412605, thanks to Andrew Savchenko for the patch. ... (diff)
downloadgentoo-2-4ab17eda9b046aa0ba69fadcda5dcc826eb719f7.tar.gz
gentoo-2-4ab17eda9b046aa0ba69fadcda5dcc826eb719f7.tar.bz2
gentoo-2-4ab17eda9b046aa0ba69fadcda5dcc826eb719f7.zip
Version bump wrt bug #399735. Thanks to Andrew Savchenko for his effort on linphone ebuilds.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'net-libs/ortp')
-rw-r--r--net-libs/ortp/ChangeLog10
-rw-r--r--net-libs/ortp/metadata.xml19
-rw-r--r--net-libs/ortp/ortp-0.20.0.ebuild77
3 files changed, 95 insertions, 11 deletions
diff --git a/net-libs/ortp/ChangeLog b/net-libs/ortp/ChangeLog
index af79bc4ff92d..3275b256a176 100644
--- a/net-libs/ortp/ChangeLog
+++ b/net-libs/ortp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/ortp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ChangeLog,v 1.73 2012/05/30 21:14:41 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ChangeLog,v 1.74 2012/11/19 21:10:11 mgorny Exp $
+
+*ortp-0.20.0 (19 Nov 2012)
+
+ 19 Nov 2012; Michał Górny <mgorny@gentoo.org> +ortp-0.20.0.ebuild,
+ metadata.xml:
+ Version bump wrt bug #399735. Thanks to Andrew Savchenko for his effort on
+ linphone ebuilds.
30 May 2012; Zac Medico <zmedico@gentoo.org> ortp-0.16.1.ebuild,
ortp-0.16.3.ebuild, ortp-0.16.5.ebuild:
@@ -266,4 +273,3 @@
21 Mar 2005; Stefan Knoblich <stkn@gentoo.org> +metadata.xml,
+ortp-0.7.0.ebuild:
Initial import.
-
diff --git a/net-libs/ortp/metadata.xml b/net-libs/ortp/metadata.xml
index f7946198c6f9..6f91670beedd 100644
--- a/net-libs/ortp/metadata.xml
+++ b/net-libs/ortp/metadata.xml
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>voip</herd>
- <maintainer>
- <email>volkmar@gentoo.org</email>
- <name>Mounir Lamouri</name>
- <description>Assign to herd and CC me</description>
- </maintainer>
- <use>
- <flag name='srtp'>Add support for Secure RTP</flag>
- </use>
+ <herd>voip</herd>
+ <maintainer>
+ <email>volkmar@gentoo.org</email>
+ <name>Mounir Lamouri</name>
+ <description>Assign to herd and CC me</description>
+ </maintainer>
+ <use>
+ <flag name='srtp'>Add support for Secure RTP</flag>
+ <!-- <flag name='zrtp'>Add support for ZRTP key negotiation</flag> -->
+ </use>
</pkgmetadata>
diff --git a/net-libs/ortp/ortp-0.20.0.ebuild b/net-libs/ortp/ortp-0.20.0.ebuild
new file mode 100644
index 000000000000..1afb299545fe
--- /dev/null
+++ b/net-libs/ortp/ortp-0.20.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ortp-0.20.0.ebuild,v 1.1 2012/11/19 21:10:11 mgorny Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc examples ipv6 minimal srtp ssl" # zrtp"
+
+# Note:
+# This package supposedly requires libzrtpcpp-2.0.0
+# but it is incompatible with its API...
+
+RDEPEND="srtp? ( net-libs/libsrtp )
+ ssl? ( dev-libs/openssl )"
+# zrtp? ( >=net-libs/libzrtpcpp-2.0.0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+
+#REQUIRED_USE="zrtp? ( srtp )"
+
+src_prepare() {
+ # ${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() {
+ local myeconfargs=(
+ # memcheck is for HP-UX only
+ --disable-memcheck
+ # mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
+ --disable-mode64bit
+ # strict adds -Werror, don't want it
+ --disable-strict
+ # they seriously failed to understand AC_ARG_ENABLE...
+ --disable-tests_enabled
+ --enable-fast-install
+ --enable-libtool-lock
+
+ $(use_enable debug)
+ $(use_enable ipv6)
+ $(use_enable minimal perf)
+ $(use_enable ssl ssl-hmac)
+# $(use_enable zrtp)
+ --disable-zrtp
+
+ "--with-srtp=$(usex srtp "${EPREFIX}"/usr none)"
+ $(use doc || echo ac_cv_path_DOXYGEN=false)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+ install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ prune_libtool_files
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/tests/*.c
+ fi
+}