From owner-svn-ports-head@FreeBSD.ORG Sat Sep 1 17:20:12 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C7A5106566C; Sat, 1 Sep 2012 17:20:12 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 165328FC0C; Sat, 1 Sep 2012 17:20:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q81HKBSQ050318; Sat, 1 Sep 2012 17:20:11 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q81HKBxu050311; Sat, 1 Sep 2012 17:20:11 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201209011720.q81HKBxu050311@svn.freebsd.org> From: Chris Rees Date: Sat, 1 Sep 2012 17:20:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303501 - in head/audio: . baresip baresip/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2012 17:20:12 -0000 Author: crees Date: Sat Sep 1 17:20:11 2012 New Revision: 303501 URL: http://svn.freebsd.org/changeset/ports/303501 Log: baresip is a small, modular telephony client that works on multiple platforms and supports several audio and video input/output methods. WWW: http://www.creytiv.com/baresip.html Submitted by: luigi (original port) Added: head/audio/baresip/ head/audio/baresip/Makefile (contents, props changed) head/audio/baresip/Makefile.depends (contents, props changed) head/audio/baresip/distinfo (contents, props changed) head/audio/baresip/files/ head/audio/baresip/files/patch-modules-v4l-v4l-c (contents, props changed) head/audio/baresip/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Sat Sep 1 17:18:41 2012 (r303500) +++ head/audio/Makefile Sat Sep 1 17:20:11 2012 (r303501) @@ -58,6 +58,7 @@ SUBDIR += autocd SUBDIR += autotalent SUBDIR += autozen + SUBDIR += baresip SUBDIR += baudline SUBDIR += beast SUBDIR += bebocd Added: head/audio/baresip/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/baresip/Makefile Sat Sep 1 17:20:11 2012 (r303501) @@ -0,0 +1,99 @@ +# $FreeBSD$ + +PORTNAME= baresip +PORTVERSION= 0.4.0 +CATEGORIES= audio +MASTER_SITES= http://www.creytiv.com/pub/ + +MAINTAINER= crees@FreeBSD.org +COMMENT= Small SIP client + +BUILD_DEPENDS= ${LOCALBASE}/share/re/re.mk:${PORTSDIR}/audio/re \ + ${LOCALBASE}/include/rem/rem.h:${PORTSDIR}/audio/rem +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_GMAKE= yes + +CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ilbc +MAKE_ARGS= MOD_AUTODETECT="" +PLIST_FILES= bin/baresip +PORTDATA= * +PORTDOCS= * + +#OPTIONS_NOT_YET_WORKING= ALSA BV32 G722_1 PLC PORTAUDIO V4L2 +OPTIONS_DEFINE= CELT CONS DOCS FFMPEG G711 G722 GSM GSTREAMER ILBC L16 OPUS \ + OSS SDL SNDFILE SPEEX SRTP STDIO UUID V4L X11 +OPTIONS_DEFAULT=CONS G711 G722 L16 + +BV32_DESC= BroadVoice32 Wideband Audio codec +CONS_DESC= Console input driver +G711_DESC= G.711 audio codec +G722_DESC= G.722 audio codec +G722_1_DESC= G.722.1 audio codec +ILBC_DESC= iLBC audio codec +L16_DESC= L16 audio codec +OPUS_DESC= Opus audio codec +PLC_DESC= Packet Loss Concealment +SRTP_DESC= Secure RTP module +STDIO_DESC= stdio input driver +UUID_DESC= UUID module +V4L_DESC= Video4Linux module +V4L2_DESC= Video4Linux2 module + +.include + +.include "${.CURDIR}/Makefile.depends" + +# Port calls it GST, standard OPTION is GSTREAMER +.if ${PORT_OPTIONS:MGSTREAMER} +PORT_OPTIONS+= GST +.endif + +.if ${PORT_OPTIONS:MSDL} +USE_SDL= sdl sound +.endif + +# SPEEX forces install of speex, therefore may as well enable all methods +.if ${PORT_OPTIONS:MSPEEX} +. for s in SPEEX_AEC SPEEX_PP SPEEX_RESAMP +MAKE_ARGS+= USE_$s=yes +. endfor +.endif + +.if ${PORT_OPTIONS:MX11} +USE_XORG= x11 +.endif + +.for o in ${PORT_OPTIONS} +MAKE_ARGS+= USE_$o=yes +BUILD_DEPENDS+= ${$o_DEPEND} +RUN_DEPENDS+= ${$o_DEPEND} +.endfor + +# GNU Make does not do make -V, which makes life difficult +post-patch: + ${ECHO_CMD} >> ${WRKSRC}/Makefile + ${ECHO_CMD} ".PHONY: showmodules" >> ${WRKSRC}/Makefile + ${ECHO_CMD} "showmodules:" >> ${WRKSRC}/Makefile + ${ECHO_CMD} ' @${ECHO_CMD} $$(MODULES)' >> ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/share/* ${DATADIR} + +# Install modules and add to plist +post-install: + ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules + for m in $$(${GMAKE} -sC ${WRKSRC} ${MAKE_ARGS} showmodules); \ + do ${INSTALL_LIB} ${WRKSRC}/$$m.so ${PREFIX}/lib/baresip/modules; \ + ${ECHO_CMD} lib/${PORTNAME}/modules/$$m.so >> ${TMPPLIST}; \ + done + ${ECHO_CMD} "@dirrm lib/baresip/modules" >> ${TMPPLIST} + ${ECHO_CMD} "@dirrm lib/baresip" >> ${TMPPLIST} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} +.endif + +.include Added: head/audio/baresip/Makefile.depends ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/baresip/Makefile.depends Sat Sep 1 17:20:11 2012 (r303501) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +ALSA_DEPEND= ${LOCALBASE}/include/alsa/asoundlib.h:${PORTSDIR}/audio/alsa-lib +BV32_DEPEND= # nonexistent +CELT_DEPEND= ${LOCALBASE}/include/celt/celt.h:${PORTSDIR}/audio/celt +CONS_DEPEND= # unneccessary +EVDEV_DEPEND= +FFMPEG_DEPEND= ${LOCALBASE}/include/libavcodec/avcodec.h:${PORTSDIR}/multimedia/ffmpeg +G711_DEPEND= ${LOCALBASE}/include/spandsp/g711.h:${PORTSDIR}/comms/spandsp +G722_DEPEND= ${LOCALBASE}/include/spandsp/g722.h:${PORTSDIR}/comms/spandsp +G722_1_DEPEND= # nonexistent +GSM_DEPEND= ${LOCALBASE}/include/gsm.h:${PORTSDIR}/audio/gsm +GST_DEPEND= gst-launch:${PORTSDIR}/multimedia/gstreamer +ILBC_DEPEND= ${LOCALBASE}/include/ilbc/iLBC_define.h:${PORTSDIR}/net/ilbc +L16_DEPEND= +OPUS_DEPEND= ${LOCALBASE}/include/opus/opus.h:${PORTSDIR}/audio/opus +OSS_DEPEND= # In base +PLC_DEPEND= ${LOCALBASE}/include/spandsp/plc.h:${PORTSDIR}/comms/spandsp +PORTAUDIO_DEPEND= ${LOCALBASE}/include/portaudio.h:${PORTSDIR}/audio/portaudio +SDL_DEPEND= # Handled with USE_SDL in Makefile +SNDFILE_DEPEND= ${LOCALBASE}/include/sndfile.h:${PORTSDIR}/audio/libsndfile +SPEEX_DEPEND= ${LOCALBASE}/include/speex/speex.h:${PORTSDIR}/audio/speex +SRTP_DEPEND= ${LOCALBASE}/include/srtp/srtp.h:${PORTSDIR}/net/libsrtp +STDIO_DEPEND= # In base +UUID_DEPEND= ${LOCALBASE}/include/uuid/uuid.h:${PORTSDIR}/misc/e2fsprogs-libuuid +V4L_DEPEND= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat +V4L2_DEPEND= # nonexistent +X11_DEPEND= # Handled with USE_XORG in Makefile Added: head/audio/baresip/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/baresip/distinfo Sat Sep 1 17:20:11 2012 (r303501) @@ -0,0 +1,2 @@ +SHA256 (baresip-0.4.0.tar.gz) = e1c81730556f2cd24db94e63e4f3172892a1e8ca1047f1f506d5bbd0b436e17f +SIZE (baresip-0.4.0.tar.gz) = 288029 Added: head/audio/baresip/files/patch-modules-v4l-v4l-c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/baresip/files/patch-modules-v4l-v4l-c Sat Sep 1 17:20:11 2012 (r303501) @@ -0,0 +1,10 @@ +--- modules/v4l/v4l.c.orig 2012-09-01 17:58:40.658452422 +0100 ++++ modules/v4l/v4l.c 2012-09-01 17:58:49.687451121 +0100 +@@ -7,7 +7,6 @@ + #include + #include + #include +-#include + #include + #include + #include Added: head/audio/baresip/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/baresip/pkg-descr Sat Sep 1 17:20:11 2012 (r303501) @@ -0,0 +1,5 @@ +baresip is a small, modular telephony client that works +on multiple platforms and supports several audio and video +input/output methods. + +WWW: http://www.creytiv.com/baresip.html