pkgsrc-WIP-changes archive

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

retroarch: Add support for libcaca (lol)



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Sep 10 13:26:19 2017 +0100
Changeset:	2f386a4e280b095b1017be388f93686fad18f5ef

Modified Files:
	retroarch/options.mk

Log Message:
retroarch: Add support for libcaca (lol)

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

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

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

diffs:
diff --git a/retroarch/options.mk b/retroarch/options.mk
index afe3519fc6..af059160fa 100644
--- a/retroarch/options.mk
+++ b/retroarch/options.mk
@@ -3,8 +3,9 @@
 .include "../../mk/bsd.fast.prefs.mk"
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.retroarch
-PKG_SUPPORTED_OPTIONS+=	sdl2 ffmpeg freetype alsa pulseaudio udev
+PKG_SUPPORTED_OPTIONS+=	sdl2 ffmpeg freetype alsa caca pulseaudio udev
 PKG_SUGGESTED_OPTIONS+=	sdl2 ffmpeg freetype
+PKG_SUGGESTED_OPTIONS.Linux+=	alsa udev
 PKG_OPTIONS_OPTIONAL_GROUPS+=	gl
 PKG_OPTIONS_GROUP.gl+=		opengl
 
@@ -30,8 +31,6 @@ PKG_SUGGESTED_OPTIONS+=		rpi
 PKG_SUGGESTED_OPTIONS+=		opengl
 .endif
 
-PKG_SUGGESTED_OPTIONS.Linux+=	alsa udev
-
 .include "../../mk/bsd.options.mk"
 
 .if !empty(MACHINE_ARCH:M*arm*)
@@ -49,6 +48,13 @@ CONFIGURE_ARGS+=	--enable-opengl
 CONFIGURE_ARGS+=	--disable-opengl
 .endif
 
+.if !empty(PKG_OPTIONS:Mcaca)
+CONFIGURE_ARGS+=	--enable-caca
+.include "../../graphics/libcaca/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-caca
+.endif
+
 .if !empty(PKG_OPTIONS:Mrpi)
 .include "../../misc/raspberrypi-userland/buildlink3.mk"
 SUBST_CLASSES+=		vc


Home | Main Index | Thread Index | Old Index