pkgsrc-WIP-changes archive

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

retroarch: add options for openal/jack.



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Tue May 22 12:46:17 2018 +0100
Changeset:	47512db2b75ae2c0b7d24db1fc5817fd571e3285

Modified Files:
	retroarch/options.mk

Log Message:
retroarch: add options for openal/jack.

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

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

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

diffs:
diff --git a/retroarch/options.mk b/retroarch/options.mk
index d47ba62f09..533fbda589 100644
--- a/retroarch/options.mk
+++ b/retroarch/options.mk
@@ -3,9 +3,15 @@
 .include "../../mk/bsd.fast.prefs.mk"
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.retroarch
-PKG_SUPPORTED_OPTIONS+=		sdl2 ffmpeg freetype qt5 x11 alsa caca pulseaudio udev libusb-1 libxml2
-PKG_SUGGESTED_OPTIONS+=		sdl2 ffmpeg freetype x11
+
+PKG_SUPPORTED_OPTIONS+=		sdl2 ffmpeg freetype qt5 x11 caca
+PKG_SUPPORTED_OPTIONS+=		alsa jack openal pulseaudio libusb-1
+PKG_SUPPORTED_OPTIONS+=		libxml2 # Deprecated
+PKG_SUGGESTED_OPTIONS+=		sdl2 ffmpeg freetype x11 openal
+
+PKG_SUPPORTED_OPTIONS.Linux+=	udev
 PKG_SUGGESTED_OPTIONS.Linux+=	alsa pulseaudio udev
+
 PKG_OPTIONS_OPTIONAL_GROUPS+=	gl
 PKG_OPTIONS_GROUP.gl+=		opengl
 
@@ -142,6 +148,20 @@ CONFIGURE_ARGS+=	--enable-alsa
 CONFIGURE_ARGS+=	--disable-alsa
 .endif
 
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+=	--enable-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-jack
+.endif
+
+.if !empty(PKG_OPTIONS:Mopenal)
+CONFIGURE_ARGS+=	--enable-al
+.include "../../audio/openal-soft/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-al
+.endif
+
 .if !empty(PKG_OPTIONS:Mpulseaudio)
 CONFIGURE_ARGS+=	--enable-pulse
 .include "../../audio/pulseaudio/buildlink3.mk"


Home | Main Index | Thread Index | Old Index