diff --git a/recipes/wip/sound/audacity/recipe.toml b/recipes/wip/sound/audacity/recipe.toml index 9aaca6357bfe2e1739890cb9820daf41f3b88fe6..c444edd682dc5b139dd744d4d1bda58a19df6ee7 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 460de8968d2808ebc2badee8fa143e84000e8593..c32acf7b83ff2b550fe2874995292aa9b5cd4fa0 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 22bf55da1ae6ad4c698bda59e75f1231a62bd18e..45a947dfba44fc81292c5c9a24368a0bc4cd0c73 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 59789b0b9b647b631703aeb7691729e0c11a019e..0bb76c0b5d31ae2f13d217393f6370b9bd39221b 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 b25c9628425da60f575559f88b2258522b660e78..9b0f4bbd0f6ac967b7e6289f0d9b7ef651468172 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 dbfb106b38988b909a2b9bdfa809b24ac0a6cf0b..0c8bfcf4e91f0ddd1fc7ced9a63bae90096d33bb 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 dd3d10d6fea4a7cbc462c90e255536295a27ed67..d4753ffb7e06b7488bbce73d464331bd8e03b93d 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 b3c8121580c257c37e839a196fd1b8eec35b4b55..573193cd0e1777f887aeb2652083ff1f5ce5af20 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 0003178a73fdf99d0ab125e06981320250a3a247..3a57813be2696de6991f3f33104339badde19e72 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 0d1651a5fb65ddf32a6102f7c92364a866a68d3b..013791d3923729e9765c74dde7a8ff7b73f64809 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 6e9013199b3b942243424fcc795953c063a5231e..4c8a04dac5333a418c3c1e7ec691d0d58be31189 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 fdb5525ee0c6c88138040ed69545922baad18fc3..cee45b81fc011c8426874c1ff596c3dd79a8d43f 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 90dae7c32bc96af9fb3cbe060a0b5a725879347f..6a1069dd2fffec5821fea909305ddd5b1611526b 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 566e94a2700d85b7926e20f9b4842cd0c846a870..b94f4301d6286083441a84f190431bbc874741aa 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 841b4bb8e837bf49667cdde1b5f5a39a89a01468..be0d308f47c39604062b965e60218dad5dc1e273 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 ee445368e7b62c9ec5235906ca80d24c42e8f857..af76902d88cdc08a0d7103f817c9fe72349b98ce 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 595155b6b82d75206e9a46e3b14301d62204ea6c..b6b427d58272813f1a5195dc40baaa98cb80e166 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 8b8db7187e79c766b4ce91842592b0ad0b914924..6d10b4130575307ac2a60594df2f5f1b6af9409e 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 0992b8cd04388be46d54c6bfaf662169dd7bd132..bb11b110249b5a23cc6d7f10739bd903d38f6c2b 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 cb21b5c27f786277dadaaa5a5019faecc41b5f9e..c6c51291d936e1a5bcff166a169c4e2dbeb72eab 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 7c64ec64984c63b6d5bc523bffce11f8c1e9b7ac..3275faa5f3522578a14f43f0c1feeea2c2733952 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 a844dbfefd71d858e717d05d1c99d7d9ac618fae..438c2a1fec9f6148c2b69cef46a99462920c3c9b 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 be5236fc72ae806a2d11d08a06892443aeb315f3..5d9115ea17f2737643dd1da28f969b226f80c2ae 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 accac1680bbf4fb87e51eb5d9f660836976179a2..04eb475d21f12f30829684d6a8f5dc1743afce5b 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 f8a23a8592db383a64946244bc83eec6601eb23a..c3ad622a10a1f72417cb30f4a03597521a47060b 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 2adb757e367f7df537612cdc75326e39a85a2891..9f701889e930cab4117fdc8234f611c5aa82be10 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 5b82fbe16f4d24b7f281aa041b27d0aea7724c7e..c57cb228d41d4a05aaa14f3367995e88614cce4a 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 354fefe6641031f8d04d9c05f48dfa78c47ddc77..5599aef512d620ea52722d299a5ee8538f9f1bdc 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 a3175e286bc18dceb68abf44cbf067bda37b8bd6..dc195256bd4613ac41df07e95de5487ffde5b29b 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 d4a4009fd8fc3fcf5f7c6c1bd13c663ea6723f2d..c30f71ce48d807ebf5a35a6808ebc8ca8833cb7b 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 092c47d2a3573a19e6227f34999cf0d0b2016b09..22de374cbab5eddf1e245d0f7b2ed39e995843df 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 6e70f0cd9b4a3d73039380aeb7cfaadce52b496b..72b4aa824852c78a4c8fdb3bc2210f937eec8c24 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 e21eb512837eed6686d7b24c6efc19d8179cd6dc..5ac7fa157ed79cf5d44a65dac92ff28610364c5c 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 512fc99f35391db210046608085c93910cf5d4ee..7cf96db859adbae9297ea7a4b7a21795ec7fe7f5 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 +"""