mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
Try to fix more CMake-based recipes
This commit is contained in:
parent
4571365bcc
commit
dbed3b4f1e
@ -1,26 +1,12 @@
|
||||
#TODO probably wrong script, see https://i2pd.readthedocs.io/en/latest/devs/building/unix/
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://i2pd.readthedocs.io/en/latest/devs/building/unix/
|
||||
[source]
|
||||
git = "https://github.com/PurpleI2P/i2pd"
|
||||
rev = "beffdb9fe175a93164bd88ee0fafe1a22595ed15"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"boost",
|
||||
"openssl1",
|
||||
"zlib",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
#TODO probably wrong script, see https://github.com/oxen-io/lokinet/blob/dev/docs/install.md#building
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/oxen-io/lokinet/blob/dev/docs/install.md#building
|
||||
[source]
|
||||
tar = "https://github.com/oxen-io/lokinet/releases/download/v0.9.11/lokinet-v0.9.11.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"libcap",
|
||||
"libuv",
|
||||
@ -14,19 +15,3 @@ dependencies = [
|
||||
"unbound",
|
||||
"nlohmann-json",
|
||||
]
|
||||
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
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
@ -1,20 +1,6 @@
|
||||
#TODO probably wrong script, see https://github.com/kdudka/nss-pem/blob/master/README
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/kdudka/nss-pem/blob/master/README
|
||||
[source]
|
||||
tar = "https://github.com/kdudka/nss-pem/releases/download/nss-pem-1.1.0/nss-pem-1.1.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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,25 +1,11 @@
|
||||
#TODO maybe incomplete script, see https://docs.srsran.com/projects/4g/en/latest/general/source/1_installation.html#installation-from-source
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://docs.srsran.com/projects/4g/en/latest/general/source/1_installation.html#installation-from-source
|
||||
[source]
|
||||
git = "https://github.com/srsran/srsRAN_4G"
|
||||
rev = "eea87b1d893ae58e0b08bc381730c502024ae71f"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"fftw",
|
||||
"mbedtls",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,26 +1,12 @@
|
||||
#TODO maybe incomplete script, see https://github.com/srsran/srsRAN_Project#build-instructions
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/srsran/srsRAN_Project#build-instructions
|
||||
#TODO missing dependencies
|
||||
[source]
|
||||
git = "https://github.com/srsran/srsRAN_Project"
|
||||
rev = "374200deefd8e1b96fab7328525fd593a808a641"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"fftw",
|
||||
"mbedtls",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,23 +1,10 @@
|
||||
#TODO maybe incomplete script
|
||||
#TODO missing dependencies? - https://github.com/mkiol/Jupii#libraries
|
||||
#TODO not compiled or tested
|
||||
# missing dependencies? - https://github.com/mkiol/Jupii#libraries
|
||||
[source]
|
||||
git = "https://github.com/mkiol/Jupii"
|
||||
rev = "ed80ca0ea29081a2bff038faf4884e3acabb14b7"
|
||||
[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
|
||||
-DWITH_DESKTOP=ON
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DWITH_DESKTOP=ON"
|
||||
]
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
#TODO maybe incomplete script, see https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compilation-guide
|
||||
#TODO not compiled or tested
|
||||
# build instructions: 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"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"openssl1",
|
||||
"libxml2",
|
||||
@ -19,18 +20,3 @@ dependencies = [
|
||||
"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
|
||||
"""
|
||||
|
||||
@ -1,25 +1,11 @@
|
||||
#TODO probably wrong script, see https://github.com/SpadesX/SpadesX#installation
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/SpadesX/SpadesX#installation
|
||||
[source]
|
||||
git = "https://github.com/SpadesX/SpadesX"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"readline",
|
||||
"zlib",
|
||||
"json-c",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source
|
||||
#TODO port GLEW to Orbital
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/yvt/openspades#on-unixes-from-source
|
||||
[source]
|
||||
git = "https://github.com/yvt/openspades"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"glew",
|
||||
"openssl1",
|
||||
@ -16,18 +16,3 @@ dependencies = [
|
||||
"libjpeg",
|
||||
"openal",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#TODO probably wrong script, see https://github.com/yvt/openspades#on-unixes-from-source
|
||||
#TODO port GLEW to Orbital
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/yvt/openspades#on-unixes-from-source
|
||||
[source]
|
||||
git = "https://github.com/siecvi/zerospades"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"glew",
|
||||
"openssl1",
|
||||
@ -16,18 +16,3 @@ dependencies = [
|
||||
"libjpeg",
|
||||
"openal",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#TODO maybe incomplete script, see https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio
|
||||
#TODO make all dependencies work
|
||||
#TODO maybe missing dependencies
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio
|
||||
# maybe missing dependencies
|
||||
[source]
|
||||
git = "https://github.com/obsproject/obs-studio"
|
||||
rev = "b45a73296f4f898e2ed455023020058075c30bab"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"boost",
|
||||
"librsvg",
|
||||
@ -30,18 +30,3 @@ dependencies = [
|
||||
"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
|
||||
"""
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
#TODO probably wrong script, see https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#celestia-install-instructions-for-unix
|
||||
#TODO finish the recipes of some dependencies
|
||||
#TODO the SDL2 frontend is limited, Qt6 or Qt5 is preferred
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#celestia-install-instructions-for-unix
|
||||
# sdl2 frontend is limited, qt6 or qt5 is preferred
|
||||
[source]
|
||||
tar = "https://github.com/CelestiaProject/Celestia/releases/download/1.6.4/celestia-1.6.4.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DENABLE_INTERFACE=ON",
|
||||
"-DENABLE_SDL=ON",
|
||||
]
|
||||
dependencies = [
|
||||
"mesa",
|
||||
"mesa-glu",
|
||||
@ -16,21 +20,5 @@ dependencies = [
|
||||
"libpng",
|
||||
"libjpeg",
|
||||
"luajit",
|
||||
#"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
|
||||
-DENABLE_INTERFACE=ON
|
||||
-DENABLE_SDL=On
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user