mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 23:34:19 +08:00
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
#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]
|
|
git = "https://github.com/obsproject/obs-studio"
|
|
rev = "b45a73296f4f898e2ed455023020058075c30bab"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"boost",
|
|
"librsvg",
|
|
"dbus",
|
|
"fontconfig",
|
|
"freetype2",
|
|
"jansson",
|
|
"pipewire",
|
|
"mesa",
|
|
"speexdsp",
|
|
"ffmpeg6",
|
|
"x264",
|
|
"curl",
|
|
"mbedtls",
|
|
"libva",
|
|
"qt5-base",
|
|
"qt5-svg",
|
|
"eudev",
|
|
"pciutils",
|
|
"libqrcodegenc",
|
|
"librist",
|
|
"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
|
|
"""
|