summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2012-04-29 19:04:34 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2012-04-29 19:04:34 +0000
commit121a71dbefa15d80e57fce7248daf9d0ec9b680e (patch)
tree130b868b4ca8716f66f4ea65a7ef518d9d4b54e6 /net-libs/pjsip
parentVersion bump. (diff)
downloadhistorical-121a71dbefa15d80e57fce7248daf9d0ec9b680e.tar.gz
historical-121a71dbefa15d80e57fce7248daf9d0ec9b680e.tar.bz2
historical-121a71dbefa15d80e57fce7248daf9d0ec9b680e.zip
pjsip-1.14 version bump.
Package-Manager: portage-2.1.10.49/cvs/Linux i686
Diffstat (limited to 'net-libs/pjsip')
-rw-r--r--net-libs/pjsip/ChangeLog7
-rw-r--r--net-libs/pjsip/Manifest4
-rw-r--r--net-libs/pjsip/pjsip-1.14.ebuild99
3 files changed, 108 insertions, 2 deletions
diff --git a/net-libs/pjsip/ChangeLog b/net-libs/pjsip/ChangeLog
index 65d2a74442fd..72034c57a173 100644
--- a/net-libs/pjsip/ChangeLog
+++ b/net-libs/pjsip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/pjsip
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.7 2012/03/02 15:10:00 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.8 2012/04/29 19:04:33 elvanor Exp $
+
+*pjsip-1.14 (29 Apr 2012)
+
+ 29 Apr 2012; <elvanor@gentoo.org> +pjsip-1.14.ebuild:
+ Version bump to 1.14.
02 Mar 2012; <elvanor@gentoo.org> pjsip-1.12.ebuild:
Quick typo fix.
diff --git a/net-libs/pjsip/Manifest b/net-libs/pjsip/Manifest
index 993f783c9ad1..6009fe7ab739 100644
--- a/net-libs/pjsip/Manifest
+++ b/net-libs/pjsip/Manifest
@@ -1,8 +1,10 @@
DIST pjproject-1.12.tar.bz2 3820999 RMD160 9ff1fad3bab6c0a862efa45bc15329e23bd7aa47 SHA1 44717ba60c4857af0c47861b26a03a49e01691e3 SHA256 5459716167c9224353acfea15eb32efb4976c96d25c994f7ee4533ddd08a7db8
+DIST pjproject-1.14.tar.bz2 3861992 RMD160 81463f49b8c66d5da167f50e50d0282b3379a59d SHA1 d507e7b6dda02da25448f0eae6c15f6247b10c45 SHA256 d5e394c08572231e68866c86697cef9d86ecc4d9b873705fa5e5ae56817d0656
DIST pjproject-1.6.tar.bz2 3716047 RMD160 4a8c1342ad2860983e785bbfbd170410edc2b7d7 SHA1 63e7cd6963290cf396024a837d1fb5194107db57 SHA256 8f13d7197eddd1442d24cf164b395582c00e7f19283f3c0e9d1315d85551ec7b
DIST pjproject-1.8.10.tar.bz2 3821803 RMD160 38eb6834085c6456cfe2e86c625d191aeeb0395a SHA1 dd9304ee0fde895a60c23c19d26e1d869c9c8215 SHA256 80e1a8d68db2b670faf45aa1f27006ea245d9379551a4096aea31dfbdf7a55ec
EBUILD pjsip-1.12.ebuild 2759 RMD160 20b9828137aa59ed1e179ac0bfe4b28b3b69fee9 SHA1 4865f33c7998b8d07f6771c3d5a30261f48d3de9 SHA256 448a80defd5b8d7d565b171e8326da1d2aa19275882a0bd86e8798a87a7f6c6a
+EBUILD pjsip-1.14.ebuild 2759 RMD160 06295aa9d0d863d60a67a5aa0f747b428661e24d SHA1 b5a0a527ea15df2765f085171b211eb58a7f14ca SHA256 e9ee3373e95d483f67160f2f4706b37e56b5de490a3d52a1d20586e95d609c85
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 1045 RMD160 38e0a147945c6db34165d4f689be1443d2382cb2 SHA1 b2bc901cdca8c6574bb89b3e9409d2ae5555c9a7 SHA256 018f7015f9732b86a8cb9fb7bba04126e2aa6bc079c3c9f29db2387a7836455b
+MISC ChangeLog 1153 RMD160 186c6343bf37e2182072bf89f001120c67a7a230 SHA1 94fb460e911ed9ffdcfe917a0c8be48781972c76 SHA256 7706c2fd47a519591fa6852fb71776d813b95ad68d5b6ff26ad764e483726a9a
MISC metadata.xml 928 RMD160 2d197c50bb3b06698a819709daeb1b0c14a1af74 SHA1 a06e7edcfd4028408396d9d5a4efd7df81d1bf25 SHA256 df975db815480ab462998a838eff714b9f4d2d7e4d82b6aeca888a8ba04c86d8
diff --git a/net-libs/pjsip/pjsip-1.14.ebuild b/net-libs/pjsip/pjsip-1.14.ebuild
new file mode 100644
index 000000000000..5eda0bda385f
--- /dev/null
+++ b/net-libs/pjsip/pjsip-1.14.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.14.ebuild,v 1.1 2012/04/29 19:04:34 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 cli 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 cli; then
+ dobin pjsip-apps/bin/pjsua
+ fi
+
+ 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"
+}