Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 23:43:51 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4ec1f052f21c - main - audio/rtaudio: Add PULSEAUDIO option to enable use with PulseAudio
Message-ID:  <202105132343.14DNhpT1088774@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ec1f052f21c47fbb2b310d945c756fd022dc521

commit 4ec1f052f21c47fbb2b310d945c756fd022dc521
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-05-13 23:37:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-05-13 23:37:52 +0000

    audio/rtaudio: Add PULSEAUDIO option to enable use with PulseAudio
    
    PR:             255853
    Reported by:    Duane <parakleta@darkreality.org>
---
 audio/rtaudio/Makefile | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/audio/rtaudio/Makefile b/audio/rtaudio/Makefile
index 290989da485c..83cb2e4ac011 100644
--- a/audio/rtaudio/Makefile
+++ b/audio/rtaudio/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rtaudio
 DISTVERSION=	5.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,11 +9,22 @@ COMMENT=	C++ classes that provide a common API for realtime audio input/output
 LICENSE=	MIT
 
 USES=		autoreconf compiler:c++11-lang libtool pkgconfig
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	thestk
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static
-USE_LDCONFIG=	yes
+
 INSTALL_TARGET=	install-strip
 
+OPTIONS_DEFINE=			PULSEAUDIO
+OPTIONS_DEFAULT=		PULSEAUDIO
+
+PULSEAUDIO_CONFIGURE_WITH=	pulse
+PULSEAUDIO_USES=		localbase:ldflags
+PULSEAUDIO_LDFLAGS=		-lpulse # see https://github.com/thestk/rtaudio/issues/293
+PULSEAUDIO_LIB_DEPENDS=		libpulse.so:audio/pulseaudio
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105132343.14DNhpT1088774>