diff --git a/recipes/retroarch/recipe.toml b/recipes/retroarch/recipe.toml
index 4b8c0cfb9e267aeb2daa41a82afcd0c71381163c..02a0e5796c207d22f9366c83931343e00163a735 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
 """