svn commit: r565785 - head/audio/faustlive

Yuri Victorovich yuri at FreeBSD.org
Wed Feb 17 18:31:02 UTC 2021


Author: yuri
Date: Wed Feb 17 18:30:56 2021
New Revision: 565785
URL: https://svnweb.freebsd.org/changeset/ports/565785

Log:
  audio/faustlive: Update g20171205 -> 2.5.5
  
  It is in sync with the updated audio/faust.

Modified:
  head/audio/faustlive/Makefile
  head/audio/faustlive/distinfo

Modified: head/audio/faustlive/Makefile
==============================================================================
--- head/audio/faustlive/Makefile	Wed Feb 17 18:30:23 2021	(r565784)
+++ head/audio/faustlive/Makefile	Wed Feb 17 18:30:56 2021	(r565785)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	faustlive
-PORTVERSION=	g20171205
-PORTREVISION=	4
+DISTVERSION=	2.5.5
 CATEGORIES=	audio
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -11,25 +10,37 @@ 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} \
+BUILD_DEPENDS=	bash:shells/bash
+LIB_DEPENDS=	libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION} \
 		libasound.so:audio/alsa-lib \
 		libcurl.so:ftp/curl \
+		libfaust.so:audio/faust \
 		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
+		libqrencode.so:graphics/libqrencode \
+		libsndfile.so:audio/libsndfile # audio/alsa-lib isn't really needed: https://github.com/grame-cncm/faustlive/issues/3
 
-USES=		compiler:c++11-lang gl gmake qt:5 ssl
+USES=		compiler:c++11-lang gl pkgconfig qmake qt:5 shebangfix
+USE_QT=		core gui network widgets buildtools_build
+USE_GL=		gl
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	grame-cncm
-GH_TAGNAME=	281fcb8
-USE_QT=		core gui network widgets buildtools_build qmake_build
-USE_GL=		gl
+GH_TUPLE=	grame-cncm:faustlibraries:cde5c7b:grame_cncm_faustlibraries/Resources/Libs
 
-LLVM_VERSION=	60 # llvm version should be the same as in audio/faust
+CMAKE_SOURCE_PATH=	${WRKSRC}/package
+
+SHEBANG_GLOB=	build install makelibs
+
+LLVM_VERSION=	11 # llvm version should be the same as in audio/faust
+
+QMAKE_ARGS=	Build/FaustLive.pro
+
 CXXFLAGS+=	$$(llvm-config${LLVM_VERSION} --cflags)
 LDFLAGS+=	-lexecinfo
 
+BINARY_ALIAS=	llvm-config=llvm-config${LLVM_VERSION}
+
 PLIST_FILES=	bin/FaustLive \
 		share/applications/FaustLive.desktop \
 		share/icons/hicolor/32x32/apps/Faustlive.png \
@@ -40,26 +51,17 @@ OPTIONS_DEFINE=		PORTAUDIO
 
 PORTAUDIO_MAKE_ARGS=	PORTAUDIO=1
 PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio
+PORTAUDIO_BROKEN=	PORTAUDIO support needs to be updated for qmake
 
-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| ; \
-		s|-L/usr/lib/||' \
-		${WRKSRC}/Build/FreeBSD/FaustLive.pro
-	@${REINPLACE_CMD} -e ' \
-		s|#!/bin/bash|#!/bin/sh|' \
-		${WRKSRC}/Build/FreeBSD/buildversion
+post-extract:
+	@${RM} ${WRKSRC}/version # mixup with STL header 'version'
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/FaustLive
+do-install: # workaround for https://github.com/grame-cncm/faustlive/issues/38
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_PROGRAM} ${WRKSRC}/Build/FaustLive/FaustLive ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/Build/rsrc/FaustLive.desktop ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps
+	${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/audio/faustlive/distinfo
==============================================================================
--- head/audio/faustlive/distinfo	Wed Feb 17 18:30:23 2021	(r565784)
+++ head/audio/faustlive/distinfo	Wed Feb 17 18:30:56 2021	(r565785)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1532114000
-SHA256 (grame-cncm-faustlive-g20171205-281fcb8_GH0.tar.gz) = 18b832ae42ceb7747992c7e78df71d5470d93eee1f3af6e797625d0d10c8da20
-SIZE (grame-cncm-faustlive-g20171205-281fcb8_GH0.tar.gz) = 49027897
+TIMESTAMP = 1613511372
+SHA256 (grame-cncm-faustlive-2.5.5_GH0.tar.gz) = bbe56b5315cf0514d5042e5a3c92d06993efa69bb7af0b7614f464390c0d080b
+SIZE (grame-cncm-faustlive-2.5.5_GH0.tar.gz) = 5758862
+SHA256 (grame-cncm-faustlibraries-cde5c7b_GH0.tar.gz) = 403510c10f46447228c6744049c44d88523a11f9b84431a12cc28a69a115616d
+SIZE (grame-cncm-faustlibraries-cde5c7b_GH0.tar.gz) = 7651171


More information about the svn-ports-all mailing list