From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] Linphone: add Linux based VoIP app
Date: Wed, 4 Apr 2012 10:09:15 +0200 [thread overview]
Message-ID: <201204041009.15581.jbe@pengutronix.de> (raw)
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
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 <jbe@pengutronix.de>
+#
+# 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
+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 \
+ --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 <jbe@pengutronix.de>")
+ @$(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
next reply other threads:[~2012-04-04 8:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 8:09 Juergen Beisert [this message]
2012-04-04 8:34 ` Alexander Stein
2012-04-06 5:55 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201204041009.15581.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox