git: 79d404485cc8 - main - audio/rtaudio: Update 5.2.0 → 6.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 22 Jul 2023 06:48:53 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79d404485cc83bec87644ee237150ff1c226fe07

commit 79d404485cc83bec87644ee237150ff1c226fe07
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-22 06:48:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-22 06:48:43 +0000

    audio/rtaudio: Update 5.2.0 → 6.0.0
    
    Reported by:    portscout
---
 audio/rtaudio/Makefile  | 9 ++++++---
 audio/rtaudio/distinfo  | 6 +++---
 audio/rtaudio/pkg-plist | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/audio/rtaudio/Makefile b/audio/rtaudio/Makefile
index b3d83cc8505c..ae310cf00e4e 100644
--- a/audio/rtaudio/Makefile
+++ b/audio/rtaudio/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	rtaudio
-DISTVERSION=	5.2.0
-PORTREVISION=	2
+DISTVERSION=	6.0.0
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,12 +8,16 @@ WWW=		https://github.com/thestk/rtaudio
 
 LICENSE=	MIT
 
-USES=		cmake compiler:c++11-lang libtool pkgconfig
+USES=		cmake:testing compiler:c++11-lang libtool pkgconfig
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	thestk
 
+CXXFLAGS+=	-I${STAGEDIR}${PREFIX}/include/rtaudio # hack for tests
+
+CMAKE_TESTING_ON=	RTAUDIO_BUILD_TESTING # tests fail to compile, see https://github.com/thestk/rtaudio/issues/403
+
 OPTIONS_MULTI=			AUDIO_BACKEND
 OPTIONS_MULTI_AUDIO_BACKEND=	ALSA JACK OSS PULSEAUDIO
 OPTIONS_DEFAULT=		PULSEAUDIO # default should probably be OSS, but it appears to be broken
diff --git a/audio/rtaudio/distinfo b/audio/rtaudio/distinfo
index 5599bf05c93b..2af3c0b70e7c 100644
--- a/audio/rtaudio/distinfo
+++ b/audio/rtaudio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644042597
-SHA256 (thestk-rtaudio-5.2.0_GH0.tar.gz) = a8d9c738addffd485c3f0bab14cbba72600267e3113f274398c67829bbb49332
-SIZE (thestk-rtaudio-5.2.0_GH0.tar.gz) = 247110
+TIMESTAMP = 1690008009
+SHA256 (thestk-rtaudio-6.0.0_GH0.tar.gz) = bbd637a45ab54ba999883410b9bdd84529c3ac894aee9a68fc3b9a6f0686b9fb
+SIZE (thestk-rtaudio-6.0.0_GH0.tar.gz) = 254640
diff --git a/audio/rtaudio/pkg-plist b/audio/rtaudio/pkg-plist
index a2ae0352c0d9..e48b89db41e3 100644
--- a/audio/rtaudio/pkg-plist
+++ b/audio/rtaudio/pkg-plist
@@ -2,7 +2,7 @@ include/rtaudio/RtAudio.h
 include/rtaudio/rtaudio_c.h
 lib/librtaudio.so
 lib/librtaudio.so.6
-lib/librtaudio.so.6.0.2
+lib/librtaudio.so.6.0.0
 libdata/pkgconfig/rtaudio.pc
 %%DATADIR%%/RtAudioConfig-version.cmake
 %%DATADIR%%/RtAudioConfig.cmake