Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 15:52:24 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361557 - in head/net: . mediastreamer mediastreamer/files
Message-ID:  <201407111552.s6BFqO5F049053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Jul 11 15:52:23 2014
New Revision: 361557
URL: http://svnweb.freebsd.org/changeset/ports/361557
QAT: https://qat.redports.org/buildarchive/r361557/

Log:
  New port: net/mediastreamer
  
  Mediastreamer2 is a powerful and lightweight streaming engine specialized
  in voice/video telephony applications.
  
  It is the library that is responsible for all the receiving and sending of
  multimedia streams in linphone, including voice/video capture, encoding and
  decoding, and rendering.

Added:
  head/net/mediastreamer/
  head/net/mediastreamer/Makefile   (contents, props changed)
  head/net/mediastreamer/distinfo   (contents, props changed)
  head/net/mediastreamer/files/
  head/net/mediastreamer/files/patch-src__base__mscommon.c   (contents, props changed)
  head/net/mediastreamer/files/patch-src__utils__dsptools.c   (contents, props changed)
  head/net/mediastreamer/pkg-descr   (contents, props changed)
  head/net/mediastreamer/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri Jul 11 15:50:28 2014	(r361556)
+++ head/net/Makefile	Fri Jul 11 15:52:23 2014	(r361557)
@@ -360,6 +360,7 @@
     SUBDIR += mad_fcl
     SUBDIR += mcast-tools
     SUBDIR += mediaproxy
+    SUBDIR += mediastreamer
     SUBDIR += mediatomb
     SUBDIR += mgen
     SUBDIR += micro_inetd

Added: head/net/mediastreamer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/Makefile	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,87 @@
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	mediastreamer
+PORTVERSION=	2.10.0
+CATEGORIES=	net
+MASTER_SITES=	SAVANNAH/linphone/mediastreamer
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Real-time audio and video streaming and processing
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libortp.so:${PORTSDIR}/net/ortp
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-alsa --disable-glx --disable-pulseaudio \
+		--disable-silent-rules --disable-strict \
+		--with-gsm=${LOCALBASE} xxd_found=yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
+USES=		gmake libtool pathfix pkgconfig
+USE_GNOME=	gnomehier
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=		IPV6 NLS UPNP VIDEO
+OPTIONS_GROUP=		AUDIOOPT VIDEOOPT
+OPTIONS_GROUP_AUDIOOPT=	GSM OPUS SPANDSP SPEEX
+OPTIONS_GROUP_VIDEOOPT=	FFMPEG THEORA V4L VPX XVIDEO
+OPTIONS_DEFAULT=	UPNP VIDEO \
+			GSM OPUS SPANDSP SPEEX \
+			FFMPEG THEORA V4L VPX XVIDEO
+
+AUDIOOPT_DESC=		Audio options
+
+FFMPEG_CONFIGURE_ENABLE=ffmpeg
+FFMPEG_LIB_DEPENDS=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
+
+GSM_CONFIGURE_ENABLE=	gsm
+GSM_LIB_DEPENDS=	libgsm.so:${PORTSDIR}/audio/gsm
+
+IPV6_CONFIGURE_ENABLE=	ipv6
+
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=		gettext
+NLS_USE=		GNOME=intltool
+
+OPUS_CONFIGURE_ENABLE=	opus
+OPUS_LIB_DEPENDS=	libopus.so:${PORTSDIR}/audio/opus
+
+SPANDSP_CONFIGURE_ENABLE=	spandsp
+SPANDSP_LIB_DEPENDS=	libspandsp.so:${PORTSDIR}/comms/spandsp-devel
+
+SPEEX_CONFIGURE_ENABLE=	speex
+SPEEX_LIB_DEPENDS=	libspeex.so:${PORTSDIR}/audio/speex
+
+THEORA_CONFIGURE_ENABLE=theora
+THEORA_LIB_DEPENDS=	libtheora.so:${PORTSDIR}/multimedia/libtheora
+
+UPNP_CONFIGURE_ENABLE=	upnp
+UPNP_LIB_DEPENDS=	libupnp.so:${PORTSDIR}/devel/upnp
+
+V4L_CONFIGURE_ENABLE=	libv4l1 libv4l2
+V4L_BUILD_DEPENDS=	v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat
+V4L_LIB_DEPENDS=	libv4l2.so:${PORTSDIR}/multimedia/libv4l
+
+VIDEOOPT_DESC=		Video options
+
+VIDEO_CONFIGURE_ENABLE=	video
+
+VPX_CONFIGURE_ENABLE=	vp8
+VPX_LIB_DEPENDS=	libvpx.so:${PORTSDIR}/multimedia/libvpx
+
+XVIDEO_CONFIGURE_ENABLE=x11 xv
+XVIDEO_USE=		XORG=videoproto,x11,xv
+
+.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
+CONFIGURE_ARGS+=--enable-debug
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} 's,gsm/gsm\.h,gsm.h,' \
+		${WRKSRC}/configure ${WRKSRC}/src/audiofilters/gsm.c
+
+.include <bsd.port.mk>

Added: head/net/mediastreamer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/distinfo	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,2 @@
+SHA256 (mediastreamer-2.10.0.tar.gz) = 808d87c47b7e4c79698765894cbde74575011059b33a76280aa567f099dce1ea
+SIZE (mediastreamer-2.10.0.tar.gz) = 3604794

Added: head/net/mediastreamer/files/patch-src__base__mscommon.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/files/patch-src__base__mscommon.c	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,11 @@
+--- src/base/mscommon.c.orig	2014-02-19 12:07:16.569961000 +0100
++++ src/base/mscommon.c	2014-07-11 10:07:30.000000000 +0200
+@@ -512,7 +512,7 @@
+ 	GetSystemInfo( &sysinfo );
+ 
+ 	num_cpu = sysinfo.dwNumberOfProcessors;
+-#elif __APPLE__ || __linux
++#elif __APPLE__ || __linux || __FreeBSD__
+ 	num_cpu = sysconf( _SC_NPROCESSORS_ONLN );
+ #elif __QNX__
+ 	num_cpu = _syspage_ptr->num_cpu;

Added: head/net/mediastreamer/files/patch-src__utils__dsptools.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/files/patch-src__utils__dsptools.c	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,11 @@
+--- src/utils/dsptools.c.orig	2013-01-14 16:13:45.000000000 +0100
++++ src/utils/dsptools.c	2014-07-11 10:34:30.000000000 +0200
+@@ -61,7 +61,7 @@
+ #ifdef HAVE_ALLOCA_H
+ #include <alloca.h>
+ #else
+-#if !defined(__APPLE__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #endif

Added: head/net/mediastreamer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/pkg-descr	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,28 @@
+Mediastreamer2 is a powerful and lightweight streaming engine specialized
+in voice/video telephony applications.
+
+It is the library that is responsible for all the receiving and sending of
+multimedia streams in linphone, including voice/video capture, encoding and
+decoding, and rendering.
+
+Features:
+
+* Capture and playback from various platform dependent sound architectures
+* Send and receive RTP streams
+* Encode and decode the following audio formats: speex, G711, GSM, iLBC,
+  AMR, AMR-WB, G722, SILK, G729, and video formats H263, theora, MPEG4,
+  H264 and VP8
+* Read and write .wav files
+* Read YUV pictures from a camera based on platform dependents APIs
+* Optimized rendering of YUV pictures
+* Dual tones generation
+* Custom tone detector
+* Echo cancelation, based on speex library or webrtc AEC on android
+* Audio conferencing
+* Audio parametric equalizer
+* Volume control, automatic gain control
+* ICE for optimized NAT traversal
+* Adaptive bitrate control algorithm: for automatic adaption of encoder
+  bitrate based on received RTCP feedback
+
+WWW: http://www.linphone.org/eng/documentation/dev/mediastreamer2.html

Added: head/net/mediastreamer/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mediastreamer/pkg-plist	Fri Jul 11 15:52:23 2014	(r361557)
@@ -0,0 +1,58 @@
+bin/mediastream
+include/mediastreamer2/allfilters.h
+include/mediastreamer2/bitratecontrol.h
+include/mediastreamer2/dsptools.h
+include/mediastreamer2/dtmfgen.h
+include/mediastreamer2/ice.h
+include/mediastreamer2/mediastream.h
+include/mediastreamer2/msaudiomixer.h
+include/mediastreamer2/mschanadapter.h
+include/mediastreamer2/mscodecutils.h
+include/mediastreamer2/mscommon.h
+include/mediastreamer2/msconference.h
+include/mediastreamer2/msequalizer.h
+include/mediastreamer2/mseventqueue.h
+include/mediastreamer2/msextdisplay.h
+include/mediastreamer2/msfileplayer.h
+include/mediastreamer2/msfilerec.h
+include/mediastreamer2/msfilter.h
+include/mediastreamer2/msinterfaces.h
+include/mediastreamer2/msitc.h
+include/mediastreamer2/msjava.h
+include/mediastreamer2/msjpegwriter.h
+include/mediastreamer2/msqueue.h
+include/mediastreamer2/msrtp.h
+include/mediastreamer2/mssndcard.h
+include/mediastreamer2/mstee.h
+include/mediastreamer2/msticker.h
+include/mediastreamer2/mstonedetector.h
+include/mediastreamer2/msv4l.h
+include/mediastreamer2/msvideo.h
+include/mediastreamer2/msvideoout.h
+include/mediastreamer2/msvolume.h
+include/mediastreamer2/mswebcam.h
+include/mediastreamer2/qualityindicator.h
+include/mediastreamer2/rfc3984.h
+include/mediastreamer2/upnp_igd.h
+lib/libmediastreamer_base.so
+lib/libmediastreamer_base.so.3
+lib/libmediastreamer_base.so.3.0.0
+lib/libmediastreamer_voip.so
+lib/libmediastreamer_voip.so.3
+lib/libmediastreamer_voip.so.3.0.0
+libdata/pkgconfig/mediastreamer.pc
+share/images/nowebcamCIF.jpg
+%%NLS%%share/locale/cs/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/de/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/es/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/it/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/mediastreamer.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/mediastreamer.mo
+@dirrmtry include/mediastreamer2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407111552.s6BFqO5F049053>