From 72ab989775f8b7b88ee62f15d6a2e2cce463d912 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 23 Jul 2022 21:06:16 -0600
Subject: [PATCH] Switch retroarch to sdl2

---
 recipes/retroarch/recipe.toml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes/retroarch/recipe.toml b/recipes/retroarch/recipe.toml
index 4b8c0cfb9..02a0e5796 100644
--- a/recipes/retroarch/recipe.toml
+++ b/recipes/retroarch/recipe.toml
@@ -5,7 +5,10 @@ git = "https://github.com/jackpot51/retroarch.git"
 template = "custom"
 dependencies = [
     "liborbital",
-    "sdl",
+    "llvm",
+    "mesa",
+    "sdl2",
+    "zlib",
 ]
 script = """
 pushd "${COOKBOOK_SOURCE}"
@@ -17,8 +20,11 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
 COOKBOOK_CONFIGURE_FLAGS=(
     --host="${TARGET}"
     --prefix="/"
+    --disable-builtinzlib
     --disable-networking # missing ifaddrs.h
     --disable-thread_storage # crash in pthread_setspecific called by sthread_tls_set
+    --enable-opengl
+    --enable-zlib
 )
 cookbook_configure
 """
-- 
GitLab