Try to fix more CMake-based recipes

This commit is contained in:
Ribbon 2025-10-12 19:34:06 -03:00
parent ac6ad70ca5
commit 4571365bcc
12 changed files with 43 additions and 194 deletions

View File

@ -1,10 +1,11 @@
#TODO probably wrong branch
#TODO maybe incomplete script, see https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux
#TODO not compiled or tested
# build instructions: https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux
#TODO determine dependencies
# probably wrong branch
[source]
git = "https://github.com/movableink/webkit"
[build]
template = "custom"
template = "cmake"
dependencies = [
"qt5-base",
"qt5-guiaddons",
@ -25,18 +26,3 @@ dependencies = [
"glib",
"gstreamer",
]
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,9 @@
#TODO port to Orbital
#TODO Missing script for GNU Autotools and CMake
#TODO not compiled or tested
# probably wrong template
[source]
tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/single/qt-everywhere-src-6.6.1.tar.xz"
[build]
template = "custom"
template = "cmake"
dependencies = [
"fontconfig",
"freetype2",

View File

@ -1,22 +1,7 @@
#TODO probaly wrong script, see https://mbed-tls.readthedocs.io/en/latest/getting_started/building/#building-with-cmake
# They say that the CMake method is better than GNU make
#TODO not compiled or tested
# build instructions: https://mbed-tls.readthedocs.io/en/latest/getting_started/building/#building-with-cmake
[source]
git = "https://github.com/Mbed-TLS/mbedtls"
rev = "edb8fec9882084344a314368ac7fd957a187519c"
[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 probably wrong script, see https://github.com/Matroska-Org/libmatroska#building-and-installing
#TODO not compiled or tested
# build instructions: https://github.com/Matroska-Org/libmatroska#building-and-installing
[source]
tar = "https://dl.matroska.org/downloads/libmatroska/libmatroska-1.7.1.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"

View File

@ -1,10 +1,10 @@
#TODO maybe incomplete script
#TODO determine dependencies - https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions
#TODO not compiled or tested
#TODO determine dependencies: https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions
[source]
git = "https://github.com/OpenShot/libopenshot"
rev = "3170768e0ccbaad5b2a4696e84dd649738ec1a1b"
[build]
template = "custom"
template = "cmake"
dependencies = [
"libopenshot-audio",
"ffmpeg6",
@ -17,18 +17,3 @@ dependencies = [
"babl",
"imagemagick",
]
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,21 +1,7 @@
#TODO maybe incomplete script, see https://github.com/kimwalisch/primesieve/blob/master/doc/BUILD.md
#TODO not compiled or tested
# build instructions: https://github.com/kimwalisch/primesieve/blob/master/doc/BUILD.md
[source]
git = "https://github.com/kimwalisch/primesieve"
rev = "f3114488ddded8edf2c201e31ad308ed9e6a9f78"
[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,4 +1,5 @@
#TODO probably wrong script, see https://conky.cc/documents/compiling
#TODO not compiled or tested
# build instructions: https://conky.cc/documents/compiling
[source]
git = "https://github.com/brndnmtthws/conky"
rev = "bbdc7081aec27daafca07fc40523335a2ea0a992"
@ -12,17 +13,5 @@ dependencies = [
]
script = """
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,24 +1,10 @@
#TODO probably wrong script, see https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md#on-unix
#TODO not compiled or tested
# build instructions: https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md#on-unix
[source]
tar = "https://github.com/transmission/transmission/releases/download/4.0.6/transmission-4.0.6.tar.xz"
[build]
template = "custom"
template = "cmake"
dependencies = [
"openssl1",
"curl",
]
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,25 +1,11 @@
#TODO probably wrong script, see https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md#on-unix
#TODO not compiled or tested
# build instructions: https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md#on-unix
[source]
tar = "https://github.com/transmission/transmission/releases/download/4.0.6/transmission-4.0.6.tar.xz"
[build]
template = "custom"
template = "cmake"
dependencies = [
"openssl1",
"curl",
"gtk3mm",
]
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,9 @@
#TODO probably wrong script, lacking build instructions
#TODO port to orbital
#TODO not compiled or tested
# lacking build instructions
[source]
tar = "https://github.com/telegramdesktop/tdesktop/releases/download/v4.11.6/tdesktop-4.11.6-full.tar.gz"
tar = "https://github.com/telegramdesktop/tdesktop/releases/download/v6.2.3/tdesktop-6.2.3-full.tar.gz"
[build]
template = "custom"
template = "cmake"
dependencies = [
"qt6-svg",
"qt6-imageformats",
@ -21,18 +21,3 @@ dependencies = [
"libmd",
"libbrotli",
]
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,21 +1,7 @@
#TODO not compiled or tested
#TODO it uses vcpkg for dependency management, see: https://github.com/NickvisionApps/parabolic#building-manually
[source]
git = "https://github.com/NickvisionApps/Parabolic"
rev = "b2188390ce14b83c41c68eef87e833d6fd8b7d2f"
rev = "7309661a25948c56f25383c464a1b284bdeb00e7"
[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,9 +1,13 @@
#TODO probably wrong script, see https://github.com/skyjake/lagrange#how-to-compile
#TODO not compiled or tested
# build instructions: https://github.com/skyjake/lagrange#how-to-compile
#TODO mpg123 dependency broken
[source]
tar = "https://git.skyjake.fi/gemini/lagrange/releases/download/v1.17.4/lagrange-1.17.4.tar.gz"
tar = "https://git.skyjake.fi/gemini/lagrange/releases/download/v1.19.3/lagrange-1.19.3.tar.gz"
[build]
template = "custom"
template = "cmake"
cmakeflags = [
"-DENABLE_MPG123=OFF"
]
dependencies = [
"sdl2",
"openssl1",
@ -12,20 +16,5 @@ dependencies = [
"pcre",
"fribidi",
"libunistring",
#"mpg123",
]
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_MPG123=OFF
"${COOKBOOK_SOURCE}"
)
cookbook_configure
"""