diff --git a/audio/faustlive/Makefile b/audio/faustlive/Makefile index 35516903986d..af34f8773c1d 100644 --- a/audio/faustlive/Makefile +++ b/audio/faustlive/Makefile @@ -1,60 +1,61 @@ PORTNAME= faustlive DISTVERSION= 2.5.19 +PORTREVISION= 1 #MASTER_SITES= https://github.com/grame-cncm/faustlive/releases/download/${DISTVERSION}/ #DISTFILES= FaustLive-${DISTVERSION}${EXTRACT_SUFX} CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Standalone application that embeds Faust WWW= https://github.com/grame-cncm/faustlive LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/GPL.txt BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= 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 \ libsndfile.so:audio/libsndfile # audio/alsa-lib isn't really needed: https://github.com/grame-cncm/faustlive/issues/3 -USES= compiler:c++11-lang desktop-file-utils gl ncurses pkgconfig qmake qt:5 shebangfix -USE_QT= core gui network widgets buildtools:build +USES= compiler:c++11-lang desktop-file-utils gl ncurses pkgconfig qmake qt:6 shebangfix +USE_QT= base tools:build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= grame-cncm GH_TUPLE= grame-cncm:faustlibraries:3e74c39:grame_cncm_faustlibraries/Resources/Libs SHEBANG_GLOB= build install makelibs QMAKE_ARGS= Build/FaustLive.pro 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 PORTAUDIO_BROKEN= PORTAUDIO support needs to be updated for qmake post-extract: @${RM} ${WRKSRC}/version # mixup with STL header 'version' 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 diff --git a/audio/faustlive/files/patch-Build_FaustLive.pro b/audio/faustlive/files/patch-Build_FaustLive.pro new file mode 100644 index 000000000000..f1e827ea3e64 --- /dev/null +++ b/audio/faustlive/files/patch-Build_FaustLive.pro @@ -0,0 +1,13 @@ +-- add C++17 required by Qt6 + +--- Build/FaustLive.pro.orig 2026-07-31 18:50:05 UTC ++++ Build/FaustLive.pro +@@ -37,6 +37,8 @@ CONFIG += exceptions rtti # c++11 + + CONFIG += exceptions rtti # c++11 + ++CONFIG += c++17 ++ + ## QT libraries needed + QT += core gui widgets network + DEFINES += VERSION=\\\"$$VERSION\\\"