redox/recipes/wip/net/remote/remmina/recipe.toml
2024-07-14 17:48:23 +00:00

37 lines
964 B
TOML

#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"
rev = "2a455eadd6462457d08c2d066c5c245e0dee3bf9"
[build]
template = "custom"
dependencies = [
"openssl1",
"libxml2",
"gstreamer",
"ffmpeg6",
"gtk3",
"libgcrypt",
"libssh",
"libvte",
"libjpeg",
"gnutls3",
"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
"""