diff options
author | 2007-12-15 20:51:36 +0000 | |
---|---|---|
committer | 2007-12-15 20:51:36 +0000 | |
commit | e44e43c408645528f651f44ff7429b8db9489e23 (patch) | |
tree | 72246ce7c3df907c4f0bdb036300ed864a6d6f66 /net-voip | |
parent | Disable --cache-file= for now, libedit changes in svn broke it (diff) | |
download | voip-e44e43c408645528f651f44ff7429b8db9489e23.tar.gz voip-e44e43c408645528f651f44ff7429b8db9489e23.tar.bz2 voip-e44e43c408645528f651f44ff7429b8db9489e23.zip |
linphone: make gsm support optional
svn path=/trunk/; revision=627
Diffstat (limited to 'net-voip')
-rw-r--r-- | net-voip/linphone/ChangeLog | 4 | ||||
-rw-r--r-- | net-voip/linphone/Manifest | 4 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-2.0.1-configure-gsm.patch | 12 | ||||
-rw-r--r-- | net-voip/linphone/linphone-2.0.1-r1.ebuild | 86 |
4 files changed, 105 insertions, 1 deletions
diff --git a/net-voip/linphone/ChangeLog b/net-voip/linphone/ChangeLog index c7cc21b..f230c89 100644 --- a/net-voip/linphone/ChangeLog +++ b/net-voip/linphone/ChangeLog @@ -275,6 +275,10 @@ trunk/net-misc/zaptel/zaptel-1.2.0_beta1.ebuild: Initial import of private gentoo-voip repos + 15 Dec 2007; Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de> + +files/linphone-2.0.1-configure-gsm.patch, +linphone-2.0.1-r1.ebuild: + Fix gsm automagic dependency + 14 Dec 2007; Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de> -linphone-1.7.1.ebuild, -linphone-1.99.0.ebuild, +linphone-2.0.1.ebuild: Version bump. Remove obsolete versions. diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest index df403b7..85ed79e 100644 --- a/net-voip/linphone/Manifest +++ b/net-voip/linphone/Manifest @@ -1,5 +1,7 @@ AUX linphone-1.6.0-call.patch 344 RMD160 887c83861aec5e71914ebcca5c3bdff56e8ac513 SHA1 2a84da9c99154c68147c161f373a6b962ca2e7ce SHA256 7d1a5789adb3d2f02eaf0970acf567ae5901b2a61f84a94c2116e354a44aa822 AUX linphone-1.99.0-core-amd64.patch 647 RMD160 be7ad209c0f9c8432d60f55d0c271f72a4923da6 SHA1 f286ac3f95e5b6305b15c9a00c66f7a8843f93e8 SHA256 4b95455a0ffda2ea5d87eeadae64a227d644eb8e0c5433690d8a5e5d24765523 +AUX linphone-2.0.1-configure-gsm.patch 353 RMD160 2e8fddf2238f2c5532df75c7a939b3fc38d2a08e SHA1 49aff8ecae37e953cf9e50aaf38143feb1533b31 SHA256 6213e331e74fd12c0c0e8ff5e8206d42aaf110a46492cfce41448bafdb2c92e8 DIST linphone-2.0.1.tar.gz 7638627 RMD160 89c120e5118c931daf9f58d1d988185a28bbcf05 SHA1 a8020c4643e7ca05aefe83e9c25e3ac8c3661574 SHA256 33f9e17eba38c55c6b2260e02c98db642dd47d3c38677478a05caa0ae702d16f +EBUILD linphone-2.0.1-r1.ebuild 2505 RMD160 7c7622ce74b2d1c57568e3de557b9c345259833f SHA1 6dd06e66bbc17b2a649f46bbddeacffdca3ef2c5 SHA256 1b404031a87f8b37f44c945c29845dcfd42f915a6b8dad88e0209b40b3286da7 EBUILD linphone-2.0.1.ebuild 2456 RMD160 9660a6975254e6365cc9915d22f12aae6c205534 SHA1 e6b3264a08d1d6b1d18168b1d71a411387abd9c8 SHA256 127fec19c3cee716a05fb0547dfba7feb8e0e1381ddcd1ba55cbe34960ff8889 -MISC ChangeLog 15161 RMD160 6f87d47144c93279b481c8253941a6c6e0acd736 SHA1 ae1ba8a1ec4c3cd1842c624344a38541c3f83c8b SHA256 15e196e244df87c3ab5aa8c18c973f16d9bbb2d2d4959b402765093f157da8e8 +MISC ChangeLog 15336 RMD160 650d83bfe5d266e2e511e907874c54fbaf7d06d3 SHA1 3daf1422ac7d5157349ca6eaf776a7c1a4a597dc SHA256 5e96c81b813acd3f64b01fa5e73d1c5a10cfad75a47e10f245250330d7d73ee2 diff --git a/net-voip/linphone/files/linphone-2.0.1-configure-gsm.patch b/net-voip/linphone/files/linphone-2.0.1-configure-gsm.patch new file mode 100644 index 0000000..bdb78a2 --- /dev/null +++ b/net-voip/linphone/files/linphone-2.0.1-configure-gsm.patch @@ -0,0 +1,12 @@ +diff -ru a/mediastreamer2/configure b/mediastreamer2/configure +--- a/mediastreamer2/configure 2007-11-29 22:27:04.000000000 +0100 ++++ b/mediastreamer2/configure 2007-12-15 18:24:36.000000000 +0100 +@@ -22174,7 +22174,7 @@ + + + +-if test "$GSM_found" = "yes" ; then ++if test "$GSM_found" = "yes" && test "$enable_gsm" != "no" ; then + build_gsm=yes + fi + diff --git a/net-voip/linphone/linphone-2.0.1-r1.ebuild b/net-voip/linphone/linphone-2.0.1-r1.ebuild new file mode 100644 index 0000000..ac25afb --- /dev/null +++ b/net-voip/linphone/linphone-2.0.1-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Note: video support in linphone relies on swscaler being disabled +# in ffmpeg. this is because the video code in linphone is old +# and uses the old interface. solution: fix linphone's video +# code. workaround: build ffmpeg w/out --enable-swscaler. + +inherit eutils + +DESCRIPTION="Voice Over IP phone (internet phone which uses SIP)" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/stable/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa arts console gsm gtk ilbc ipv6 novideo xv" + +DEPEND="dev-libs/glib + dev-perl/XML-Parser + net-dns/bind-tools + >=net-libs/libeXosip-3.0.3 + >=media-libs/speex-1.1.12 + gsm? ( + !amd64? ( >=media-sound/gsm-1.0.12 ) + amd64? ( >media-sound/gsm-1.0.12 ) + ) + x86? ( xv? ( dev-lang/nasm ) ) + gtk? ( + >=x11-libs/gtk+-2 + gnome-base/libglade + ) + alsa? ( media-libs/alsa-lib ) + arts? ( kde-base/arts ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + !novideo? ( + >=media-libs/libsdl-1.2.9 + media-video/ffmpeg + >=media-libs/libtheora-1.0_alpha7 + )" +# use the bundled ortp until newer versions leave package.mask +# >=net-libs/ortp-0.9.0 +# portaudio? ( >=media-libs/portaudio-19_pre )" +# media-libs/gsm-1.0.12 fails on amd64 due to bug #192736 + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/linphone-1.6.0-call.patch + epatch "${FILESDIR}"/linphone-1.99.0-core-amd64.patch + epatch "${FILESDIR}"/linphone-2.0.1-configure-gsm.patch + sed -i -e 's:wall_werror=yes:wall_werror=no:' mediastreamer2/configure +} + +src_compile() { + econf \ + --libdir=/usr/$(get_libdir)/linphone \ + $(use_enable console console_ui) \ + $(use_enable gtk gtk_ui) \ + $(use_with ilbc) \ + $(use_enable ipv6) \ + $(use_enable alsa) \ + $(use_enable arts artsc) \ + $(use_enable gsm) \ + $(use_enable !novideo video) \ + --disable-portaudio \ + $(use_enable x86 truespeech) \ + || die "Unable to configure" + #--enable-external-ortp \ + #$(use_enable portaudio) + emake || die "Unable to make" +} + +src_install () { + emake DESTDIR="${D}" install || die "Failed to install" + dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README README.arm TODO + + # don't install ortp includes, docs and pkgconfig files + # to avoid conflicts with net-libs/ortp + rm -rf "${D}"/usr/include/ortp + rm -rf "${D}"/usr/share/gtk-doc/html/ortp + rm -rf "${D}"/usr/$(get_libdir)/linphone/pkgconfig + rm -rf "${D}"/ortp +} |