pkgsrc-WIP-changes archive

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

retroarch: Disable legacy xml shader support by default

Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <>
Pushed By:	nee
Date:		Mon Jun 5 12:11:04 2017 +0100
Changeset:	d1497b4dfdeab8e336e960c03fd56cbe2d0f01cf

Modified Files:

Log Message:
retroarch: Disable legacy xml shader support by default

To see a diff of this commit:;a=commitdiff;h=d1497b4dfdeab8e336e960c03fd56cbe2d0f01cf

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

 retroarch/Makefile   |  1 -
 retroarch/ | 10 +++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/retroarch/Makefile b/retroarch/Makefile
index dd2d468ff4..9c642e2454 100644
--- a/retroarch/Makefile
+++ b/retroarch/Makefile
@@ -63,5 +63,4 @@ CONFIGURE_ARGS+=	--disable-thread_storage
 .include "../../lang/python/"
 .include "../../devel/zlib/"
 .include "../../net/miniupnpc/"
-.include "../../textproc/libxml2/"
 .include "../../mk/"
diff --git a/retroarch/ b/retroarch/
index e15a9d153c..f4fa6855c4 100644
--- a/retroarch/
+++ b/retroarch/
@@ -3,7 +3,7 @@
 .include "../../mk/"
-PKG_SUPPORTED_OPTIONS+=	sdl2 alsa ffmpeg freetype
+PKG_SUPPORTED_OPTIONS+=	sdl2 alsa ffmpeg freetype libxml2
 PKG_SUGGESTED_OPTIONS+=	sdl2 ffmpeg freetype
 .if !empty(MACHINE_ARCH:M*arm*)
@@ -19,6 +19,14 @@ PKG_SUGGESTED_OPTIONS.Linux+=	alsa
 .include "../../misc/raspberrypi-userland/"
+# Legacy shader support
+.if !empty(PKG_OPTIONS:Mlibxml2)
+CONFIGURE_ARGS+=	--enable-libxml2
+.include "../../textproc/libxml2/"
+CONFIGURE_ARGS+=	--disable-libxml2
 .if !empty(PKG_OPTIONS:Msdl2)
 CONFIGURE_ARGS+=	--enable-sdl2
 .include "../../devel/SDL2/"

Home | Main Index | Thread Index | Old Index