From ae81c03df2244751612f2c7c170a0c86bc289f3c Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Mon, 1 Jul 2024 03:52:32 +0000 Subject: [PATCH] Add the CMake script on many recipes --- recipes/wip/sound/audacity/recipe.toml | 17 ++++++++++++++++- recipes/wip/sound/odin2/recipe.toml | 17 ++++++++++++++++- .../tools/graphics/other/appleseed/recipe.toml | 17 ++++++++++++++++- .../wip/tools/graphics/other/cmark/recipe.toml | 17 ++++++++++++++++- .../tools/graphics/other/darktable/recipe.toml | 17 ++++++++++++++++- .../wip/tools/graphics/other/embree/recipe.toml | 17 ++++++++++++++++- .../graphics/other/luxcorerender/recipe.toml | 17 ++++++++++++++++- .../graphics/other/ospray-studio/recipe.toml | 17 ++++++++++++++++- .../wip/tools/graphics/other/ospray/recipe.toml | 17 ++++++++++++++++- .../tools/graphics/other/paraview/recipe.toml | 17 ++++++++++++++++- .../graphics/other/rawtherapee/recipe.toml | 17 ++++++++++++++++- .../tools/graphics/other/toybrot/recipe.toml | 17 ++++++++++++++++- .../other/tungsten-renderer/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/math/primesieve/recipe.toml | 17 ++++++++++++++++- .../wip/tools/net/other/srsran-4g/recipe.toml | 17 ++++++++++++++++- .../tools/net/other/srsran-project/recipe.toml | 17 ++++++++++++++++- .../wip/tools/other/astc-encoder/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/astyle/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/converseen/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/cpu-x/recipe.toml | 15 ++++++++++++++- recipes/wip/tools/other/flameshot/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/glsl-viewer/recipe.toml | 15 ++++++++++++++- recipes/wip/tools/other/gnu-radio/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/obs-studio/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/okteta/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/remmina/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/taskserver/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/other/taskwarrior/recipe.toml | 17 ++++++++++++++++- .../wip/tools/science/celestia-data/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/science/gromacs/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/science/openspace/recipe.toml | 17 ++++++++++++++++- recipes/wip/tools/science/qmcpack/recipe.toml | 17 ++++++++++++++++- recipes/wip/video/editors/kdenlive/recipe.toml | 17 ++++++++++++++++- recipes/wip/wayland/waylandpp/recipe.toml | 17 ++++++++++++++++- 34 files changed, 540 insertions(+), 34 deletions(-) diff --git a/recipes/wip/sound/audacity/recipe.toml b/recipes/wip/sound/audacity/recipe.toml index 9aaca6357..c444edd68 100644 --- a/recipes/wip/sound/audacity/recipe.toml +++ b/recipes/wip/sound/audacity/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/audacity/audacity/blob/master/BUILDING.md +#TODO maybe incomplete script, see https://github.com/audacity/audacity/blob/master/BUILDING.md #TODO use the GTK2 or wxWidgets frontend? #TODO probably need audio server patching [source] @@ -9,3 +9,18 @@ dependencies = [ "gtk2", "libuuid", ] +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/sound/odin2/recipe.toml b/recipes/wip/sound/odin2/recipe.toml index 460de8968..c32acf7b8 100644 --- a/recipes/wip/sound/odin2/recipe.toml +++ b/recipes/wip/sound/odin2/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/TheWaveWarden/odin2#all-platforms +#TODO maybe incomplete script, see https://github.com/TheWaveWarden/odin2#all-platforms #TODO port to orbital [source] git = "https://github.com/TheWaveWarden/odin2" @@ -9,3 +9,18 @@ dependencies = [ "curl", "webkitgtk3", ] +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/tools/graphics/other/appleseed/recipe.toml b/recipes/wip/tools/graphics/other/appleseed/recipe.toml index 22bf55da1..45a947dfb 100644 --- a/recipes/wip/tools/graphics/other/appleseed/recipe.toml +++ b/recipes/wip/tools/graphics/other/appleseed/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/appleseedhq/appleseed/wiki/Building-appleseed-on-Linux +#TODO maybe incomplete script, see https://github.com/appleseedhq/appleseed/wiki/Building-appleseed-on-Linux [source] git = "https://github.com/appleseedhq/appleseed" rev = "015adb503af58cb80103e0c3ddeefc20d99d204f" @@ -9,3 +9,18 @@ dependencies = [ "qt5-base", "libnsl", ] +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/tools/graphics/other/cmark/recipe.toml b/recipes/wip/tools/graphics/other/cmark/recipe.toml index 59789b0b9..0bb76c0b5 100644 --- a/recipes/wip/tools/graphics/other/cmark/recipe.toml +++ b/recipes/wip/tools/graphics/other/cmark/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, see https://github.com/commonmark/cmark#installing +#TODO maybe incomplete script, see https://github.com/commonmark/cmark#installing [source] git = "https://github.com/commonmark/cmark" rev = "5ba25ff40eba44c811f79ab6a792baf945b8307c" [build] template = "custom" +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/tools/graphics/other/darktable/recipe.toml b/recipes/wip/tools/graphics/other/darktable/recipe.toml index b25c96284..9b0f4bbd0 100644 --- a/recipes/wip/tools/graphics/other/darktable/recipe.toml +++ b/recipes/wip/tools/graphics/other/darktable/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/darktable-org/darktable?tab=readme-ov-file#linux +#TODO maybe incomplete script, see https://github.com/darktable-org/darktable?tab=readme-ov-file#linux # dependencies - https://github.com/darktable-org/darktable?tab=readme-ov-file#dependencies [source] tar = "https://github.com/darktable-org/darktable/releases/download/release-4.8.0/darktable-4.8.0.tar.xz" @@ -17,3 +17,18 @@ dependencies = [ "libwebp", "libgphoto2", ] +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/tools/graphics/other/embree/recipe.toml b/recipes/wip/tools/graphics/other/embree/recipe.toml index dbfb106b3..0c8bfcf4e 100644 --- a/recipes/wip/tools/graphics/other/embree/recipe.toml +++ b/recipes/wip/tools/graphics/other/embree/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/embree/embree#linux-and-macos +#TODO maybe incomplete script, see https://github.com/embree/embree#linux-and-macos [source] git = "https://github.com/embree/embree" rev = "be0accfd0b246e2b03355b8ee7710a22c1b49240" @@ -8,3 +8,18 @@ dependencies = [ "glfw", "onetbb", ] +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/tools/graphics/other/luxcorerender/recipe.toml b/recipes/wip/tools/graphics/other/luxcorerender/recipe.toml index dd3d10d6f..d4753ffb7 100644 --- a/recipes/wip/tools/graphics/other/luxcorerender/recipe.toml +++ b/recipes/wip/tools/graphics/other/luxcorerender/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://wiki.luxcorerender.org/Compiling_LuxCore +#TODO maybe incomplete script, see https://wiki.luxcorerender.org/Compiling_LuxCore #TODO probably missing dependencies [source] git = "https://github.com/LuxCoreRender/LuxCore" @@ -15,3 +15,18 @@ dependencies = [ "openimageio", "openexr", ] +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/tools/graphics/other/ospray-studio/recipe.toml b/recipes/wip/tools/graphics/other/ospray-studio/recipe.toml index b3c812158..573193cd0 100644 --- a/recipes/wip/tools/graphics/other/ospray-studio/recipe.toml +++ b/recipes/wip/tools/graphics/other/ospray-studio/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/ospray/ospray_studio#standard-cmake-build +#TODO maybe incomplete script, see https://github.com/ospray/ospray_studio#standard-cmake-build [source] git = "https://github.com/ospray/ospray_studio" rev = "d2c83a67c841f1329f47cf9648a56b3dacbcdcaa" @@ -12,3 +12,18 @@ dependencies = [ "glfw", "open-image-denoise", ] +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/tools/graphics/other/ospray/recipe.toml b/recipes/wip/tools/graphics/other/ospray/recipe.toml index 0003178a7..3a57813be 100644 --- a/recipes/wip/tools/graphics/other/ospray/recipe.toml +++ b/recipes/wip/tools/graphics/other/ospray/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/ospray/OSPRay#building-and-finding-ospray +#TODO maybe incomplete script, see https://github.com/ospray/OSPRay#building-and-finding-ospray [source] git = "https://github.com/ospray/OSPRay" rev = "66fa8108485a8a92ff31ad2e06081bbaf391bc26" @@ -12,3 +12,18 @@ dependencies = [ "openvkl", "open-image-denoise", ] +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/tools/graphics/other/paraview/recipe.toml b/recipes/wip/tools/graphics/other/paraview/recipe.toml index 0d1651a5f..013791d39 100644 --- a/recipes/wip/tools/graphics/other/paraview/recipe.toml +++ b/recipes/wip/tools/graphics/other/paraview/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, see https://kitware.github.io/paraviewweb/docs/configure_and_build_pvweb.html +#TODO maybe incomplete script, see https://kitware.github.io/paraviewweb/docs/configure_and_build_pvweb.html # build instructions (if the above doesn't work) - https://github.com/Kitware/ParaView/blob/master/Documentation/dev/build.md [source] tar = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.11&type=source&os=Sources&downloadFile=ParaView-v5.11.2.tar.xz" [build] template = "custom" +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/tools/graphics/other/rawtherapee/recipe.toml b/recipes/wip/tools/graphics/other/rawtherapee/recipe.toml index 6e9013199..4c8a04dac 100644 --- a/recipes/wip/tools/graphics/other/rawtherapee/recipe.toml +++ b/recipes/wip/tools/graphics/other/rawtherapee/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://rawpedia.rawtherapee.com/Linux#Compile_RawTherapee +#TODO maybe incomplete script, see https://rawpedia.rawtherapee.com/Linux#Compile_RawTherapee #TODO missing dependencies, see https://rawpedia.rawtherapee.com/Linux#Dependencies [source] tar = "https://rawtherapee.com/shared/source/rawtherapee-5.9.tar.xz" @@ -19,3 +19,18 @@ dependencies = [ "libtiff", "zlib", ] +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/tools/graphics/other/toybrot/recipe.toml b/recipes/wip/tools/graphics/other/toybrot/recipe.toml index fdb5525ee..cee45b81f 100644 --- a/recipes/wip/tools/graphics/other/toybrot/recipe.toml +++ b/recipes/wip/tools/graphics/other/toybrot/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://gitlab.com/VileLasagna/toyBrot#building-toybrot +#TODO maybe incomplete script, see https://gitlab.com/VileLasagna/toyBrot#building-toybrot [source] git = "https://gitlab.com/VileLasagna/toyBrot" [build] @@ -7,3 +7,18 @@ dependencies = [ "sdl2", "libpng", ] +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/tools/graphics/other/tungsten-renderer/recipe.toml b/recipes/wip/tools/graphics/other/tungsten-renderer/recipe.toml index 90dae7c32..6a1069dd2 100644 --- a/recipes/wip/tools/graphics/other/tungsten-renderer/recipe.toml +++ b/recipes/wip/tools/graphics/other/tungsten-renderer/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://github.com/tunabrain/tungsten#compilation +#TODO maybe incomplete script, see https://github.com/tunabrain/tungsten#compilation [source] git = "https://github.com/tunabrain/tungsten" [build] template = "custom" +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/tools/math/primesieve/recipe.toml b/recipes/wip/tools/math/primesieve/recipe.toml index 566e94a27..b94f4301d 100644 --- a/recipes/wip/tools/math/primesieve/recipe.toml +++ b/recipes/wip/tools/math/primesieve/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, see https://github.com/kimwalisch/primesieve/blob/master/doc/BUILD.md +#TODO maybe incomplete script, see https://github.com/kimwalisch/primesieve/blob/master/doc/BUILD.md [source] git = "https://github.com/kimwalisch/primesieve" rev = "f3114488ddded8edf2c201e31ad308ed9e6a9f78" [build] template = "custom" +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/tools/net/other/srsran-4g/recipe.toml b/recipes/wip/tools/net/other/srsran-4g/recipe.toml index 841b4bb8e..be0d308f4 100644 --- a/recipes/wip/tools/net/other/srsran-4g/recipe.toml +++ b/recipes/wip/tools/net/other/srsran-4g/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://docs.srsran.com/projects/4g/en/latest/general/source/1_installation.html#installation-from-source +#TODO maybe incomplete script, see https://docs.srsran.com/projects/4g/en/latest/general/source/1_installation.html#installation-from-source [source] git = "https://github.com/srsran/srsRAN_4G" rev = "eea87b1d893ae58e0b08bc381730c502024ae71f" @@ -8,3 +8,18 @@ dependencies = [ "fftw", "mbedtls", ] +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/tools/net/other/srsran-project/recipe.toml b/recipes/wip/tools/net/other/srsran-project/recipe.toml index ee445368e..af76902d8 100644 --- a/recipes/wip/tools/net/other/srsran-project/recipe.toml +++ b/recipes/wip/tools/net/other/srsran-project/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/srsran/srsRAN_Project#build-instructions +#TODO maybe incomplete script, see https://github.com/srsran/srsRAN_Project#build-instructions #TODO missing dependencies [source] git = "https://github.com/srsran/srsRAN_Project" @@ -9,3 +9,18 @@ dependencies = [ "fftw", "mbedtls", ] +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/tools/other/astc-encoder/recipe.toml b/recipes/wip/tools/other/astc-encoder/recipe.toml index 595155b6b..b6b427d58 100644 --- a/recipes/wip/tools/other/astc-encoder/recipe.toml +++ b/recipes/wip/tools/other/astc-encoder/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, see https://github.com/ARM-software/astc-encoder/blob/main/Docs/Building.md#macos-and-linux-using-make +#TODO maybe incomplete script, see https://github.com/ARM-software/astc-encoder/blob/main/Docs/Building.md#macos-and-linux-using-make [source] git = "https://github.com/ARM-software/astc-encoder" rev = "aeece2f609db959d1c5e43e4f00bd177ea130575" [build] template = "custom" +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/tools/other/astyle/recipe.toml b/recipes/wip/tools/other/astyle/recipe.toml index 8b8db7187..6d10b4130 100644 --- a/recipes/wip/tools/other/astyle/recipe.toml +++ b/recipes/wip/tools/other/astyle/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://astyle.sourceforge.net/install.html +#TODO maybe incomplete script, see https://astyle.sourceforge.net/install.html [source] tar = "https://sourceforge.net/projects/astyle/files/astyle/astyle%203.4/astyle-3.4.10.tar.bz2/download" [build] template = "custom" +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/tools/other/converseen/recipe.toml b/recipes/wip/tools/other/converseen/recipe.toml index 0992b8cd0..bb11b1102 100644 --- a/recipes/wip/tools/other/converseen/recipe.toml +++ b/recipes/wip/tools/other/converseen/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/Faster3ck/Converseen/blob/main/INSTALL.md#install-converseen-using-qt6 +#TODO maybe incomplete script, see https://github.com/Faster3ck/Converseen/blob/main/INSTALL.md#install-converseen-using-qt6 [source] git = "https://github.com/Faster3ck/Converseen" rev = "9b2821b5ed6673a7abebbe4ee42f4718ab366485" @@ -7,3 +7,18 @@ template = "custom" dependencies = [ "qt6-base", ] +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/tools/other/cpu-x/recipe.toml b/recipes/wip/tools/other/cpu-x/recipe.toml index cb21b5c27..c6c51291d 100644 --- a/recipes/wip/tools/other/cpu-x/recipe.toml +++ b/recipes/wip/tools/other/cpu-x/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/manual-build#build-and-install-cpu-x +#TODO maybe incomplete script, see https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/manual-build#build-and-install-cpu-x [source] git = "https://github.com/TheTumultuousUnicornOfDarkness/CPU-X" rev = "b957c031a2eab2c6c88275c4616a6a5e8c8e7670" @@ -15,4 +15,17 @@ dependencies = [ ] script = """ export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses" +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/tools/other/flameshot/recipe.toml b/recipes/wip/tools/other/flameshot/recipe.toml index 7c64ec649..3275faa5f 100644 --- a/recipes/wip/tools/other/flameshot/recipe.toml +++ b/recipes/wip/tools/other/flameshot/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://flameshot.org/docs/installation/source-code/#compilation +#TODO maybe incomplete script, see https://flameshot.org/docs/installation/source-code/#compilation [source] git = "https://github.com/flameshot-org/flameshot" rev = "70be63d478a271da549597d69bd4868607c0a395" @@ -9,3 +9,18 @@ dependencies = [ "qt5-tools", "qt5-svg", ] +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/tools/other/glsl-viewer/recipe.toml b/recipes/wip/tools/other/glsl-viewer/recipe.toml index a844dbfef..438c2a1fe 100644 --- a/recipes/wip/tools/other/glsl-viewer/recipe.toml +++ b/recipes/wip/tools/other/glsl-viewer/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for cmake, see https://github.com/patriciogonzalezvivo/glslViewer/wiki/Compile-on-linux#3-compile +#TODO maybe incomplete script, see https://github.com/patriciogonzalezvivo/glslViewer/wiki/Compile-on-linux#3-compile #TODO port to orbital [source] git = "https://github.com/patriciogonzalezvivo/glslViewer" @@ -14,4 +14,17 @@ dependencies = [ ] script = """ export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses" +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/tools/other/gnu-radio/recipe.toml b/recipes/wip/tools/other/gnu-radio/recipe.toml index be5236fc7..5d9115ea1 100644 --- a/recipes/wip/tools/other/gnu-radio/recipe.toml +++ b/recipes/wip/tools/other/gnu-radio/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://wiki.gnuradio.org/index.php?title=LinuxInstall#For_GNU_Radio_3.10,_3.9,_and_Main_Branch +#TODO maybe incomplete script, see https://wiki.gnuradio.org/index.php?title=LinuxInstall#For_GNU_Radio_3.10,_3.9,_and_Main_Branch #TODO probably missing dependencies, see https://wiki.gnuradio.org/index.php?title=UbuntuInstall#Install_Dependencies [source] git = "https://github.com/gnuradio/gnuradio" @@ -15,3 +15,18 @@ dependencies = [ "libusb", "libevdev", ] +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/tools/other/obs-studio/recipe.toml b/recipes/wip/tools/other/obs-studio/recipe.toml index accac1680..04eb475d2 100644 --- a/recipes/wip/tools/other/obs-studio/recipe.toml +++ b/recipes/wip/tools/other/obs-studio/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio +#TODO maybe incomplete script, see https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio #TODO make all dependencies work #TODO maybe missing dependencies [source] @@ -30,3 +30,18 @@ dependencies = [ "libsrt", "libwebsocket++", ] +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/tools/other/okteta/recipe.toml b/recipes/wip/tools/other/okteta/recipe.toml index f8a23a859..c3ad622a1 100644 --- a/recipes/wip/tools/other/okteta/recipe.toml +++ b/recipes/wip/tools/other/okteta/recipe.toml @@ -1,7 +1,22 @@ -#TODO missing script for CMake, lacking build instructions +#TODO maybe incomplete script, lacking build instructions #TODO missing dependencies [source] git = "https://invent.kde.org/utilities/okteta" rev = "fb6150f2dce791c96b95a12ee0c74942c1774c05" [build] template = "custom" +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/tools/other/remmina/recipe.toml b/recipes/wip/tools/other/remmina/recipe.toml index 2adb757e3..9f701889e 100644 --- a/recipes/wip/tools/other/remmina/recipe.toml +++ b/recipes/wip/tools/other/remmina/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compilation-guide +#TODO maybe incomplete script, see https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compilation-guide #TODO dependencies need a cleanup (outdated and up-to-date information is mixed in the build instructions) [source] git = "https://gitlab.com/Remmina/Remmina" @@ -19,3 +19,18 @@ dependencies = [ "libsodium", "pcre", ] +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/tools/other/taskserver/recipe.toml b/recipes/wip/tools/other/taskserver/recipe.toml index 5b82fbe16..c57cb228d 100644 --- a/recipes/wip/tools/other/taskserver/recipe.toml +++ b/recipes/wip/tools/other/taskserver/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://taskwarrior.org/download/#quick-setup +#TODO maybe incomplete script, see https://taskwarrior.org/download/#quick-setup [source] tar = "https://github.com/GothenburgBitFactory/taskserver/releases/download/v1.1.0/taskd-1.1.0.tar.gz" [build] template = "custom" +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/tools/other/taskwarrior/recipe.toml b/recipes/wip/tools/other/taskwarrior/recipe.toml index 354fefe66..5599aef51 100644 --- a/recipes/wip/tools/other/taskwarrior/recipe.toml +++ b/recipes/wip/tools/other/taskwarrior/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://taskwarrior.org/download/#quick-setup +#TODO maybe incomplete script, see https://taskwarrior.org/download/#quick-setup [source] tar = "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v2.6.2/task-2.6.2.tar.gz" [build] template = "custom" +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/tools/science/celestia-data/recipe.toml b/recipes/wip/tools/science/celestia-data/recipe.toml index a3175e286..dc195256b 100644 --- a/recipes/wip/tools/science/celestia-data/recipe.toml +++ b/recipes/wip/tools/science/celestia-data/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#installing-the-content +#TODO maybe incomplete script, see https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#installing-the-content [source] git = "https://github.com/CelestiaProject/CelestiaContent" [build] template = "custom" +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/tools/science/gromacs/recipe.toml b/recipes/wip/tools/science/gromacs/recipe.toml index d4a4009fd..c30f71ce4 100644 --- a/recipes/wip/tools/science/gromacs/recipe.toml +++ b/recipes/wip/tools/science/gromacs/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://manual.gromacs.org/current/install-guide/index.html +#TODO maybe incomplete script, see https://manual.gromacs.org/current/install-guide/index.html [source] tar = "https://ftp.gromacs.org/gromacs/gromacs-2023.3.tar.gz" [build] template = "custom" +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/tools/science/openspace/recipe.toml b/recipes/wip/tools/science/openspace/recipe.toml index 092c47d2a..22de374cb 100644 --- a/recipes/wip/tools/science/openspace/recipe.toml +++ b/recipes/wip/tools/science/openspace/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://docs.openspaceproject.com/en/latest/dev/compiling/index.html# +#TODO maybe incomplete script, see https://docs.openspaceproject.com/en/latest/dev/compiling/index.html# [source] git = "https://github.com/OpenSpace/OpenSpace" rev = "b3681167a3b95d49ac7aa7d06b07cbd88c687e9a" @@ -8,3 +8,18 @@ dependencies = [ "qt6-base", "libgdal", ] +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/tools/science/qmcpack/recipe.toml b/recipes/wip/tools/science/qmcpack/recipe.toml index 6e70f0cd9..72b4aa824 100644 --- a/recipes/wip/tools/science/qmcpack/recipe.toml +++ b/recipes/wip/tools/science/qmcpack/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://qmcpack.readthedocs.io/en/develop/installation.html#building-with-cmake +#TODO maybe incomplete script, see https://qmcpack.readthedocs.io/en/develop/installation.html#building-with-cmake #TODO probably missing dependencies [source] git = "https://github.com/QMCPACK/qmcpack" @@ -13,3 +13,18 @@ dependencies = [ "boost", "fftw", ] +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/video/editors/kdenlive/recipe.toml b/recipes/wip/video/editors/kdenlive/recipe.toml index e21eb5128..5ac7fa157 100644 --- a/recipes/wip/video/editors/kdenlive/recipe.toml +++ b/recipes/wip/video/editors/kdenlive/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://invent.kde.org/multimedia/kdenlive/-/blob/master/dev-docs/build.md#build-and-install-the-projects +#TODO maybe incomplete script, see https://invent.kde.org/multimedia/kdenlive/-/blob/master/dev-docs/build.md#build-and-install-the-projects [source] git = "https://invent.kde.org/multimedia/kdenlive" rev = "da6ecdfbba7aadf88572ac5f87aeb88ff2d80f57" @@ -37,3 +37,18 @@ dependencies = [ "kf5-xmlgui", "breeze-icons", ] +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/wayland/waylandpp/recipe.toml b/recipes/wip/wayland/waylandpp/recipe.toml index 512fc99f3..7cf96db85 100644 --- a/recipes/wip/wayland/waylandpp/recipe.toml +++ b/recipes/wip/wayland/waylandpp/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://github.com/NilsBrause/waylandpp#building +#TODO maybe incomplete script, see https://github.com/NilsBrause/waylandpp#building [source] git = "https://github.com/NilsBrause/waylandpp" [build] template = "custom" +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 +""" -- GitLab