From owner-svn-ports-head@freebsd.org Fri Jul 20 20:10:19 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEAE910511A0; Fri, 20 Jul 2018 20:10:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AEC48B7E5; Fri, 20 Jul 2018 20:10:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6864814D3A; Fri, 20 Jul 2018 20:10:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6KKAIqe077148; Fri, 20 Jul 2018 20:10:18 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6KKAHBv077145; Fri, 20 Jul 2018 20:10:17 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807202010.w6KKAHBv077145@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 20 Jul 2018 20:10:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475032 - in head/audio: . faustlive X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio: . faustlive X-SVN-Commit-Revision: 475032 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 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: Fri, 20 Jul 2018 20:10:19 -0000 Author: yuri Date: Fri Jul 20 20:10:17 2018 New Revision: 475032 URL: https://svnweb.freebsd.org/changeset/ports/475032 Log: New port: audio/faustlive: Standalone application that embeds Faust Added: head/audio/faustlive/ head/audio/faustlive/Makefile (contents, props changed) head/audio/faustlive/distinfo (contents, props changed) head/audio/faustlive/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Fri Jul 20 20:06:39 2018 (r475031) +++ head/audio/Makefile Fri Jul 20 20:10:17 2018 (r475032) @@ -147,6 +147,7 @@ SUBDIR += fabla2-lv2 SUBDIR += fapg SUBDIR += faust + SUBDIR += faustlive SUBDIR += fcplay SUBDIR += fdk-aac SUBDIR += fdmf Added: head/audio/faustlive/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/faustlive/Makefile Fri Jul 20 20:10:17 2018 (r475032) @@ -0,0 +1,63 @@ +# $FreeBSD$ + +PORTNAME= faustlive +PORTVERSION= g20171205 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Standalone application that embeds Faust + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/GPL.txt + +BUILD_DEPENDS= ${LOCALBASE}/lib/libfaust.a:audio/faust +LIB_DEPENDS= libLLVM-${LLVM_VERSION:C/([1-9])([0-9])/\1.\2/}.so:devel/llvm${LLVM_VERSION} \ + libasound.so:audio/alsa-lib \ + libcurl.so:ftp/curl \ + libjack.so:audio/jack \ + libmicrohttpd.so:www/libmicrohttpd \ + libqrencode.so:graphics/libqrencode # audio/alsa-lib isn't really needed: https://github.com/grame-cncm/faustlive/issues/3 + +USES= compiler:c++11-lang gmake qt:5 ssl +USE_GITHUB= yes +GH_ACCOUNT= grame-cncm +GH_TAGNAME= 281fcb8 +USE_QT= core gui network widgets buildtools_build qmake_build +USE_GL= gl + +LLVM_VERSION= 60 # llvm verion should be the same as in audio/faust +CXXFLAGS+= $$(llvm-config${LLVM_VERSION} --cflags) +LDFLAGS+= -lexecinfo + +PLIST_FILES= bin/FaustLive \ + share/applications/FaustLive.desktop \ + share/icons/hicolor/32x32/apps/Faustlive.png \ + share/icons/hicolor/scalable/apps/Faustlive.svg \ + share/pixmaps/Faustlive.xpm + +OPTIONS_DEFINE= PORTAUDIO + +PORTAUDIO_MAKE_ARGS= PORTAUDIO=1 +PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio + +post-patch: + @${MV} ${WRKSRC}/Build/Linux ${WRKSRC}/Build/FreeBSD + @${REINPLACE_CMD} -e ' \ + s|SPEC := ""|SPEC := "FaustLive.pro"|; \ + s|PREFIX :=|PREFIX ?=|; \ + s|DESTDIR :=|DESTDIR ?=|; \ + s|llvm-config|llvm-config${LLVM_VERSION}|g' \ + ${WRKSRC}/Build/FreeBSD/Makefile + @${REINPLACE_CMD} -e ' \ + s|########## LIBS AND FLAGS|CXXFLAGS+=$$$$system($$$$LLVM_CONFIG --cflags)| ; \ + s|/use/local|${LOCALBASE}| ; \ + s|-L/opt/local/lib$$|-L${LOCALBASE}/lib -lexecinfo|' \ + ${WRKSRC}/Build/FreeBSD/FaustLive.pro + @${REINPLACE_CMD} -e ' \ + s|#!/bin/bash|#!/bin/sh|' \ + ${WRKSRC}/Build/FreeBSD/buildversion + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/FaustLive + +.include Added: head/audio/faustlive/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/faustlive/distinfo Fri Jul 20 20:10:17 2018 (r475032) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532114000 +SHA256 (grame-cncm-faustlive-g20171205-281fcb8_GH0.tar.gz) = 18b832ae42ceb7747992c7e78df71d5470d93eee1f3af6e797625d0d10c8da20 +SIZE (grame-cncm-faustlive-g20171205-281fcb8_GH0.tar.gz) = 49027897 Added: head/audio/faustlive/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/faustlive/pkg-descr Fri Jul 20 20:10:17 2018 (r475032) @@ -0,0 +1,7 @@ +A standalone application that embeds Faust (as the libfaust library) and +LLVM compiler to provide dynamical compilation for the Faust programming +language. + +FaustLive is in its alpha stage. + +WWW: https://github.com/grame-cncm/faustlive