mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-05 11:08:49 +08:00
35 lines
875 B
TOML
35 lines
875 B
TOML
#TODO maybe incomplete script
|
|
#TODO determine dependencies - https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions
|
|
[source]
|
|
git = "https://github.com/OpenShot/libopenshot"
|
|
rev = "3170768e0ccbaad5b2a4696e84dd649738ec1a1b"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"libopenshot-audio",
|
|
"ffmpeg6",
|
|
"qt5-base",
|
|
"qt5-svg",
|
|
"qt5-multimedia",
|
|
"libzmq",
|
|
"opencv4",
|
|
"protobuf",
|
|
"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
|
|
"""
|