Try to fix more CMake recipes

This commit is contained in:
Ribbon 2025-10-12 20:20:44 -03:00
parent dbed3b4f1e
commit 4657b871ae
8 changed files with 38 additions and 145 deletions

View File

@ -1,20 +1,6 @@
#TODO maybe incomplete script, see https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#installing-the-content
#TODO not compiled or tested
# build instructions: https://github.com/CelestiaProject/Celestia/blob/master/INSTALL.md#installing-the-content
[source]
git = "https://github.com/CelestiaProject/CelestiaContent"
[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"

View File

@ -1,20 +1,6 @@
#TODO maybe incomplete script, see https://manual.gromacs.org/current/install-guide/index.html
#TODO not compiled or tested
# build instructions: https://manual.gromacs.org/current/install-guide/index.html
[source]
tar = "https://ftp.gromacs.org/gromacs/gromacs-2023.3.tar.gz"
tar = "https://ftp.gromacs.org/gromacs/gromacs-2025.3.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"

View File

@ -1,25 +1,11 @@
#TODO maybe incomplete script, see https://docs.openspaceproject.com/en/latest/dev/compiling/index.html#
#TODO not compiled or tested
# build instructions: https://docs.openspaceproject.com/en/latest/dev/compiling/index.html#
[source]
git = "https://github.com/OpenSpace/OpenSpace"
rev = "b3681167a3b95d49ac7aa7d06b07cbd88c687e9a"
[build]
template = "custom"
template = "cmake"
dependencies = [
"qt6-base",
"libgdal",
]
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
"""

View File

@ -1,10 +1,11 @@
#TODO maybe incomplete script, see https://qmcpack.readthedocs.io/en/develop/installation.html#building-with-cmake
#TODO probably missing dependencies
#TODO not compiled or tested
# build instructions: https://qmcpack.readthedocs.io/en/develop/installation.html#building-with-cmake
# probably missing dependencies
[source]
git = "https://github.com/QMCPACK/qmcpack"
rev = "9d0d968139fc33f71dbf9159f526dd7b47f10a3b"
[build]
template = "custom"
template = "cmake"
dependencies = [
"openmpi",
"openblas",
@ -13,18 +14,3 @@ dependencies = [
"boost",
"fftw",
]
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
"""

View File

@ -1,9 +1,10 @@
#TODO probably wrong script, see https://github.com/Stellarium/stellarium/blob/master/BUILDING.md#building
#TODO missing dependencies - https://github.com/Stellarium/stellarium/blob/master/BUILDING.md#qt6
#TODO not compiled or tested
# build instructions: https://github.com/Stellarium/stellarium/blob/master/BUILDING.md#building
#TODO missing dependencies: https://github.com/Stellarium/stellarium/blob/master/BUILDING.md#qt6
[source]
tar = "https://github.com/Stellarium/stellarium/releases/download/v23.3/stellarium-23.3.tar.xz"
tar = "https://github.com/Stellarium/stellarium/releases/download/v25.3/stellarium-25.3.tar.xz"
[build]
template = "custom"
template = "cmake"
dependencies = [
"mesa",
"zlib",
@ -20,18 +21,3 @@ dependencies = [
"gexiv2",
"libnlopt",
]
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
"""

View File

@ -1,7 +1,8 @@
#TODO probably wrong script, see https://docs.clamav.net/manual/Installing/Installing-from-source-Unix.html
#TODO not compiled or tested
# build instructions: https://docs.clamav.net/manual/Installing/Installing-from-source-Unix.html
#TODO missing Sendmail Mail Filter API (Milter)
[source]
tar = "https://www.clamav.net/downloads/production/clamav-1.2.1.tar.gz"
tar = "https://www.clamav.net/downloads/production/clamav-1.5.0.tar.gz"
[build]
template = "custom"
dependencies = [
@ -15,18 +16,7 @@ dependencies = [
"zlib",
]
script = """
DYNAMIC_INIT
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses"
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
cookbook_cmake
"""

View File

@ -1,10 +1,16 @@
#TODO probably wrong script, see https://github.com/keepassxreboot/keepassxc/wiki/Building-KeePassXC#linux
#TODO port to orbital
#TODO probably missing dependencies, see https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-Linux#install-the-required-dependencies
#TODO not compiled or tested
# build instructions: https://github.com/keepassxreboot/keepassxc/wiki/Building-KeePassXC#linux
# probably missing dependencies, see https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-Linux#install-the-required-dependencies
[source]
tar = "https://github.com/keepassxreboot/keepassxc/releases/download/2.7.6/keepassxc-2.7.6-src.tar.xz"
tar = "https://github.com/keepassxreboot/keepassxc/releases/download/2.7.10/keepassxc-2.7.10-src.tar.xz"
[build]
template = "custom"
template = "cmake"
cmakeflags = [
"-DWITH_XC_AUTOTYPE=OFF",
"-DWITH_XC_UPDATECHECK=OFF",
"-DKEEPASSXC_BUILD_TYPE=Release",
"-DWITH_APP_BUNDLE=OFF",
]
dependencies = [
"qt5-base",
"qt5-svg",
@ -15,22 +21,3 @@ dependencies = [
"libxtst",
"readline",
]
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_XC_AUTOTYPE=OFF
-DWITH_XC_UPDATECHECK=OFF
-DKEEPASSXC_BUILD_TYPE=Release
-DWITH_APP_BUNDLE=OFF
"${COOKBOOK_SOURCE}"
)
cookbook_configure
"""

View File

@ -1,25 +1,11 @@
#TODO probably wrong script, see https://github.com/avast/retdec#process
#TODO not compiled or tested
# build instructions: https://github.com/avast/retdec#process
[source]
git = "https://github.com/avast/retdec"
rev = "53e55b4b26e9b843787f0e06d867441e32b1604e"
[build]
template = "custom"
template = "cmake"
dependencies = [
"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
"""