From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SG28X-00070f-8M for ptxdist@pengutronix.de; Fri, 06 Apr 2012 07:55:05 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SG28X-0001PZ-69 for ptxdist@pengutronix.de; Fri, 06 Apr 2012 07:55:05 +0200 Date: Fri, 6 Apr 2012 07:55:05 +0200 From: Michael Olbrich Message-ID: <20120406055505.GY28453@pengutronix.de> References: <201204041009.15581.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201204041009.15581.jbe@pengutronix.de> Subject: Re: [ptxdist] [PATCH] Linphone: add Linux based VoIP app Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Apr 04, 2012 at 10:09:15AM +0200, Juergen Beisert wrote: > Signed-off-by: Juergen Beisert > > diff --git a/rules/linphone.in b/rules/linphone.in > new file mode 100644 > index 0000000..c375cc6 > --- /dev/null > +++ b/rules/linphone.in > @@ -0,0 +1,40 @@ > +## SECTION=applications > + > +menuconfig LINPHONE > + tristate > + prompt "linphone " > + select LIBEXOSIP2 > + select LIBMEDIASTREAMER > + select READLINE > + select ALSA_LIB if LINPHONE_ALSA > + select LIBSRTP if LINPHONE_LIBSRTP > + select GCCLIBS_GCC_S > + select GCCLIBS_CXX > + select LIBC_RT > + select LIBC_DL > + select LIBC_PTHREAD > + select LIBC_M > + select LIBC_NSL > + help > + Open source video SIP phone. Refer http://www.linphone.org/ for > + further details. > + Note: video support is currently disabled > + > +if LINPHONE > + > +config LINPHONE_ALSA > + bool > + depends on BROKEN > + prompt "use ALSA library" > + help > + Build the embedded mediastreamer library with ALAS sound. > + > +config LINPHONE_LIBSRTP > + bool > + depends on BROKEN > + prompt "use srtp library" > + help > + Build the embedded oRTP with support for the > + Secure Real-time Transport Protocol (SRTP) > + > +endif > diff --git a/rules/linphone.make b/rules/linphone.make > new file mode 100644 > index 0000000..e66a9bb > --- /dev/null > +++ b/rules/linphone.make > @@ -0,0 +1,100 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2011 by Juergen Beisert > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LINPHONE) += linphone > + > +# > +# Paths and names > +# > +LINPHONE_VERSION := 3.5.0 3.5.2 ? > +LINPHONE_MD5 := 95111861f71c455f58b5177863b8e566 > +LINPHONE := linphone-$(LINPHONE_VERSION) > +LINPHONE_SUFFIX := tar.gz > +LINPHONE_URL := http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/$(LINPHONE).$(LINPHONE_SUFFIX) > +LINPHONE_SOURCE := $(SRCDIR)/$(LINPHONE).$(LINPHONE_SUFFIX) > +LINPHONE_DIR := $(BUILDDIR)/$(LINPHONE) > +LINPHONE_LICENSE := GPL > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +LINPHONE_CONF_TOOL := autoconf > +LINPHONE_CONF_OPT := $(CROSS_AUTOCONF_USR) \ > + --disable-nls \ > + --enable-shared \ > + --disable-static \ > + --disable-rpath \ > + --disable-x11 \ > + --enable-console_ui=yes \ > + --enable-gtk_ui=no \ > + --enable-notify=no \ > + --enable-date \ > + --enable-ipv6=no \ Make this conditional on PTXCONF_GLOBAL_IPV6 > + --enable-truespeech=no \ > + --enable-nonstandard-gsm=no \ > + --enable-rsvp \ > + --enable-ssl=no \ > + --enable-video=no \ > + --disable-zrtp \ > + --enable-portaudio=no \ > + --enable-tunnel=no \ > + --disable-tests \ > + --with-osip=/usr \ > + --without-ffmpeg \ > + --disable-strict \ > + --$(call ptx/endis, PTXCONF_LINPHONE_ALSA)-alsa \ > + ac_cv_path_DOXYGEN=false > + > +# do not use the built in ortp and mediastreamer libs. Their configure stage > +# is broken and they compile-in things we do not want. > + > +LINPHONE_CONF_OPT += --enable-external-mediastreamer \ > + --enable-external-ortp > + > +# switches with trouble > +# --without-readline > +# --enable-relativeprefix > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/linphone.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, linphone) > + @$(call install_fixup, linphone,PRIORITY,optional) > + @$(call install_fixup, linphone,SECTION,base) > + @$(call install_fixup, linphone,AUTHOR,"Juergen Beisert ") > + @$(call install_fixup, linphone,DESCRIPTION,missing) > + > + @$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonec) > + @$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonecsh) > + @$(call install_lib, linphone, 0, 0, 0644, liblinphone) > + > + > + @$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone) > + @$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone/plugins) > + > + @$(call install_tree, linphone, 0, 0, -, /usr/share/linphone/) > + @$(call install_tree, linphone, 0, 0, -, /usr/share/sounds/linphone/) > + > + @$(call install_finish, linphone) > + > + @$(call touch) > + > +# vim: syntax=make > > -- > Pengutronix e.K. | Juergen Beisert | > Linux Solutions for Science and Industry | http://www.pengutronix.de/ | > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de