pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

retroarch: Optional pulseaudio support, for those that like that sort of thing



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Jul 30 13:11:44 2017 +0100
Changeset:	7ef688c3e80886e2ccf45971bd1b8e287e7a45ba

Modified Files:
	retroarch/options.mk

Log Message:
retroarch: Optional pulseaudio support, for those that like that sort of thing

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7ef688c3e80886e2ccf45971bd1b8e287e7a45ba

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 retroarch/options.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diffs:
diff --git a/retroarch/options.mk b/retroarch/options.mk
index becfa27da1..afe3519fc6 100644
--- a/retroarch/options.mk
+++ b/retroarch/options.mk
@@ -3,7 +3,7 @@
 .include "../../mk/bsd.fast.prefs.mk"
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.retroarch
-PKG_SUPPORTED_OPTIONS+=	sdl2 ffmpeg freetype alsa udev
+PKG_SUPPORTED_OPTIONS+=	sdl2 ffmpeg freetype alsa pulseaudio udev
 PKG_SUGGESTED_OPTIONS+=	sdl2 ffmpeg freetype
 PKG_OPTIONS_OPTIONAL_GROUPS+=	gl
 PKG_OPTIONS_GROUP.gl+=		opengl
@@ -112,3 +112,10 @@ CONFIGURE_ARGS+=	--enable-alsa
 .else
 CONFIGURE_ARGS+=	--disable-alsa
 .endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+=	--enable-pulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-pulse
+.endif


Home | Main Index | Thread Index | Old Index