diff --git a/recipes/wip/dev/other/zeal/recipe.toml b/recipes/wip/dev/other/zeal/recipe.toml index 39fa5a2e1c262b331b5b1e0c56a5b0639510c3b3..35484489d7e787b0db4399eb2d3714c196fd1d5b 100644 --- a/recipes/wip/dev/other/zeal/recipe.toml +++ b/recipes/wip/dev/other/zeal/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/zealdocs/zeal#build-instructions +#TODO maybe incomplete script, see https://github.com/zealdocs/zeal#build-instructions [source] tar = "https://github.com/zealdocs/zeal/releases/download/v0.7.0/zeal-0.7.0.tar.xz" [build] @@ -10,3 +10,18 @@ dependencies = [ "sqlite3", "mesa", ] +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/emulators/cpu/unicorn/recipe.toml b/recipes/wip/emulators/cpu/unicorn/recipe.toml index 826e4001ac6b612510f9bf5bcd62179190a49052..c5f877728e7faae9bfe8b7fb1d39f6acce528edb 100644 --- a/recipes/wip/emulators/cpu/unicorn/recipe.toml +++ b/recipes/wip/emulators/cpu/unicorn/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, read https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md +#TODO maybe incomplete script, read https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md [source] git = "https://github.com/unicorn-engine/unicorn" rev = "e9c1c17f6df8f8f5da85ee80ad527452db5870ce" [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/emulators/game-console/nds/melonds/recipe.toml b/recipes/wip/emulators/game-console/nds/melonds/recipe.toml index fc8f4b45f5f012d21649f7e249565cc888c98cad..46b747eaf205b27b2828f19372a79a30a05dfa7c 100644 --- a/recipes/wip/emulators/game-console/nds/melonds/recipe.toml +++ b/recipes/wip/emulators/game-console/nds/melonds/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/melonDS-emu/melonDS#linux +#TODO maybe incomplete script, see https://github.com/melonDS-emu/melonDS#linux #TODO make all dependencies work [source] git = "https://github.com/melonDS-emu/melonDS" @@ -15,3 +15,18 @@ dependencies = [ "libarchive", "zstd", ] +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/emulators/game-console/ps4/obliteration/recipe.toml b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml index dd51b9df25c275369084e247753f34669a2ffe39..e8b69d709bc3dad07d81e64cba08f29075c09172 100644 --- a/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml +++ b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/obhq/obliteration#configure-build-system +#TODO maybe incomplete script, see https://github.com/obhq/obliteration#configure-build-system #TODO probably missing dependencies #TODO make qt6 work [source] @@ -8,3 +8,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/emulators/game-console/sega/uoyabause/recipe.toml b/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml index 364d6e976d6d459f8b466fb9fef8c974862f853c..2eb3b900ac7a7bbd994033c68b2728e5638a34bc 100644 --- a/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml +++ b/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/devmiyax/yabause/blob/master/yabause/README.LIN#L77 +#TODO maybe incomplete script, see https://github.com/devmiyax/yabause/blob/master/yabause/README.LIN#L77 #TODO make gtk2 work [source] git = "https://github.com/devmiyax/yabause" @@ -10,3 +10,18 @@ dependencies = [ "mesa", "gtkglext", ] +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/fuse/cvmfs/recipe.toml b/recipes/wip/fuse/cvmfs/recipe.toml index a69cc76dc308296c1396a6da48d4b482ddcc812a..4c35fa3b305f8e48e425ef5b2e3f00b684fc9f2a 100644 --- a/recipes/wip/fuse/cvmfs/recipe.toml +++ b/recipes/wip/fuse/cvmfs/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#building-from-source +#TODO maybe incomplete script, see https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#building-from-source [source] tar = "https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.11.2/source.tar.gz" [build] @@ -6,3 +6,18 @@ template = "custom" dependencies = [ "libfuse3", ] +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/fps/et-legacy/recipe.toml b/recipes/wip/games/fps/et-legacy/recipe.toml index 5dec0452d9734ae822a60a4d58e0e2870fd6677f..8b2bd132a1bc4f670f074853ef65147b3c349795 100644 --- a/recipes/wip/games/fps/et-legacy/recipe.toml +++ b/recipes/wip/games/fps/et-legacy/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/etlegacy/etlegacy#compile-and-install +#TODO maybe incomplete script, see https://github.com/etlegacy/etlegacy#compile-and-install [source] git = "https://github.com/etlegacy/etlegacy" rev = "956269f4c13ebe31ba2a0f0b805588383209bd5b" @@ -9,3 +9,18 @@ dependencies = [ "openssl1", "mesa", ] +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/fps/gzdoom/recipe.toml b/recipes/wip/games/fps/gzdoom/recipe.toml index dcbbcec2ba91f660faf0ad0125bc888373f26f6a..b7660e32ff86bf8404da9107f3af00f53d15c0c0 100644 --- a/recipes/wip/games/fps/gzdoom/recipe.toml +++ b/recipes/wip/games/fps/gzdoom/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://zdoom.org/wiki/Compile_GZDoom_on_Linux +#TODO maybe incomplete script, see https://zdoom.org/wiki/Compile_GZDoom_on_Linux [source] git = "https://github.com/ZDoom/gzdoom" rev = "6ce809efe2902e43ceaa7031b875225d3a0367de" @@ -11,3 +11,18 @@ dependencies = [ "openal", "zmusic", ] +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/fps/rbdoom3-bfg/recipe.toml b/recipes/wip/games/fps/rbdoom3-bfg/recipe.toml index 620794db6b6ec0b19b2c2b2885dfe6faddddada1..692427e45125e39a0b8398f27ab90a33d680eed4 100644 --- a/recipes/wip/games/fps/rbdoom3-bfg/recipe.toml +++ b/recipes/wip/games/fps/rbdoom3-bfg/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/RobertBeckebans/RBDOOM-3-BFG#compiling-on-linux- +#TODO maybe incomplete script, see https://github.com/RobertBeckebans/RBDOOM-3-BFG#compiling-on-linux- #TODO require the Vulkan SDK, see https://vulkan.lunarg.com/ [source] git = "https://github.com/RobertBeckebans/RBDOOM-3-BFG" @@ -11,3 +11,18 @@ dependencies = [ "ffmpeg6", "libvulkan", ] +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/fps/unvanquished/recipe.toml b/recipes/wip/games/fps/unvanquished/recipe.toml index 792ca436d665412b60c4e0c10ab74d2926221031..cd12c6eca1b7ac9eb4e42af41a757ef63ec71bc9 100644 --- a/recipes/wip/games/fps/unvanquished/recipe.toml +++ b/recipes/wip/games/fps/unvanquished/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/DaemonEngine/Daemon#build-instructions +#TODO maybe incomplete script, see https://github.com/DaemonEngine/Daemon#build-instructions # data files - https://github.com/Unvanquished/Unvanquished#downloading-the-games-assets [source] git = "https://github.com/DaemonEngine/Daemon" @@ -21,3 +21,18 @@ dependencies = [ "opus", "opusfile", ] +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/space/endless-sky/recipe.toml b/recipes/wip/games/space/endless-sky/recipe.toml index 24f29a4c5160372c6a65152c5f93c5cbc589ff8a..d102de669654dc2d0792e436c4d562ff9d56dc7e 100644 --- a/recipes/wip/games/space/endless-sky/recipe.toml +++ b/recipes/wip/games/space/endless-sky/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/endless-sky/endless-sky/blob/master/docs/readme-cmake.md#building-the-game +#TODO maybe incomplete script, see https://github.com/endless-sky/endless-sky/blob/master/docs/readme-cmake.md#building-the-game [source] git = "https://github.com/endless-sky/endless-sky" rev = "95e72950e1554392666fa41bb18c978868aa6611" @@ -14,3 +14,18 @@ dependencies = [ "libmad", "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/games/strategy/ship-of-harkinian/recipe.toml b/recipes/wip/games/strategy/ship-of-harkinian/recipe.toml index c94e3c2aa43787a930f3b3fd0d5bbfd52df1b6e1..01b0af365860fbb8ecc74f68c5e6f87523067d9a 100644 --- a/recipes/wip/games/strategy/ship-of-harkinian/recipe.toml +++ b/recipes/wip/games/strategy/ship-of-harkinian/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://github.com/HarbourMasters/Shipwright/blob/develop/docs/BUILDING.md#linux +#TODO maybe incomplete script, see https://github.com/HarbourMasters/Shipwright/blob/develop/docs/BUILDING.md#linux #TODO port to orbital? [source] git = "https://github.com/HarbourMasters/Shipwright" @@ -10,3 +10,18 @@ dependencies = [ "libpng", "glew", ] +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/strategy/warsow/recipe.toml b/recipes/wip/games/strategy/warsow/recipe.toml index e7a953c1825e95445d31bf76b1c987fbda1f1dea..1e4fdcab97327bbe81223cc01e213e6f162e6f74 100644 --- a/recipes/wip/games/strategy/warsow/recipe.toml +++ b/recipes/wip/games/strategy/warsow/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, lacking build instructions +#TODO maybe incomplete script, lacking build instructions [source] tar = "https://warsow.net/warsow_21_sdk.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/icons/breeze-icons/recipe.toml b/recipes/wip/icons/breeze-icons/recipe.toml index d1b0d9ab8e177deb3335b26dd0a51cc186db5313..31717dab15e5b1e4df1c3243c76a0450cc8bac66 100644 --- a/recipes/wip/icons/breeze-icons/recipe.toml +++ b/recipes/wip/icons/breeze-icons/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, lacking build instructions +#TODO maybe incomplete script, lacking build instructions [source] tar = "https://download.kde.org/stable/frameworks/5.112/breeze-icons-5.112.0.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/libs/audio/libopenshot-audio/recipe.toml b/recipes/wip/libs/audio/libopenshot-audio/recipe.toml index 8c82217878da6656973571b58a711501b9224d71..8c018375fa817bc9be98d8f486d843099ae59fb4 100644 --- a/recipes/wip/libs/audio/libopenshot-audio/recipe.toml +++ b/recipes/wip/libs/audio/libopenshot-audio/recipe.toml @@ -1,7 +1,22 @@ -#TODO missing script for CMake +#TODO maybe incomplete script #TODO determine dependencies [source] git = "https://github.com/OpenShot/libopenshot-audio" rev = "98f08a6d4a90f3644b6c2c68efb2cbd86c75d87a" [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/libs/other/dcmtk/recipe.toml b/recipes/wip/libs/other/dcmtk/recipe.toml index 5393073fc5331a7a767e954500b1219eeb72e17c..158ebe94351fb372558b0dffa44ce21b774a1bd1 100644 --- a/recipes/wip/libs/other/dcmtk/recipe.toml +++ b/recipes/wip/libs/other/dcmtk/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://git.dcmtk.org/?p=dcmtk.git;a=blob;f=INSTALL;h=97087f9a05e65040264d90027912c736958e67f3;hb=HEAD#l667 +#TODO maybe incomplete script, see https://git.dcmtk.org/?p=dcmtk.git;a=blob;f=INSTALL;h=97087f9a05e65040264d90027912c736958e67f3;hb=HEAD#l667 [source] tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz" [build] @@ -12,3 +12,18 @@ dependencies = [ "zlib", "openjpeg", ] +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/other/gflags/recipe.toml b/recipes/wip/libs/other/gflags/recipe.toml index e3c77b042daabc1989b6f72af3f19ad7c5c8b570..09033d4baecb1cfda7bdb044a5fee82e72c06507 100644 --- a/recipes/wip/libs/other/gflags/recipe.toml +++ b/recipes/wip/libs/other/gflags/recipe.toml @@ -1,5 +1,20 @@ -#TODO missing script for CMake, see https://github.com/gflags/gflags/blob/master/INSTALL.md#compiling-the-source-code-with-cmake +#TODO maybe incomplete script, see https://github.com/gflags/gflags/blob/master/INSTALL.md#compiling-the-source-code-with-cmake [source] git = "https://github.com/gflags/gflags" [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/libs/other/lammps/recipe.toml b/recipes/wip/libs/other/lammps/recipe.toml index c24291308086a6783f4c3b46501cd6c2faa8f4af..450549298e69ee993fd327d1acf9ee50413e1a76 100644 --- a/recipes/wip/libs/other/lammps/recipe.toml +++ b/recipes/wip/libs/other/lammps/recipe.toml @@ -1,6 +1,21 @@ -#TODO missing script for CMake, see https://docs.lammps.org/Build_cmake.html +#TODO maybe incomplete script, see https://docs.lammps.org/Build_cmake.html [source] git = "https://github.com/lammps/lammps" rev = "27e8d0f19cfd60ff513828af74d07d2c8f3c4451" [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/libs/other/lib2geom/recipe.toml b/recipes/wip/libs/other/lib2geom/recipe.toml index ff0659d320a58c9290ba6def4d2b75bfbe0f6cba..f971edf9d1c8641b14bb80a78997ea83b1b5a900 100644 --- a/recipes/wip/libs/other/lib2geom/recipe.toml +++ b/recipes/wip/libs/other/lib2geom/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake, see https://gitlab.com/inkscape/lib2geom#building +#TODO maybe incomplete script, see https://gitlab.com/inkscape/lib2geom#building [source] git = "https://gitlab.com/inkscape/lib2geom" rev = "18fc32f9972dfaee597055b3226c5b7ef3bfbb4c" @@ -10,3 +10,18 @@ dependencies = [ "glib", "cairo", ] +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/video/libopenshot-video/recipe.toml b/recipes/wip/libs/video/libopenshot-video/recipe.toml index a16d422202de4bc4f299aeea01f9d8c7b4e4dfb2..0b861b24dae94f287a654f067fc7d0a39afa284d 100644 --- a/recipes/wip/libs/video/libopenshot-video/recipe.toml +++ b/recipes/wip/libs/video/libopenshot-video/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for CMake +#TODO maybe incomplete script #TODO determine dependencies - https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions [source] git = "https://github.com/OpenShot/libopenshot" @@ -17,3 +17,18 @@ dependencies = [ "babl", "imagemagick", ] +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 +"""