diff options
Diffstat (limited to 'net-voip/linphone')
-rw-r--r-- | net-voip/linphone/Manifest | 3 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-3.4.3-nls.patch | 14 | ||||
-rw-r--r-- | net-voip/linphone/linphone-3.4.3.ebuild | 90 |
3 files changed, 107 insertions, 0 deletions
diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest index d68f9c72f9ed..a1c38ff12a31 100644 --- a/net-voip/linphone/Manifest +++ b/net-voip/linphone/Manifest @@ -5,13 +5,16 @@ AUX linphone-3.2.1-linphone.desktop.patch 395 RMD160 2ae8271d7e5bf996a722cc31a51 AUX linphone-3.2.1-log-window-crash.patch 514 RMD160 2190f6023f4d97883316b3ff0aeb679a49fc7d2c SHA1 e7e5be8dae19ac9b16608daa9a205777e8905c76 SHA256 f0faa9d90aed4ea06fee608bc06785a757b8e6c25dea7ae6abdd954466a9759c AUX linphone-3.2.1-nls.patch 426 RMD160 19c1292f26fc7d36846d115ef5423635c4d8c828 SHA1 48c2ee4547e2e6db065856a5f7563fc45fd5f9a0 SHA256 e35323e1166fcf826ac9c4e53db62fb522846a7b0316353edffc1fb74fd43758 AUX linphone-3.2.99.1-external-mediastreamer.patch 3596 RMD160 7c50fd52c204d48c32a572a5196dc622566fed65 SHA1 4da5689b8eecc261a75b59a00b733dbbf2cf15c6 SHA256 65c8bfec4ad8761ff2fd170d5e3e583a3f0635c45a2ada6b9b1be06a55df3ae3 +AUX linphone-3.4.3-nls.patch 343 RMD160 d8b7de46ffbfe0811beec94fdc1ae4f76a7a88b7 SHA1 fa18f7c1507a5e3176bfcfa2edc377ccca39f0b8 SHA256 703b4871cdada5631183a00013adc1871dc75994adf757202288495027ac08c5 DIST linphone-3.1.1.tar.gz 7809388 RMD160 a2c1bb3c96bb95cabbe605de463af2993ae3e9ff SHA1 820fad3d273975cc8493d3dabf7959ef59fe7c4d SHA256 d4f4cbf9da3c0437a9f2e181eea611adbefc6b4a7073cf8d8f3ac0fe795c8eff DIST linphone-3.2.1.tar.gz 7906185 RMD160 8ed4b172dc2b9ad90d8bf4da82dbbc8b16e6b169 SHA1 ff5434372465ccfd059de1a26f4712f30f5f9ed7 SHA256 b34bf066e07895b4d7b51a4a64e2a7524ab1cb755c996ef208293228c7bc4e69 DIST linphone-3.3.1.tar.gz 8153522 RMD160 31085a57fb5b19f34e0dc3df2f09f758c90eb1a3 SHA1 dab388c3684ac36c25bd091372fec7a411047ed0 SHA256 ffce61947ea9fa5489dc61398e91472fbdd193a6d59eb8a28fa635b9fa8e3ff8 DIST linphone-3.3.2.tar.gz 8262999 RMD160 6971485c28a9cf73fb225b058692664c7ea29bc7 SHA1 607ac1eb2c02ff73d1f4db5a5b3257434014b3e1 SHA256 a7ab17c91af41362b6667963d88b92b26db9a378df71f4e2d1e64bb18dc69d5e +DIST linphone-3.4.3.tar.gz 8174839 RMD160 accdf93e641609600ec38b77d2f554111fa3d24c SHA1 cb44672a742124a1141551c8a37875b656c088d4 SHA256 92e7a0a01f2bb53bfaa4d7de4972e63ad528731154c36e05a9b6ba097e296692 EBUILD linphone-3.1.1.ebuild 3143 RMD160 44ede17982e7be057fe10dee54ad697acdf68dff SHA1 3153312e2de33d282bc90cb396b0c914c390e6fa SHA256 418435dbe82659645a064abf08aaab8ebbb176b7ffde05a447da6c437367ed54 EBUILD linphone-3.2.1-r2.ebuild 3169 RMD160 a1d06769642450910d9f46ab4b61306bb39e35d9 SHA1 54c60340c98a3c6674437cf1ee9e61c062a60b4b SHA256 1248446533a616f67ef18ac55ae3d7ccb14c44742fe6319ca94157a5c02a6852 EBUILD linphone-3.3.1.ebuild 3132 RMD160 314efe58b57f3d600928faae316ec0c26bb8ce74 SHA1 d33df30f5d29b14184f68ee51ff879063e9debf9 SHA256 ba64ded7cd71a4eb95e8679c5c2517d5d27fd5d430553ba6bc5957a296a4b904 EBUILD linphone-3.3.2.ebuild 3296 RMD160 25327e9231d78a3cd8327ab1fcc7aa004bd1f704 SHA1 51d49166237aebd13093a6e58ab2e56de247dc57 SHA256 3d857219b7e3a7bb0b88afe76cd54cd065dc02aef4ecc3fd0de959126828a3b9 +EBUILD linphone-3.4.3.ebuild 2793 RMD160 f1fe9189803a2855f44d9be70fb34f087dacf790 SHA1 160eea7748470b78369c39992e7ca6eb48912154 SHA256 bbac7a9943643fe7264d09854faedc6b32defd85a9ce022f4f084837ee41174b MISC ChangeLog 14727 RMD160 2b2a640884b85d25fb727ea2a275f9d1b5a5c89c SHA1 f3d6a67b1d02c810d3b423fd0b619bca67c7dd54 SHA256 42e9ff32738fb4b018ba147a099fe47f04bd193a4ee8809ebe6ef1b5dc1f0252 MISC metadata.xml 335 RMD160 0e09a4bd66327fe8397d95c19df4fa884886444b SHA1 b7056729ec82619f4edc4dfe90c5c53ec780f638 SHA256 008f606df7bbbc280b1a0b4a31a7b653858c7ccfe3c99f476547c037189f7fdf diff --git a/net-voip/linphone/files/linphone-3.4.3-nls.patch b/net-voip/linphone/files/linphone-3.4.3-nls.patch new file mode 100644 index 000000000000..302ea6f44862 --- /dev/null +++ b/net-voip/linphone/files/linphone-3.4.3-nls.patch @@ -0,0 +1,14 @@ +--- configure.ac 2011-02-11 13:24:11.000000000 +0300 ++++ configure.ac 2011-03-01 12:39:43.061643811 +0300 +@@ -69,7 +69,10 @@ + AC_SUBST(GUI_FLAGS) + + dnl localization tools +-IT_PROG_INTLTOOL([0.40], [no-xml]) ++AM_NLS ++if test "$USE_NLS" != "no"; then ++ IT_PROG_INTLTOOL([0.40], [no-xml]) ++fi + + dnl Initialize libtool + AC_LIBTOOL_WIN32_DLL diff --git a/net-voip/linphone/linphone-3.4.3.ebuild b/net-voip/linphone/linphone-3.4.3.ebuild new file mode 100644 index 000000000000..3046efed03cd --- /dev/null +++ b/net-voip/linphone/linphone-3.4.3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.4.3.ebuild,v 1.1 2011/04/09 06:47:56 pva Exp $ + +EAPI="4" + +inherit eutils autotools multilib versionator + +DESCRIPTION="Video softphone based on the SIP protocol" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="http://download.savannah.nongnu.org/releases-noredirect/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-macos" +# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]? +IUSE="doc gtk ipv6 ncurses nls video" + +RDEPEND=">=media-libs/mediastreamer-2.7.3[video?,ipv6?] + >=net-libs/libeXosip-3.0.2 + >=net-libs/libosip-3.0.0 + >=net-libs/ortp-0.16.3 + gtk? ( dev-libs/glib:2 + >=gnome-base/libglade-2.4.0:2.0 + >=x11-libs/gtk+-2.4.0:2 ) + ncurses? ( sys-libs/readline + sys-libs/ncurses )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-text/sgmltools-lite ) + nls? ( dev-util/intltool + sys-devel/gettext )" + +IUSE_LINGUAS=" fr it de ja es pl cs nl sv pt_BR hu ru zh_CN" +IUSE="${IUSE} ${IUSE_LINGUAS// / linguas_}" + + +pkg_setup() { + if ! use gtk && ! use ncurses ; then + ewarn "gtk and ncurses are disabled." + ewarn "At least one of these use flags are needed to get a front-end." + ewarn "Only liblinphone is going to be installed." + fi + + strip-linguas ${IUSE_LINGUAS} +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.4.3-nls.patch + # remove speex check, avoid bug when mediastreamer[-speex] + sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed" + + # fix path to use lib64 + sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \ + || die "patching configure.ac failed" + + # removing bundled libs dir prevent them to be reconf + rm -rf mediastreamer2 oRTP || die "should not die" + sed -i -e "s:oRTP::;s:mediastreamer2::" Makefile.am \ + || die "patching Makefile.am failed" + + # make sure to use host libtool version + rm -f m4/libtool.m4 m4/lt*.m4 #282268 + eautoreconf +} + +src_configure() { + # strict: we don't want -Werror + # external-ortp,external-mediastreamer: prefer external libs + # truespeech: seems not used, TODO: ask in ml + # rsvp: breaking the build (not maintained anymore) --disable = --enable + # alsa, artsc and portaudio are used for bundled mediastreamer + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-strict \ + --enable-external-ortp \ + --enable-external-mediastreamer \ + --disable-truespeech \ + $(use_enable doc manual) \ + $(use_enable gtk gtk_ui) \ + $(use_enable ipv6) \ + $(use_enable ncurses console_ui) \ + $(use_enable nls) \ + $(use_enable video) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO +} |