Add the CMake script on many recipes

This commit is contained in:
Ribbon 2024-06-30 08:12:12 +00:00
parent 6684f8de87
commit 589db8a4e4
20 changed files with 320 additions and 20 deletions

View File

@ -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] [source]
tar = "https://github.com/zealdocs/zeal/releases/download/v0.7.0/zeal-0.7.0.tar.xz" tar = "https://github.com/zealdocs/zeal/releases/download/v0.7.0/zeal-0.7.0.tar.xz"
[build] [build]
@ -10,3 +10,18 @@ dependencies = [
"sqlite3", "sqlite3",
"mesa", "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
"""

View File

@ -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] [source]
git = "https://github.com/unicorn-engine/unicorn" git = "https://github.com/unicorn-engine/unicorn"
rev = "e9c1c17f6df8f8f5da85ee80ad527452db5870ce" rev = "e9c1c17f6df8f8f5da85ee80ad527452db5870ce"
[build] [build]
template = "custom" 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
"""

View File

@ -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 #TODO make all dependencies work
[source] [source]
git = "https://github.com/melonDS-emu/melonDS" git = "https://github.com/melonDS-emu/melonDS"
@ -15,3 +15,18 @@ dependencies = [
"libarchive", "libarchive",
"zstd", "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
"""

View File

@ -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 probably missing dependencies
#TODO make qt6 work #TODO make qt6 work
[source] [source]
@ -8,3 +8,18 @@ template = "custom"
dependencies = [ dependencies = [
"qt6-base", "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
"""

View File

@ -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 #TODO make gtk2 work
[source] [source]
git = "https://github.com/devmiyax/yabause" git = "https://github.com/devmiyax/yabause"
@ -10,3 +10,18 @@ dependencies = [
"mesa", "mesa",
"gtkglext", "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
"""

View File

@ -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] [source]
tar = "https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.11.2/source.tar.gz" tar = "https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.11.2/source.tar.gz"
[build] [build]
@ -6,3 +6,18 @@ template = "custom"
dependencies = [ dependencies = [
"libfuse3", "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
"""

View File

@ -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] [source]
git = "https://github.com/etlegacy/etlegacy" git = "https://github.com/etlegacy/etlegacy"
rev = "956269f4c13ebe31ba2a0f0b805588383209bd5b" rev = "956269f4c13ebe31ba2a0f0b805588383209bd5b"
@ -9,3 +9,18 @@ dependencies = [
"openssl1", "openssl1",
"mesa", "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
"""

View File

@ -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] [source]
git = "https://github.com/ZDoom/gzdoom" git = "https://github.com/ZDoom/gzdoom"
rev = "6ce809efe2902e43ceaa7031b875225d3a0367de" rev = "6ce809efe2902e43ceaa7031b875225d3a0367de"
@ -11,3 +11,18 @@ dependencies = [
"openal", "openal",
"zmusic", "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
"""

View File

@ -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/ #TODO require the Vulkan SDK, see https://vulkan.lunarg.com/
[source] [source]
git = "https://github.com/RobertBeckebans/RBDOOM-3-BFG" git = "https://github.com/RobertBeckebans/RBDOOM-3-BFG"
@ -11,3 +11,18 @@ dependencies = [
"ffmpeg6", "ffmpeg6",
"libvulkan", "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
"""

View File

@ -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 # data files - https://github.com/Unvanquished/Unvanquished#downloading-the-games-assets
[source] [source]
git = "https://github.com/DaemonEngine/Daemon" git = "https://github.com/DaemonEngine/Daemon"
@ -21,3 +21,18 @@ dependencies = [
"opus", "opus",
"opusfile", "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
"""

View File

@ -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] [source]
git = "https://github.com/endless-sky/endless-sky" git = "https://github.com/endless-sky/endless-sky"
rev = "95e72950e1554392666fa41bb18c978868aa6611" rev = "95e72950e1554392666fa41bb18c978868aa6611"
@ -14,3 +14,18 @@ dependencies = [
"libmad", "libmad",
"libuuid", "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
"""

View File

@ -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? #TODO port to orbital?
[source] [source]
git = "https://github.com/HarbourMasters/Shipwright" git = "https://github.com/HarbourMasters/Shipwright"
@ -10,3 +10,18 @@ dependencies = [
"libpng", "libpng",
"glew", "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
"""

View File

@ -1,5 +1,20 @@
#TODO missing script for CMake, lacking build instructions #TODO maybe incomplete script, lacking build instructions
[source] [source]
tar = "https://warsow.net/warsow_21_sdk.tar.gz" tar = "https://warsow.net/warsow_21_sdk.tar.gz"
[build] [build]
template = "custom" 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
"""

View File

@ -1,5 +1,20 @@
#TODO missing script for CMake, lacking build instructions #TODO maybe incomplete script, lacking build instructions
[source] [source]
tar = "https://download.kde.org/stable/frameworks/5.112/breeze-icons-5.112.0.tar.xz" tar = "https://download.kde.org/stable/frameworks/5.112/breeze-icons-5.112.0.tar.xz"
[build] [build]
template = "custom" 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
"""

View File

@ -1,7 +1,22 @@
#TODO missing script for CMake #TODO maybe incomplete script
#TODO determine dependencies #TODO determine dependencies
[source] [source]
git = "https://github.com/OpenShot/libopenshot-audio" git = "https://github.com/OpenShot/libopenshot-audio"
rev = "98f08a6d4a90f3644b6c2c68efb2cbd86c75d87a" rev = "98f08a6d4a90f3644b6c2c68efb2cbd86c75d87a"
[build] [build]
template = "custom" 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
"""

View File

@ -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] [source]
tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz" tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz"
[build] [build]
@ -12,3 +12,18 @@ dependencies = [
"zlib", "zlib",
"openjpeg", "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
"""

View File

@ -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] [source]
git = "https://github.com/gflags/gflags" git = "https://github.com/gflags/gflags"
[build] [build]
template = "custom" 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
"""

View File

@ -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] [source]
git = "https://github.com/lammps/lammps" git = "https://github.com/lammps/lammps"
rev = "27e8d0f19cfd60ff513828af74d07d2c8f3c4451" rev = "27e8d0f19cfd60ff513828af74d07d2c8f3c4451"
[build] [build]
template = "custom" 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
"""

View File

@ -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] [source]
git = "https://gitlab.com/inkscape/lib2geom" git = "https://gitlab.com/inkscape/lib2geom"
rev = "18fc32f9972dfaee597055b3226c5b7ef3bfbb4c" rev = "18fc32f9972dfaee597055b3226c5b7ef3bfbb4c"
@ -10,3 +10,18 @@ dependencies = [
"glib", "glib",
"cairo", "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
"""

View File

@ -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 #TODO determine dependencies - https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions
[source] [source]
git = "https://github.com/OpenShot/libopenshot" git = "https://github.com/OpenShot/libopenshot"
@ -17,3 +17,18 @@ dependencies = [
"babl", "babl",
"imagemagick", "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
"""