From 622bc4a1e98e91ae92d24df90a8d80a38b40ecfc Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Fri, 22 May 2020 08:22:09 -0600
Subject: [PATCH] Add sdl recipe

---
 recipes/sdl/recipe.toml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 recipes/sdl/recipe.toml

diff --git a/recipes/sdl/recipe.toml b/recipes/sdl/recipe.toml
new file mode 100644
index 000000000..cd55f3934
--- /dev/null
+++ b/recipes/sdl/recipe.toml
@@ -0,0 +1,23 @@
+[source]
+tar = "https://www.libsdl.org/release/SDL-1.2.15.tar.gz"
+patches = [
+    "redox.patch"
+]
+script = "./autogen.sh"
+
+[build]
+template = "custom"
+dependencies = [
+    "liborbital"
+]
+script = """
+COOKBOOK_CONFIGURE_FLAGS+=(
+    --disable-pulseaudio
+    --disable-video-x11
+    --disable-loadso
+    --enable-redoxaudio
+    --enable-clock_gettime
+    --enable-video-orbital
+)
+cookbook_configure
+"""
-- 
GitLab