Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2021 09:17:01 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: e9946a7d27c8 - main - audio/psindustrializer: Add audio backend options
Message-ID:  <202106270917.15R9H1lB080966@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=e9946a7d27c82dbab07c6bd8d37ec10a14692c40

commit e9946a7d27c82dbab07c6bd8d37ec10a14692c40
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-27 09:03:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-27 09:03:02 +0000

    audio/psindustrializer: Add audio backend options
    
    PR:             256859
    Suggested by:   p5B2E9A8F@t-online.de
---
 audio/psindustrializer/Makefile | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/audio/psindustrializer/Makefile b/audio/psindustrializer/Makefile
index c5d6c378a188..6f69f724b5c7 100644
--- a/audio/psindustrializer/Makefile
+++ b/audio/psindustrializer/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	psindustrializer
 DISTVERSION=	0.2.7
 DISTVERSIONSUFFIX=	-pre2
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	SF/industrializer/
 
@@ -14,9 +15,7 @@ LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
-		libharfbuzz.so:print/harfbuzz \
-		libjack.so:audio/jack \
-		libpulse.so:audio/pulseaudio
+		libharfbuzz.so:print/harfbuzz
 
 USES=		gettext-runtime gl gmake gnome libtool pkgconfig tar:xz xorg
 USE_GNOME=	atk cairo gdkpixbuf2 gtk20 libxml2 pango pangox-compat
@@ -27,6 +26,19 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-alsa
 
-INSTALL_TARGET=install-strip
+INSTALL_TARGET=	install-strip
+
+OPTIONS_MULTI=		BACKEND
+OPTIONS_MULTI_BACKEND=	JACK PULSE
+OPTIONS_DEFAULT=	PULSE
+
+BACKEND_DESC=		Audio Backend
+
+JACK_CONFIGURE_ENABLE=	jack
+JACK_LIB_DEPENDS=	libjack.so:audio/jack
+
+PULSE_DESC=		PulseAudio support
+PULSE_CONFIGURE_ENABLE=	pulse
+PULSE_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?202106270917.15R9H1lB080966>