From 5563574c62e1ba7fe0ae1e1c344e08cdc7b6b0b3 Mon Sep 17 00:00:00 2001
From: Florian Blasius <flovanpt@posteo.de>
Date: Mon, 5 Dec 2022 13:43:59 +0000
Subject: [PATCH] Slint port of calculator

---
 recipes/orbutils/recipe.toml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/recipes/orbutils/recipe.toml b/recipes/orbutils/recipe.toml
index fd6a51593..daa18cce9 100644
--- a/recipes/orbutils/recipe.toml
+++ b/recipes/orbutils/recipe.toml
@@ -5,7 +5,13 @@ git = "https://gitlab.redox-os.org/redox-os/orbutils.git"
 template = "custom"
 script = """
 COOKBOOK_CARGO_FLAGS=(
-    --path "${COOKBOOK_SOURCE}"
+    --path "${COOKBOOK_SOURCE}/src"
+    --root "${COOKBOOK_STAGE}/ui"
+    --locked
+)
+cookbook_cargo
+COOKBOOK_CARGO_FLAGS=(
+    --path "${COOKBOOK_SOURCE}/calculator"
     --root "${COOKBOOK_STAGE}/ui"
     --locked
 )
@@ -14,5 +20,10 @@ cookbook_cargo
 
 [package]
 dependencies = [
-    "orbital"
+    "orbital",
+    "expat",
+    "fontconfig",
+    "freetype",
+    "libpng",
+    "zlib",
 ]
-- 
GitLab