git: 571fd17ba61a - main - audio/jacktrip: Update 1.5.0 -> 1.5.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 02 Mar 2022 05:53:10 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=571fd17ba61ae6958848d13ba69fef7f13fe4c0a

commit 571fd17ba61ae6958848d13ba69fef7f13fe4c0a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-02 05:52:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-02 05:52:30 +0000

    audio/jacktrip: Update 1.5.0 -> 1.5.1
    
    Reported by:    portscout
---
 audio/jacktrip/Makefile                 | 19 +++++++++++--------
 audio/jacktrip/distinfo                 |  8 +++++---
 audio/jacktrip/files/patch-jacktrip.pro |  6 +++---
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/audio/jacktrip/Makefile b/audio/jacktrip/Makefile
index cd1b0f15e550..7714e17338e5 100644
--- a/audio/jacktrip/Makefile
+++ b/audio/jacktrip/Makefile
@@ -1,25 +1,28 @@
 PORTNAME=	jacktrip
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.0
+DISTVERSION=	1.5.1
 CATEGORIES=	audio
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	b3a73695ba1788274ca19b7f00f4c06e2b41649b.diff:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Multi-machine audio network performance over the Internet
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	help2man:misc/help2man
 LIB_DEPENDS=	libjack.so:audio/jack
 
-USES=		compiler:c++11-lang qmake qt:5
-USE_QT=		core network buildtools_build
+USES=		compiler:c++11-lang gl pkgconfig qmake qt:5
+USE_QT=		core gui network widgets buildtools_build
+USE_GL=		gl
 
 USE_GITHUB=	yes
-GH_TAGNAME=	d5e110c # contains compilation error fix
-
-CXXFLAGS+=	-D__LINUX__
 
-WRKSRC_SUBDIR=	src
+QMAKE_SOURCE_PATH=	${PORTNAME}.pro
 
-PLIST_FILES=	bin/jacktrip
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/jacktrip.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/jacktrip/distinfo b/audio/jacktrip/distinfo
index eba27144bf3b..581ace0b3caa 100644
--- a/audio/jacktrip/distinfo
+++ b/audio/jacktrip/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1641314846
-SHA256 (jacktrip-jacktrip-v1.5.0-d5e110c_GH0.tar.gz) = 85d197d3fb81d4d188685733bd020cb067965ce9606b2e0d6d0c0c78a1536f08
-SIZE (jacktrip-jacktrip-v1.5.0-d5e110c_GH0.tar.gz) = 4229494
+TIMESTAMP = 1646199357
+SHA256 (jacktrip-jacktrip-v1.5.1_GH0.tar.gz) = 3288eb5c53c69b93d28f4c4685baaf82195b439093573b1190c502cf05919648
+SIZE (jacktrip-jacktrip-v1.5.1_GH0.tar.gz) = 5191575
+SHA256 (b3a73695ba1788274ca19b7f00f4c06e2b41649b.diff) = 88c3e6d3094ca8ae0df86dad0b7d6a1a75e8f0c9016ab5975a7068b9f5261e3b
+SIZE (b3a73695ba1788274ca19b7f00f4c06e2b41649b.diff) = 5942
diff --git a/audio/jacktrip/files/patch-jacktrip.pro b/audio/jacktrip/files/patch-jacktrip.pro
index b2ba4fc84b53..689c2f86ca07 100644
--- a/audio/jacktrip/files/patch-jacktrip.pro
+++ b/audio/jacktrip/files/patch-jacktrip.pro
@@ -1,4 +1,4 @@
---- jacktrip.pro.orig	2020-11-15 00:26:30 UTC
+--- jacktrip.pro.orig	2022-01-07 17:52:55 UTC
 +++ jacktrip.pro
 @@ -5,7 +5,7 @@
  CONFIG += c++11 console
@@ -7,5 +7,5 @@
 -CONFIG += qt thread debug_and_release build_all
 +CONFIG += qt thread release build_all
  CONFIG(debug, debug|release) {
-   TARGET = jacktrip_debug
-   } else {
+     TARGET = jacktrip_debug
+     application_id = 'org.jacktrip.JackTrip.Devel'