From b8eaf498ba9d2ee97468120ddd92908059f4cf7f Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Mon, 26 Feb 2024 20:03:31 +0000
Subject: [PATCH] Add the Celestia data

---
 recipes/wip/science/celestia-data/recipe.toml | 5 +++++
 recipes/wip/science/celestia/recipe.toml      | 1 +
 2 files changed, 6 insertions(+)
 create mode 100644 recipes/wip/science/celestia-data/recipe.toml

diff --git a/recipes/wip/science/celestia-data/recipe.toml b/recipes/wip/science/celestia-data/recipe.toml
new file mode 100644
index 000000000..a3175e286
--- /dev/null
+++ b/recipes/wip/science/celestia-data/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#installing-the-content
+[source]
+git = "https://github.com/CelestiaProject/CelestiaContent"
+[build]
+template = "custom"
diff --git a/recipes/wip/science/celestia/recipe.toml b/recipes/wip/science/celestia/recipe.toml
index 28b7436d4..f4793712c 100644
--- a/recipes/wip/science/celestia/recipe.toml
+++ b/recipes/wip/science/celestia/recipe.toml
@@ -29,6 +29,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
     -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
     -DCMAKE_VERBOSE_MAKEFILE=On
     -DENABLE_INTERFACE=ON
+    -DENABLE_SDL=On
 "${COOKBOOK_SOURCE}"
 )
 cookbook_configure
-- 
GitLab