pkgsrc-WIP-changes archive

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

retroarch: Revert removal of alsa option



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sat Jul 29 20:28:32 2017 +0100
Changeset:	92004e0ac5080c6f0a1a8a4990aec6881dc1c518

Modified Files:
	retroarch/options.mk

Log Message:
retroarch: Revert removal of alsa option

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

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

diffstat:
 retroarch/options.mk | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diffs:
diff --git a/retroarch/options.mk b/retroarch/options.mk
index 5f24ce6d31..becfa27da1 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 udev
+PKG_SUPPORTED_OPTIONS+=	sdl2 ffmpeg freetype alsa udev
 PKG_SUGGESTED_OPTIONS+=	sdl2 ffmpeg freetype
 PKG_OPTIONS_OPTIONAL_GROUPS+=	gl
 PKG_OPTIONS_GROUP.gl+=		opengl
@@ -30,7 +30,7 @@ PKG_SUGGESTED_OPTIONS+=		rpi
 PKG_SUGGESTED_OPTIONS+=		opengl
 .endif
 
-PKG_SUGGESTED_OPTIONS.Linux+=	udev
+PKG_SUGGESTED_OPTIONS.Linux+=	alsa udev
 
 .include "../../mk/bsd.options.mk"
 
@@ -105,3 +105,10 @@ CONFIGURE_ARGS+=	--enable-freetype
 .else
 CONFIGURE_ARGS+=	--disable-freetype
 .endif
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=	--enable-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-alsa
+.endif


Home | Main Index | Thread Index | Old Index