mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Try to fix more CMake-based recipes
This commit is contained in:
parent
44a7e9174a
commit
290d196d02
@ -1,28 +1,14 @@
|
||||
#TODO maybe incomplete script, see https://github.com/RobertBeckebans/RBDOOM-3-BFG#compiling-on-linux-
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/RobertBeckebans/RBDOOM-3-BFG#compiling-on-linux-
|
||||
#TODO require the Vulkan SDK, see https://vulkan.lunarg.com/
|
||||
[source]
|
||||
git = "https://github.com/RobertBeckebans/RBDOOM-3-BFG"
|
||||
rev = "39ae1202b4e61ccb8d8e59609f5cd62b04a62a58"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"openal",
|
||||
"ffmpeg6",
|
||||
"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
|
||||
"""
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#TODO maybe incomplete script, see https://github.com/DaemonEngine/Daemon#build-instructions
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/DaemonEngine/Daemon#build-instructions
|
||||
# data files - https://github.com/Unvanquished/Unvanquished#downloading-the-games-assets
|
||||
[source]
|
||||
git = "https://github.com/DaemonEngine/Daemon"
|
||||
@ -22,17 +23,6 @@ dependencies = [
|
||||
"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
|
||||
DYNAMIC_INIT
|
||||
cookbook_cmake
|
||||
"""
|
||||
|
||||
@ -1,25 +1,10 @@
|
||||
#TODO maybe incomplete script
|
||||
#TODO not compiled or tested
|
||||
# build instructions - https://github.com/performous/performous/wiki/Composer
|
||||
[source]
|
||||
git = "https://github.com/performous/composer"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"qt5-base",
|
||||
"ffmpeg6",
|
||||
]
|
||||
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
|
||||
#TODO not compiled or tested
|
||||
# build instructions - https://github.com/performous/performous/wiki/Building-and-installing-from-source#build-and-install
|
||||
# dependencies - https://github.com/performous/performous/wiki/Building-and-installing-from-source#installing-build-dependencies
|
||||
[source]
|
||||
git = "https://github.com/performous/performous"
|
||||
branch = "1.3.1"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"openblas",
|
||||
"fftw",
|
||||
@ -24,18 +24,3 @@ dependencies = [
|
||||
"aubio",
|
||||
"libfmt",
|
||||
]
|
||||
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,10 @@
|
||||
#TODO maybe incomplete script
|
||||
#TODO not compiled or tested
|
||||
# build instructions - https://github.com/stepmania/stepmania/wiki/Compiling-StepMania-Linux
|
||||
# dependencies - https://github.com/stepmania/stepmania/wiki/Linux-Dependencies
|
||||
[source]
|
||||
git = "https://github.com/stepmania/stepmania"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"mesa",
|
||||
"mesa-glu",
|
||||
@ -23,18 +23,3 @@ dependencies = [
|
||||
"gtk3",
|
||||
"libmad",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
[source]
|
||||
git = "https://github.com/CytopiaTeam/Cytopia"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"sdl2-ttf",
|
||||
@ -16,18 +16,3 @@ dependencies = [
|
||||
"libnoise",
|
||||
"imgui",
|
||||
]
|
||||
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/minetest/minetest/blob/master/doc/compiling/linux.md
|
||||
#TODO customization - https://github.com/minetest/minetest/tree/master/doc/compiling#cmake-options
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/minetest/minetest/blob/master/doc/compiling/linux.md
|
||||
# customization - https://github.com/minetest/minetest/tree/master/doc/compiling#cmake-options
|
||||
[source]
|
||||
git = "https://github.com/minetest/minetest"
|
||||
branch = "stable-5"
|
||||
script = """
|
||||
git clone --depth 1 https://github.com/minetest/irrlicht.git "${COOKBOOK_SOURCE}"/lib/irrlichtmt
|
||||
"""
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"freetype2",
|
||||
"sqlite3",
|
||||
@ -17,21 +21,3 @@ dependencies = [
|
||||
"curl",
|
||||
"zstd",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
git clone --depth 1 https://github.com/minetest/irrlicht.git "${COOKBOOK_SOURCE}"/lib/irrlichtmt
|
||||
COOKBOOK_CONFIGURE="cmake"
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_CROSSCOMPILING=True
|
||||
-DCMAKE_CXX_COMPILER="${TARGET}-g++"
|
||||
-DCMAKE_C_COMPILER="${TARGET}-gcc"
|
||||
-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
|
||||
"""
|
||||
|
||||
@ -9,22 +9,14 @@ dependencies = [
|
||||
"libvorbis",
|
||||
"mesa",
|
||||
"sdl2",
|
||||
"sdl2_mixer",
|
||||
"sdl2-mixer",
|
||||
"zlib",
|
||||
]
|
||||
script = """
|
||||
COOKBOOK_CONFIGURE="cmake"
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_CROSSCOMPILING=True
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CMAKE_FLAGS+=(
|
||||
-DCMAKE_C_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2"
|
||||
-DCMAKE_CXX_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2"
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-L${COOKBOOK_SYSROOT}/lib -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_FLUIDSYNTH=OFF
|
||||
-DENABLE_SDL2=ON
|
||||
-DENABLE_SOUND=ON
|
||||
@ -32,10 +24,8 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
-DOPENGL_opengl_LIBRARY="-lgl"
|
||||
-DOPENGL_glx_LIBRARY="-lglx"
|
||||
-DSDL2_MIXER_LIBRARIES="-lSDL2_mixer -lvorbisfile -lvorbis -logg -lSDL2 -lorbital $("${TARGET}-pkg-config" --libs osmesa)"
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cmake "${COOKBOOK_CONFIGURE_FLAGS[@]}"
|
||||
make -j "${COOKBOOK_MAKE_JOBS}"
|
||||
cookbook_cmake
|
||||
mkdir -pv "${COOKBOOK_STAGE}/home/user/systemshock"
|
||||
cp -v systemshock "${COOKBOOK_STAGE}/home/user/systemshock/systemshock"
|
||||
cp -rv "${COOKBOOK_SOURCE}/shaders" "${COOKBOOK_STAGE}/home/user/systemshock/shaders"
|
||||
|
||||
@ -1,8 +1,13 @@
|
||||
#TODO probably wrong script, see https://github.com/supertuxkart/stk-code/blob/master/INSTALL.md#compiling
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/supertuxkart/stk-code/blob/master/INSTALL.md#compiling
|
||||
[source]
|
||||
tar = "https://github.com/supertuxkart/stk-code/releases/download/1.4/SuperTuxKart-1.4-src.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DNO_SHADERC=ON",
|
||||
"-DBUILD_RECORDER=OFF",
|
||||
]
|
||||
dependencies = [
|
||||
"openal",
|
||||
"libogg",
|
||||
@ -16,20 +21,3 @@ dependencies = [
|
||||
"libjpeg",
|
||||
"sdl2",
|
||||
]
|
||||
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
|
||||
-DNO_SHADERC=on
|
||||
-DBUILD_RECORDER=off
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
@ -1,20 +1,6 @@
|
||||
#TODO probably wrong script, see https://github.com/cuberite/cuberite/blob/master/COMPILING.md#building-1
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/cuberite/cuberite/blob/master/COMPILING.md#building-1
|
||||
[source]
|
||||
git = "https://github.com/cuberite/cuberite"
|
||||
[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,9 +1,10 @@
|
||||
#TODO maybe incomplete script, see https://github.com/endless-sky/endless-sky/blob/master/docs/readme-cmake.md#building-the-game
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/endless-sky/endless-sky/blob/master/docs/readme-cmake.md#building-the-game
|
||||
[source]
|
||||
git = "https://github.com/endless-sky/endless-sky"
|
||||
rev = "95e72950e1554392666fa41bb18c978868aa6611"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"libpng",
|
||||
@ -14,18 +15,3 @@ dependencies = [
|
||||
"libmad",
|
||||
"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
|
||||
"""
|
||||
|
||||
@ -1,27 +1,12 @@
|
||||
#TODO maybe incomplete script, see https://github.com/HarbourMasters/Shipwright/blob/develop/docs/BUILDING.md#linux
|
||||
#TODO port to orbital?
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/HarbourMasters/Shipwright/blob/develop/docs/BUILDING.md#linux
|
||||
[source]
|
||||
git = "https://github.com/HarbourMasters/Shipwright"
|
||||
rev = "818addfdda660f6b4b54edd19636d6fd9d839f28"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"libpng",
|
||||
"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
|
||||
"""
|
||||
|
||||
@ -1,20 +1,6 @@
|
||||
#TODO maybe incomplete script, lacking build instructions
|
||||
#TODO not compiled or tested
|
||||
# lacking build instructions
|
||||
[source]
|
||||
tar = "https://warsow.net/warsow_21_sdk.tar.gz"
|
||||
[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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user