diff options
author | Jean-Noël Rivasseau <elvanor@gentoo.org> | 2011-02-22 10:59:09 +0000 |
---|---|---|
committer | Jean-Noël Rivasseau <elvanor@gentoo.org> | 2011-02-22 10:59:09 +0000 |
commit | eec8e626d69c7a9e58317f4a17cd5d38e6b8bd9e (patch) | |
tree | 7b481ed416eebc7de37e78fa2060ad6b8303985c /net-libs/pjsip | |
parent | Version Bump and python patches (diff) | |
download | historical-eec8e626d69c7a9e58317f4a17cd5d38e6b8bd9e.tar.gz historical-eec8e626d69c7a9e58317f4a17cd5d38e6b8bd9e.tar.bz2 historical-eec8e626d69c7a9e58317f4a17cd5d38e6b8bd9e.zip |
Version bump.
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'net-libs/pjsip')
-rw-r--r-- | net-libs/pjsip/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/pjsip/Manifest | 16 | ||||
-rw-r--r-- | net-libs/pjsip/pjsip-1.6.ebuild | 4 | ||||
-rw-r--r-- | net-libs/pjsip/pjsip-1.8.10.ebuild | 95 |
4 files changed, 108 insertions, 16 deletions
diff --git a/net-libs/pjsip/ChangeLog b/net-libs/pjsip/ChangeLog index 662237d6c0cd..9a045857f846 100644 --- a/net-libs/pjsip/ChangeLog +++ b/net-libs/pjsip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/pjsip -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.3 2010/11/04 17:33:44 fauli Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.4 2011/02/22 10:59:09 elvanor Exp $ + +*pjsip-1.8.10 (22 Feb 2011) + + 22 Feb 2011; <elvanor@gentoo.org> +pjsip-1.8.10.ebuild: + Version bump to 1.8.10. 04 Nov 2010; Christian Faulhammer <fauli@gentoo.org> pjsip-1.6.ebuild: stable x86, bug 342757 diff --git a/net-libs/pjsip/Manifest b/net-libs/pjsip/Manifest index bf588537069a..11dc9f3b8f86 100644 --- a/net-libs/pjsip/Manifest +++ b/net-libs/pjsip/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST pjproject-1.6.tar.bz2 3716047 RMD160 4a8c1342ad2860983e785bbfbd170410edc2b7d7 SHA1 63e7cd6963290cf396024a837d1fb5194107db57 SHA256 8f13d7197eddd1442d24cf164b395582c00e7f19283f3c0e9d1315d85551ec7b -EBUILD pjsip-1.6.ebuild 2813 RMD160 f413dede82fde35d30ef79e5cd2709fde337aa90 SHA1 4b8140f1c16c41822d63aae46af6aa894157e96b SHA256 f299ad2e34067bf7096728560bf46d43a1f58641a5108e854b4e83993c5544bc -MISC ChangeLog 640 RMD160 c0d8a3b8b4493fb77b196530d2ce4b570c45c01c SHA1 1e315732c2db354feb16697d498d3909cff53c07 SHA256 960b2b65cf0eb36ed4587e062f4be8a2d349e96eaecaa5dea1fbe14213511dfb +DIST pjproject-1.8.10.tar.bz2 3821803 RMD160 38eb6834085c6456cfe2e86c625d191aeeb0395a SHA1 dd9304ee0fde895a60c23c19d26e1d869c9c8215 SHA256 80e1a8d68db2b670faf45aa1f27006ea245d9379551a4096aea31dfbdf7a55ec +EBUILD pjsip-1.6.ebuild 2815 RMD160 7e79c05cf740cbe604f0e3b48cbf3e7a2b14e996 SHA1 7b1086b1dc3963fc104e7c581f3d7833bedeb6a1 SHA256 81c9964f53924fb7c99a2feb83052b066a29841ec621499d99011c6fa91c2772 +EBUILD pjsip-1.8.10.ebuild 2705 RMD160 9b74c166b4f3fb4e1f4d46fd6781a70d815a8f17 SHA1 b47c4821d365261d681ebabc594e6666eff26a7a SHA256 4cf377c00c9cbea0815691a96e95c521adf6d29e8d51f118355ee1fdb3e7d042 +MISC ChangeLog 756 RMD160 848c657e1af211de75f8ae6fae8249555af0c31b SHA1 4552923da632c8e2e40332e70d812ec2f47f9497 SHA256 830dd3223b878a7964693f1d4bd84f4dacbaebf7a99b1a5e660df95b351e9b49 MISC metadata.xml 875 RMD160 4cd1111d26ef3a1f6aa513e9707a742014c0a990 SHA1 7de7383b209b6c6dd953071ef50543b02ea8bebd SHA256 3407df107160e74285617b2613cb8b0761bd114592680c36fd84f397b8902b2a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAkzS7ocACgkQNQqtfCuFneMQsgCfQPBnH9KT11feFNtNW20Yo7la -rlEAn2G5wc5PpJ8DSfMwSsDP63tWDGhZ -=FnZn ------END PGP SIGNATURE----- diff --git a/net-libs/pjsip/pjsip-1.6.ebuild b/net-libs/pjsip/pjsip-1.6.ebuild index e0c4065a2026..07f97bacad1c 100644 --- a/net-libs/pjsip/pjsip-1.6.ebuild +++ b/net-libs/pjsip/pjsip-1.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild,v 1.3 2010/11/04 17:33:44 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild,v 1.4 2011/02/22 10:59:09 elvanor Exp $ EAPI="2" diff --git a/net-libs/pjsip/pjsip-1.8.10.ebuild b/net-libs/pjsip/pjsip-1.8.10.ebuild new file mode 100644 index 000000000000..fd2bc5a40d5e --- /dev/null +++ b/net-libs/pjsip/pjsip-1.8.10.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.8.10.ebuild,v 1.1 2011/02/22 10:59:09 elvanor Exp $ + +EAPI="2" + +DESCRIPTION="Multimedia communication libraries written in C language +for building VoIP applications." +HOMEPAGE="http://www.pjsip.org/" +SRC_URI="http://www.pjsip.org/release/${PV}/pjproject-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa doc epoll examples ext-sound g711 g722 g7221 gsm ilbc l16 +oss python speex" +#small-filter large-filter speex-aec ssl + +DEPEND="alsa? ( media-libs/alsa-lib ) + gsm? ( media-sound/gsm ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + speex? ( media-libs/speex )" + #ssl? ( dev-libs/openssl ) +RDEPEND="${DEPEND}" + +S="${WORKDIR}/pjproject-${PV}" + +src_prepare() { + # Remove target name from lib names + sed -i -e 's/-$(TARGET_NAME)//g' \ + -e 's/= $(TARGET_NAME).a/= .a/g' \ + -e 's/-$(LIB_SUFFIX)/$(LIB_SUFFIX)/g' \ + $(find . -name '*.mak*' -o -name Makefile) || die "sed failed." + + # Fix hardcoded prefix and flags + sed -i \ + -e 's/poll@/poll@\nexport PREFIX := @prefix@\n/g' \ + -e 's!prefix = /usr/local!prefix = $(PREFIX)!' \ + -e '/PJLIB_CFLAGS/ s/(_CFLAGS)/(_CFLAGS) -fPIC/g' \ + -e '/PJLIB_UTIL_CFLAGS/ s/(_CFLAGS)/(_CFLAGS) -fPIC/g' \ + Makefile \ + build.mak.in || die "sed failed." + + # TODO: remove deps to shipped codecs and libs, use system ones + # rm -r third_party + # libresample: https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html +} + +src_configure() { + # Disable through portage available codecs + econf --disable-gsm-codec \ + --disable-speex-codec \ + --disable-ilbc-codec \ + --disable-speex-aec \ + $(use_enable epoll) \ + $(use_enable alsa sound) \ + $(use_enable oss) \ + $(use_enable ext-sound) \ + $(use_enable g711 g711-codec) \ + $(use_enable l16 l16-codec) \ + $(use_enable g722 g722-codec) \ + $(use_enable g7221 g7221-codec) || die "econf failed." + #$(use_enable small-filter) \ + #$(use_enable large-filter) \ + #$(use_enable speex-aec) \ + #$(use_enable ssl) \ #broken? sflphone doesn't compile if enabled or disabled +} + +src_compile() { + emake dep || die "emake dep failed." + emake -j1 || die "emake failed." +} + +src_install() { + DESTDIR="${D}" emake install || die "emake install failed." + + if use python; then + pushd pjsip-apps/src/python + python setup.py install --prefix="${D}/usr/" + popd + fi + + if use doc; then + dodoc README.txt README-RTEMS + fi + + if use examples; then + insinto "/usr/share/doc/${P}/examples" + doins "${S}/pjsip-apps/src/samples/"* + fi + + # Remove files that pjproject should not install + rm -r "${D}/usr/lib/libportaudio.a" \ + "${D}/usr/lib/libsrtp.a" +} |