git: 18e24bc6adca - main - audio/faustlive: Switch to Qt6

Yuri Victorovich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18e24bc6adca2b489af2e523c9969b73cc675c72

commit 18e24bc6adca2b489af2e523c9969b73cc675c72
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-07-31 19:30:42 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-01 06:50:04 +0000

    audio/faustlive: Switch to Qt6
    
    PR:             289521
    Reported by:    Daniel Engberg  <[email protected]>
---
 audio/faustlive/Makefile                        |  5 +++--
 audio/faustlive/files/patch-Build_FaustLive.pro | 13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/audio/faustlive/Makefile b/audio/faustlive/Makefile
index 35516903986d..af34f8773c1d 100644
--- a/audio/faustlive/Makefile
+++ b/audio/faustlive/Makefile
@@ -1,5 +1,6 @@
 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
@@ -20,8 +21,8 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		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
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\\\"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.