diff --git a/recipes/wip/games/fps/chocolate-doom/recipe.toml b/recipes/wip/games/fps/chocolate-doom/recipe.toml index 3dd25cc5..6821d4c4 100644 --- a/recipes/wip/games/fps/chocolate-doom/recipe.toml +++ b/recipes/wip/games/fps/chocolate-doom/recipe.toml @@ -2,9 +2,13 @@ [source] tar = "https://www.chocolate-doom.org/downloads/3.0.1/chocolate-doom-3.0.1.tar.gz" [build] -template = "configure" +template = "custom" dependencies = [ "sdl2", "sdl2-mixer", "sdl2-net", ] +script = """ +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/games/fps/crispy-doom/recipe.toml b/recipes/wip/games/fps/crispy-doom/recipe.toml index dac4ac51..354bb260 100644 --- a/recipes/wip/games/fps/crispy-doom/recipe.toml +++ b/recipes/wip/games/fps/crispy-doom/recipe.toml @@ -3,9 +3,13 @@ git = "https://github.com/fabiangreffrath/crispy-doom" rev = "593f5b97023ed39b7640073160c06895bbfc3d26" [build] -template = "configure" +template = "custom" dependencies = [ "sdl2", "sdl2-mixer", "sdl2-net", ] +script = """ +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/games/fps/et-legacy/recipe.toml b/recipes/wip/games/fps/et-legacy/recipe.toml index 8b2bd132..80089128 100644 --- a/recipes/wip/games/fps/et-legacy/recipe.toml +++ b/recipes/wip/games/fps/et-legacy/recipe.toml @@ -10,11 +10,13 @@ dependencies = [ "mesa", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/games/fps/gzdoom/recipe.toml b/recipes/wip/games/fps/gzdoom/recipe.toml index b7660e32..bca60685 100644 --- a/recipes/wip/games/fps/gzdoom/recipe.toml +++ b/recipes/wip/games/fps/gzdoom/recipe.toml @@ -12,11 +12,13 @@ dependencies = [ "zmusic", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/games/fps/openspades-free/recipe.toml b/recipes/wip/games/fps/openspades-free/recipe.toml index 21606356..e87b0148 100644 --- a/recipes/wip/games/fps/openspades-free/recipe.toml +++ b/recipes/wip/games/fps/openspades-free/recipe.toml @@ -18,11 +18,13 @@ dependencies = [ "openal", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/games/fps/vkquake2/recipe.toml b/recipes/wip/games/fps/vkquake2/recipe.toml index 05bffe14..705d821f 100644 --- a/recipes/wip/games/fps/vkquake2/recipe.toml +++ b/recipes/wip/games/fps/vkquake2/recipe.toml @@ -6,5 +6,5 @@ rev = "bdd39b142fbadf581fd9d904968a83fb9b4a929a" [build] template = "custom" dependencies = [ - "mesa", + "mesa-x11", ] diff --git a/recipes/wip/games/fps/zerospades-free/recipe.toml b/recipes/wip/games/fps/zerospades-free/recipe.toml index d1ebbce8..5e3505b0 100644 --- a/recipes/wip/games/fps/zerospades-free/recipe.toml +++ b/recipes/wip/games/fps/zerospades-free/recipe.toml @@ -18,11 +18,13 @@ dependencies = [ "openal", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/games/open-world/minetest/recipe.toml b/recipes/wip/games/open-world/minetest/recipe.toml index 005b8009..1d4c658b 100644 --- a/recipes/wip/games/open-world/minetest/recipe.toml +++ b/recipes/wip/games/open-world/minetest/recipe.toml @@ -18,12 +18,14 @@ dependencies = [ "zstd", ] script = """ +DYNAMIC_INIT git clone --depth 1 https://github.com/minetest/irrlicht.git "${COOKBOOK_SOURCE}"/lib/irrlichtmt COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/graphics/editors/blender-lts/recipe.toml b/recipes/wip/graphics/editors/blender-lts/recipe.toml index ded92edc..45fbd2e2 100644 --- a/recipes/wip/graphics/editors/blender-lts/recipe.toml +++ b/recipes/wip/graphics/editors/blender-lts/recipe.toml @@ -21,15 +21,17 @@ dependencies = [ "shaderc", "libxml2", "libharu", - "mesa", + "mesa-x11", "libxkbcommon", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/graphics/editors/blender/recipe.toml b/recipes/wip/graphics/editors/blender/recipe.toml index bb9e7d8a..b50d7d6d 100644 --- a/recipes/wip/graphics/editors/blender/recipe.toml +++ b/recipes/wip/graphics/editors/blender/recipe.toml @@ -21,15 +21,17 @@ dependencies = [ "shaderc", "libxml2", "libharu", - "mesa", + "mesa-x11", "libxkbcommon", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/image/editors/gimp/recipe.toml b/recipes/wip/image/editors/gimp/recipe.toml index 47746828..f3e18cbe 100644 --- a/recipes/wip/image/editors/gimp/recipe.toml +++ b/recipes/wip/image/editors/gimp/recipe.toml @@ -1,10 +1,11 @@ +# build instructions: https://developer.gimp.org/core/setup/build/3.0/INSTALL #TODO make dependencies work [source] -tar = "https://download.gimp.org/gimp/v2.10/gimp-2.10.36.tar.bz2" +tar = "https://download.gimp.org/gimp/v3.0/gimp-3.0.4.tar.xz" [build] -template = "configure" +template = "custom" dependencies = [ - "gtk2", + "gtk3", "gobject-introspection", "glib", "cairo", @@ -25,3 +26,7 @@ dependencies = [ "bzip2", "zlib", ] +script = """ +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/image/editors/inkscape/recipe.toml b/recipes/wip/image/editors/inkscape/recipe.toml index 743d46e8..2f0a492c 100644 --- a/recipes/wip/image/editors/inkscape/recipe.toml +++ b/recipes/wip/image/editors/inkscape/recipe.toml @@ -43,11 +43,13 @@ dependencies = [ "liblapack", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/image/editors/krita/recipe.toml b/recipes/wip/image/editors/krita/recipe.toml index 5d74f339..5a1d8695 100644 --- a/recipes/wip/image/editors/krita/recipe.toml +++ b/recipes/wip/image/editors/krita/recipe.toml @@ -52,11 +52,13 @@ dependencies = [ "libxtl", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/web/chromium/recipe.toml b/recipes/wip/web/chromium/recipe.toml index 6ff67c33..7ded19fe 100644 --- a/recipes/wip/web/chromium/recipe.toml +++ b/recipes/wip/web/chromium/recipe.toml @@ -32,3 +32,6 @@ dependencies = [ "pango", "java21", ] +script = """ +DYNAMIC_INIT +""" diff --git a/recipes/wip/web/firefox-esr/recipe.toml b/recipes/wip/web/firefox-esr/recipe.toml index 52974104..09cdd84f 100644 --- a/recipes/wip/web/firefox-esr/recipe.toml +++ b/recipes/wip/web/firefox-esr/recipe.toml @@ -28,5 +28,6 @@ dependencies = [ "pipewire", ] script = """ +DYNAMIC_INIT export MOZCONFIG="${COOKBOOK_RECIPE}/mozconfig" """