From 0499c88b246032f2c128509df5602e13e542aa1f Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 10 Dec 2023 21:40:45 +0000
Subject: [PATCH] Update recipes

---
 recipes/wip/{atk2mm => atkmm}/recipe.toml    |  3 +++
 recipes/wip/colm/recipe.toml                 |  5 ++++
 recipes/wip/inkscape/recipe.toml             | 28 +++++++++++++++++---
 recipes/wip/kodi/recipe.toml                 |  5 ++--
 recipes/wip/lib2geom/recipe.toml             | 11 ++++++++
 recipes/wip/libcdio-paranoia/recipe.toml     |  9 +++++++
 recipes/wip/libcdio/recipe.toml              |  9 +++++++
 recipes/wip/libcdr/recipe.toml               | 12 +++++++++
 recipes/wip/libdouble-conversion/recipe.toml |  5 ++++
 recipes/wip/libpugixml/recipe.toml           |  5 ++++
 recipes/wip/libqrcodegenc/recipe.toml        |  5 ++++
 recipes/wip/librevenge/recipe.toml           |  9 +++++++
 recipes/wip/librist/recipe.toml              |  5 ++++
 recipes/wip/libsrt/recipe.toml               |  8 ++++++
 recipes/wip/libvisio/recipe.toml             | 11 ++++++++
 recipes/wip/libwebsocket++/recipe.toml       |  9 +++++++
 recipes/wip/libwpd/recipe.toml               | 10 +++++++
 recipes/wip/obs-studio/recipe.toml           | 21 +++++++++++++--
 recipes/wip/potrace/recipe.toml              |  5 ++++
 recipes/wip/ragel/recipe.toml                | 14 ++++++++++
 recipes/wip/swig/recipe.toml                 |  8 ++++++
 recipes/wip/waylandpp/recipe.toml            |  5 ++++
 22 files changed, 195 insertions(+), 7 deletions(-)
 rename recipes/wip/{atk2mm => atkmm}/recipe.toml (85%)
 create mode 100644 recipes/wip/colm/recipe.toml
 create mode 100644 recipes/wip/lib2geom/recipe.toml
 create mode 100644 recipes/wip/libcdio-paranoia/recipe.toml
 create mode 100644 recipes/wip/libcdio/recipe.toml
 create mode 100644 recipes/wip/libcdr/recipe.toml
 create mode 100644 recipes/wip/libdouble-conversion/recipe.toml
 create mode 100644 recipes/wip/libpugixml/recipe.toml
 create mode 100644 recipes/wip/libqrcodegenc/recipe.toml
 create mode 100644 recipes/wip/librevenge/recipe.toml
 create mode 100644 recipes/wip/librist/recipe.toml
 create mode 100644 recipes/wip/libsrt/recipe.toml
 create mode 100644 recipes/wip/libvisio/recipe.toml
 create mode 100644 recipes/wip/libwebsocket++/recipe.toml
 create mode 100644 recipes/wip/libwpd/recipe.toml
 create mode 100644 recipes/wip/potrace/recipe.toml
 create mode 100644 recipes/wip/ragel/recipe.toml
 create mode 100644 recipes/wip/swig/recipe.toml
 create mode 100644 recipes/wip/waylandpp/recipe.toml

diff --git a/recipes/wip/atk2mm/recipe.toml b/recipes/wip/atkmm/recipe.toml
similarity index 85%
rename from recipes/wip/atk2mm/recipe.toml
rename to recipes/wip/atkmm/recipe.toml
index 385b08276..de5a7a34a 100644
--- a/recipes/wip/atk2mm/recipe.toml
+++ b/recipes/wip/atkmm/recipe.toml
@@ -3,3 +3,6 @@
 tar = "https://download.gnome.org/sources/atkmm/2.36/atkmm-2.36.2.tar.xz"
 [build]
 template = "configure"
+dependencies = [
+    "atk",
+]
diff --git a/recipes/wip/colm/recipe.toml b/recipes/wip/colm/recipe.toml
new file mode 100644
index 000000000..23e6acaf6
--- /dev/null
+++ b/recipes/wip/colm/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://www.colm.net/files/colm/colm-0.14.7.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/inkscape/recipe.toml b/recipes/wip/inkscape/recipe.toml
index 1beea316f..0f0860dbc 100644
--- a/recipes/wip/inkscape/recipe.toml
+++ b/recipes/wip/inkscape/recipe.toml
@@ -7,15 +7,37 @@ template = "custom"
 dependencies = [
     "boost",
     "glib",
+    "glibmm",
     "gtk3",
     "gtk3mm",
-    "liblcms",
+    "gdk-pixbuf",
+    "cairo",
+    "cairomm",
     "pango",
-    "libpng",
+    "pangomm",
     "readline",
+    "fontconfig",
+    "freetype2",
+    "imagemagick",
+    "potrace",
+    "zlib",
+    "lib2geom",
+    "atkmm",
+    "harfbuzz",
+    "libsoup",
+    "libsigc++",
+    "librsvg",
+    "librevenge",
+    "libwpd",
+    "libpng",
+    "libvisio",
     "libxml2",
     "libxslt",
-    "zlib",
+    "libcdr",
+    "libgsl",
+    "libgspell-gtk3",
+    "libjpeg-turbo",
+    "liblcms",
 ]
 script = """
 COOKBOOK_CONFIGURE="cmake"
diff --git a/recipes/wip/kodi/recipe.toml b/recipes/wip/kodi/recipe.toml
index 3ae691237..5b9d7217f 100644
--- a/recipes/wip/kodi/recipe.toml
+++ b/recipes/wip/kodi/recipe.toml
@@ -1,5 +1,5 @@
 #TODO probably wrong script, see https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md#4-build-kodi
-#TODO missing dependencies, see: https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md#3-install-the-required-packages
+#TODO maybe missing dependencies, see https://archlinux.org/packages/extra/x86_64/kodi/
 [source]
 tar = "https://github.com/xbmc/xbmc/archive/refs/tags/20.2-Nexus.tar.gz"
 [build]
@@ -20,7 +20,7 @@ dependencies = [
     "libgif",
     "glew",
     "gnutls3",
-    "mesa_glu",
+    "mesa-glu",
     "libgpg-error",
     "libjpeg",
     "libogg",
@@ -36,6 +36,7 @@ dependencies = [
     "libxkbcommon",
     "libuuid",
     "libxslt",
+    "pipewire",
 ]
 script = """
 COOKBOOK_CONFIGURE="cmake"
diff --git a/recipes/wip/lib2geom/recipe.toml b/recipes/wip/lib2geom/recipe.toml
new file mode 100644
index 000000000..175db20fe
--- /dev/null
+++ b/recipes/wip/lib2geom/recipe.toml
@@ -0,0 +1,11 @@
+#TODO missing script for CMake, see https://gitlab.com/inkscape/lib2geom#building
+[source]
+tar = "https://gitlab.com/inkscape/lib2geom/-/archive/1.3/lib2geom-1.3.tar.bz2"
+[build]
+template = "custom"
+dependencies = [
+    "boost",
+    "libgsl",
+    "glib",
+    "cairo",
+]
diff --git a/recipes/wip/libcdio-paranoia/recipe.toml b/recipes/wip/libcdio-paranoia/recipe.toml
new file mode 100644
index 000000000..c7e9e7042
--- /dev/null
+++ b/recipes/wip/libcdio-paranoia/recipe.toml
@@ -0,0 +1,9 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://github.com/rocky/libcdio-paranoia/archive/refs/tags/release-10.2+2.0.1.tar.gz"
+[build]
+template = "custom"
+script = """
+./autogen.sh
+cookbook_configure
+"""
diff --git a/recipes/wip/libcdio/recipe.toml b/recipes/wip/libcdio/recipe.toml
new file mode 100644
index 000000000..8af18503f
--- /dev/null
+++ b/recipes/wip/libcdio/recipe.toml
@@ -0,0 +1,9 @@
+#TODO probably wrong script, see https://git.savannah.gnu.org/cgit/libcdio.git/tree/INSTALL
+[source]
+tar = "https://git.savannah.gnu.org/cgit/libcdio.git/snapshot/libcdio-release-2.1.0.tar.gz"
+[build]
+template = "custom"
+script = """
+./autogen.sh
+cookbook_configure
+"""
diff --git a/recipes/wip/libcdr/recipe.toml b/recipes/wip/libcdr/recipe.toml
new file mode 100644
index 000000000..ae73948e3
--- /dev/null
+++ b/recipes/wip/libcdr/recipe.toml
@@ -0,0 +1,12 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.7.tar.xz"
+[build]
+template = "configure"
+dependencies = [
+    "boost",
+    "libicu",
+    "liblcms",
+    "librevenge",
+    "zlib",
+]
diff --git a/recipes/wip/libdouble-conversion/recipe.toml b/recipes/wip/libdouble-conversion/recipe.toml
new file mode 100644
index 000000000..25abf63a3
--- /dev/null
+++ b/recipes/wip/libdouble-conversion/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for building, see https://github.com/google/double-conversion#building
+[source]
+tar = "https://github.com/google/double-conversion/archive/refs/tags/v3.3.0.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libpugixml/recipe.toml b/recipes/wip/libpugixml/recipe.toml
new file mode 100644
index 000000000..50d08d8e9
--- /dev/null
+++ b/recipes/wip/libpugixml/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for building, see https://pugixml.org/docs/quickstart.html#install
+[source]
+tar = "https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libqrcodegenc/recipe.toml b/recipes/wip/libqrcodegenc/recipe.toml
new file mode 100644
index 000000000..6a540dad1
--- /dev/null
+++ b/recipes/wip/libqrcodegenc/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script to build the C implementation, see https://github.com/nayuki/QR-Code-generator/tree/master/c
+[source]
+tar = "https://github.com/nayuki/QR-Code-generator/archive/refs/tags/v1.8.0.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/librevenge/recipe.toml b/recipes/wip/librevenge/recipe.toml
new file mode 100644
index 000000000..d5b797e98
--- /dev/null
+++ b/recipes/wip/librevenge/recipe.toml
@@ -0,0 +1,9 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-0.0.5/librevenge-0.0.5.tar.xz/download"
+[build]
+template = "configure"
+dependencies = [
+    "boost",
+    "zlib",
+]
diff --git a/recipes/wip/librist/recipe.toml b/recipes/wip/librist/recipe.toml
new file mode 100644
index 000000000..eba735f20
--- /dev/null
+++ b/recipes/wip/librist/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for Meson, see https://code.videolan.org/rist/librist#compile-using-mesonninja-linux-osx-and-windows-mingw
+[source]
+tar = "https://code.videolan.org/rist/librist/-/archive/v0.2.10/librist-v0.2.10.tar.bz2"
+[build]
+template = "custom"
diff --git a/recipes/wip/libsrt/recipe.toml b/recipes/wip/libsrt/recipe.toml
new file mode 100644
index 000000000..1f8742209
--- /dev/null
+++ b/recipes/wip/libsrt/recipe.toml
@@ -0,0 +1,8 @@
+#TODO probably wrong template, see https://github.com/Haivision/srt/blob/master/docs/build/build-linux.md
+[source]
+tar = "https://github.com/Haivision/srt/archive/refs/tags/v1.5.3.tar.gz"
+[build]
+template = "configure"
+dependencies = [
+    "openssl1",
+]
diff --git a/recipes/wip/libvisio/recipe.toml b/recipes/wip/libvisio/recipe.toml
new file mode 100644
index 000000000..635cdb240
--- /dev/null
+++ b/recipes/wip/libvisio/recipe.toml
@@ -0,0 +1,11 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://dev-www.libreoffice.org/src/libvisio/libvisio-0.1.7.tar.xz"
+[build]
+template = "configure"
+dependencies = [
+    "boost",
+    "libicu",
+    "librevenge",
+    "libxml2",
+]
diff --git a/recipes/wip/libwebsocket++/recipe.toml b/recipes/wip/libwebsocket++/recipe.toml
new file mode 100644
index 000000000..5c8de2725
--- /dev/null
+++ b/recipes/wip/libwebsocket++/recipe.toml
@@ -0,0 +1,9 @@
+#TODO missing script for installation, lacking build instructions
+[source]
+tar = "https://github.com/zaphoyd/websocketpp/archive/refs/tags/0.8.2.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "openssl1",
+    "zlib",
+]
diff --git a/recipes/wip/libwpd/recipe.toml b/recipes/wip/libwpd/recipe.toml
new file mode 100644
index 000000000..6b3679bdd
--- /dev/null
+++ b/recipes/wip/libwpd/recipe.toml
@@ -0,0 +1,10 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://sourceforge.net/projects/libwpd/files/libwpd/libwpd-0.10.3/libwpd-0.10.3.tar.xz/download"
+[build]
+template = "configure"
+dependencies = [
+    "boost",
+    "librevenge",
+    "zlib",
+]
diff --git a/recipes/wip/obs-studio/recipe.toml b/recipes/wip/obs-studio/recipe.toml
index 7e5f7b2b2..a5ebbae3b 100644
--- a/recipes/wip/obs-studio/recipe.toml
+++ b/recipes/wip/obs-studio/recipe.toml
@@ -1,10 +1,19 @@
 #TODO missing script for CMake, see https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio
-#TODO determine dependencies
+#TODO maybe missing dependencies
 [source]
-tar = "https://github.com/obsproject/obs-studio/archive/refs/tags/30.0.0.tar.gz"
+tar = "https://github.com/obsproject/obs-studio/archive/refs/tags/30.0.1.tar.gz"
 [build]
 template = "custom"
 dependencies = [
+    "boost",
+    "librsvg",
+    "dbus",
+    "fontconfig",
+    "freetype2",
+    "jansson",
+    "pipewire",
+    "mesa",
+    "speexdsp",
     "ffmpeg6",
     "x264",
     "curl",
@@ -12,4 +21,12 @@ dependencies = [
     "libwayland",
     "libva",
     "qt5-base",
+    "qt5-svg",
+    "qt5-x11extras",
+    "eudev",
+    "pciutils",
+    "libqrcodegenc",
+    "librist",
+    "libsrt",
+    "libwebsocket++",
 ]
diff --git a/recipes/wip/potrace/recipe.toml b/recipes/wip/potrace/recipe.toml
new file mode 100644
index 000000000..8a3d20ad5
--- /dev/null
+++ b/recipes/wip/potrace/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://potrace.sourceforge.net/download/1.16/potrace-1.16.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/ragel/recipe.toml b/recipes/wip/ragel/recipe.toml
new file mode 100644
index 000000000..c4061a20c
--- /dev/null
+++ b/recipes/wip/ragel/recipe.toml
@@ -0,0 +1,14 @@
+#TODO missing colm directory on the GNU Autotools flag
+[source]
+tar = "https://www.colm.net/files/ragel/ragel-6.10.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "colm",
+]
+script = """
+COOKBOOK_CONFIGURE_FLAGS+=(
+    --with-colm=
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/swig/recipe.toml b/recipes/wip/swig/recipe.toml
new file mode 100644
index 000000000..a69754a12
--- /dev/null
+++ b/recipes/wip/swig/recipe.toml
@@ -0,0 +1,8 @@
+#TODO Not compiled or tested
+[source]
+tar = "http://prdownloads.sourceforge.net/swig/swig-4.1.1.tar.gz"
+[build]
+template = "configure"
+dependencies = [
+    "pcre",
+]
diff --git a/recipes/wip/waylandpp/recipe.toml b/recipes/wip/waylandpp/recipe.toml
new file mode 100644
index 000000000..779130b87
--- /dev/null
+++ b/recipes/wip/waylandpp/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/NilsBrause/waylandpp#building
+[source]
+tar = "https://github.com/NilsBrause/waylandpp/archive/refs/tags/1.0.0.tar.gz"
+[build]
+template = "custom"
-- 
GitLab