From 4168ff5d68cfa671ac978b9e0dac3211608d083a Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Tue, 12 Mar 2024 20:32:51 +0000 Subject: [PATCH] update recipes --- recipes/wip/games/openspades-free/recipe.toml | 34 +++++++++++++++++++ recipes/wip/games/zerospades-free/recipe.toml | 34 +++++++++++++++++++ recipes/wip/libs/glew/recipe.toml | 1 + recipes/wip/{gui => libs}/gtk2/recipe.toml | 1 + recipes/wip/{gui => libs}/gtk3/recipe.toml | 1 + recipes/wip/{gui => libs}/gtk4/recipe.toml | 1 + recipes/wip/{gui => libs}/qt4/recipe.toml | 1 + .../wip/{gui => libs}/qt5-base/recipe.toml | 1 + .../wip/{gui => libs}/qt5-full/recipe.toml | 1 + .../wip/{gui => libs}/qt6-base/recipe.toml | 1 + .../wip/{gui => libs}/qt6-full/recipe.toml | 1 + recipes/wip/libs/raylib/recipe.toml | 2 +- .../wip/nonfree/games/openspades/recipe.toml | 3 +- .../wip/nonfree/games/zerospades/recipe.toml | 3 +- 14 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 recipes/wip/games/openspades-free/recipe.toml create mode 100644 recipes/wip/games/zerospades-free/recipe.toml rename recipes/wip/{gui => libs}/gtk2/recipe.toml (92%) rename recipes/wip/{gui => libs}/gtk3/recipe.toml (94%) rename recipes/wip/{gui => libs}/gtk4/recipe.toml (94%) rename recipes/wip/{gui => libs}/qt4/recipe.toml (88%) rename recipes/wip/{gui => libs}/qt5-base/recipe.toml (94%) rename recipes/wip/{gui => libs}/qt5-full/recipe.toml (94%) rename recipes/wip/{gui => libs}/qt6-base/recipe.toml (94%) rename recipes/wip/{gui => libs}/qt6-full/recipe.toml (92%) diff --git a/recipes/wip/games/openspades-free/recipe.toml b/recipes/wip/games/openspades-free/recipe.toml new file mode 100644 index 000000000..216063563 --- /dev/null +++ b/recipes/wip/games/openspades-free/recipe.toml @@ -0,0 +1,34 @@ +#TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source +#TODO port GLEW to Orbital +#TODO add the FOSS assets on the script, see https://github.com/DeathByDenim/openspades-free-pak +[source] +git = "https://github.com/yvt/openspades" +[build] +template = "custom" +dependencies = [ + "glew", + "openssl1", + "sdl2", + "sdl2-image", + "freealut", + "freetype2", + "opus", + "opusfile", + "libjpeg", + "openal", +] +script = """ + COOKBOOK_CONFIGURE="cmake" + COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/games/zerospades-free/recipe.toml b/recipes/wip/games/zerospades-free/recipe.toml new file mode 100644 index 000000000..d1ebbce82 --- /dev/null +++ b/recipes/wip/games/zerospades-free/recipe.toml @@ -0,0 +1,34 @@ +#TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source +#TODO port GLEW to Orbital +#TODO add the FOSS assets on the script, see https://github.com/DeathByDenim/openspades-free-pak +[source] +git = "https://github.com/siecvi/zerospades" +[build] +template = "custom" +dependencies = [ + "glew", + "openssl1", + "sdl2", + "sdl2-image", + "freealut", + "freetype2", + "opus", + "opusfile", + "libjpeg", + "openal", +] +script = """ + COOKBOOK_CONFIGURE="cmake" + COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/libs/glew/recipe.toml b/recipes/wip/libs/glew/recipe.toml index cee6aed29..e78040e76 100644 --- a/recipes/wip/libs/glew/recipe.toml +++ b/recipes/wip/libs/glew/recipe.toml @@ -1,4 +1,5 @@ #TODO missing script for "make", see https://github.com/nigels-com/glew#linux-and-mac +#TODO port to Orbital [source] git = "https://github.com/nigels-com/glew" rev = "9fb23c3e61cbd2d581e33ff7d8579b572b38ee26" diff --git a/recipes/wip/gui/gtk2/recipe.toml b/recipes/wip/libs/gtk2/recipe.toml similarity index 92% rename from recipes/wip/gui/gtk2/recipe.toml rename to recipes/wip/libs/gtk2/recipe.toml index 005ea8d53..377c4f87d 100644 --- a/recipes/wip/gui/gtk2/recipe.toml +++ b/recipes/wip/libs/gtk2/recipe.toml @@ -1,4 +1,5 @@ #TODO probably missing dependencies +#TODO port to Orbital [source] tar = "https://download.gnome.org/sources/gtk%2B/2.24/gtk%2B-2.24.33.tar.xz" [build] diff --git a/recipes/wip/gui/gtk3/recipe.toml b/recipes/wip/libs/gtk3/recipe.toml similarity index 94% rename from recipes/wip/gui/gtk3/recipe.toml rename to recipes/wip/libs/gtk3/recipe.toml index aaf59bbb9..0172cb38f 100644 --- a/recipes/wip/gui/gtk3/recipe.toml +++ b/recipes/wip/libs/gtk3/recipe.toml @@ -1,4 +1,5 @@ #TODO probably missing dependencies, see https://docs.gtk.org/gtk3/building.html#dependencies +#TODO port to Orbital [source] tar = "https://download.gnome.org/sources/gtk+/3.24/gtk%2B-3.24.37.tar.xz" [build] diff --git a/recipes/wip/gui/gtk4/recipe.toml b/recipes/wip/libs/gtk4/recipe.toml similarity index 94% rename from recipes/wip/gui/gtk4/recipe.toml rename to recipes/wip/libs/gtk4/recipe.toml index 93608e38a..9212093f6 100644 --- a/recipes/wip/gui/gtk4/recipe.toml +++ b/recipes/wip/libs/gtk4/recipe.toml @@ -1,4 +1,5 @@ #TODO missing script for Meson, see https://docs.gtk.org/gtk4/building.html +#TODO port to Orbital [source] tar = "https://download.gnome.org/sources/gtk/4.11/gtk-4.11.2.tar.xz" [build] diff --git a/recipes/wip/gui/qt4/recipe.toml b/recipes/wip/libs/qt4/recipe.toml similarity index 88% rename from recipes/wip/gui/qt4/recipe.toml rename to recipes/wip/libs/qt4/recipe.toml index 7b903dc39..92e1abe5b 100644 --- a/recipes/wip/gui/qt4/recipe.toml +++ b/recipes/wip/libs/qt4/recipe.toml @@ -1,4 +1,5 @@ #TODO find a tarball link +#TODO port to Orbital [source] tar = "http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz" [build] diff --git a/recipes/wip/gui/qt5-base/recipe.toml b/recipes/wip/libs/qt5-base/recipe.toml similarity index 94% rename from recipes/wip/gui/qt5-base/recipe.toml rename to recipes/wip/libs/qt5-base/recipe.toml index 69c6c8109..4ee45eea8 100644 --- a/recipes/wip/gui/qt5-base/recipe.toml +++ b/recipes/wip/libs/qt5-base/recipe.toml @@ -1,4 +1,5 @@ #TODO make libxkbcommon work +#TODO port to Orbital #TODO build instructions - https://doc.qt.io/qt-5/linux-building.html #TODO customization - https://doc.qt.io/qt-5/configure-options.html [source] diff --git a/recipes/wip/gui/qt5-full/recipe.toml b/recipes/wip/libs/qt5-full/recipe.toml similarity index 94% rename from recipes/wip/gui/qt5-full/recipe.toml rename to recipes/wip/libs/qt5-full/recipe.toml index b493152ba..238eafcb3 100644 --- a/recipes/wip/gui/qt5-full/recipe.toml +++ b/recipes/wip/libs/qt5-full/recipe.toml @@ -1,3 +1,4 @@ +#TODO port to Orbital #TODO build instructions - https://doc.qt.io/qt-5/linux-building.html #TODO customization - https://doc.qt.io/qt-5/configure-options.html [source] diff --git a/recipes/wip/gui/qt6-base/recipe.toml b/recipes/wip/libs/qt6-base/recipe.toml similarity index 94% rename from recipes/wip/gui/qt6-base/recipe.toml rename to recipes/wip/libs/qt6-base/recipe.toml index 5b2ca35a3..c470068c2 100644 --- a/recipes/wip/gui/qt6-base/recipe.toml +++ b/recipes/wip/libs/qt6-base/recipe.toml @@ -1,4 +1,5 @@ #TODO make libxkbcommon work +#TODO port to Orbital #TODO build instructions - https://doc.qt.io/qt-6/linux-building.html #TODO customization - https://doc.qt.io/qt-6/configure-options.html [source] diff --git a/recipes/wip/gui/qt6-full/recipe.toml b/recipes/wip/libs/qt6-full/recipe.toml similarity index 92% rename from recipes/wip/gui/qt6-full/recipe.toml rename to recipes/wip/libs/qt6-full/recipe.toml index 83405bf36..8dd76934a 100644 --- a/recipes/wip/gui/qt6-full/recipe.toml +++ b/recipes/wip/libs/qt6-full/recipe.toml @@ -1,3 +1,4 @@ +#TODO port to Orbital #TODO Missing script for GNU Autotools and CMake [source] tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/single/qt-everywhere-src-6.6.1.tar.xz" diff --git a/recipes/wip/libs/raylib/recipe.toml b/recipes/wip/libs/raylib/recipe.toml index 887258ee3..cdd626f52 100644 --- a/recipes/wip/libs/raylib/recipe.toml +++ b/recipes/wip/libs/raylib/recipe.toml @@ -1,3 +1,4 @@ +#TODO port to Orbital #TODO probably wrong script, see https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux [source] git = "https://github.com/raysan5/raylib" @@ -6,7 +7,6 @@ rev = "ae50bfa2cc569c0f8d5bc4315d39db64005b1b08" template = "custom" dependencies = [ "mesa", - "libwayland", "libxkbcommon", ] script = """ diff --git a/recipes/wip/nonfree/games/openspades/recipe.toml b/recipes/wip/nonfree/games/openspades/recipe.toml index c2f0d5f8f..798717fb8 100644 --- a/recipes/wip/nonfree/games/openspades/recipe.toml +++ b/recipes/wip/nonfree/games/openspades/recipe.toml @@ -1,6 +1,5 @@ #TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source -# The game crash with the Wayland backend of SDL2, you need to use the "SDL_VIDEODRIVER=x11" environment variable to use XWayland -# a script to workaround this is the best solution +#TODO port GLEW to Orbital [source] git = "https://github.com/yvt/openspades" [build] diff --git a/recipes/wip/nonfree/games/zerospades/recipe.toml b/recipes/wip/nonfree/games/zerospades/recipe.toml index 923426255..ba270adfe 100644 --- a/recipes/wip/nonfree/games/zerospades/recipe.toml +++ b/recipes/wip/nonfree/games/zerospades/recipe.toml @@ -1,6 +1,5 @@ #TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source -# The game crash with the Wayland backend of SDL2, you need to use the "SDL_VIDEODRIVER=x11" environment variable to use XWayland -# a script to workaround this is the best solution +#TODO port GLEW to Orbital [source] git = "https://github.com/siecvi/zerospades" [build] -- GitLab