Add recipes

This commit is contained in:
Ribbon 2024-10-26 10:48:38 +00:00
parent c5d235e579
commit 9a93aab9d1
4 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#TODO maybe incomplete script
# build instructions - https://github.com/performous/performous/wiki/Composer
[source]
git = "https://github.com/performous/composer"
[build]
template = "custom"
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
"""

View File

@ -0,0 +1,41 @@
#TODO maybe incomplete script
# 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"
dependencies = [
"openblas",
"fftw",
"libicu",
"libepoxy",
"sdl2",
"freetype2",
"pango",
"librsvg",
"libxml2",
"ffmpeg6",
"libjpeg",
"portaudio",
"boost",
"nlohmann-json",
"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
"""

View File

@ -0,0 +1,40 @@
#TODO maybe incomplete script
# 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"
dependencies = [
"mesa",
"mesa-glu",
"glew",
"libx11",
"libxtst",
"libxrandr",
"libpng",
"libjpeg",
"zlib",
"bzip2",
"libogg",
"libvorbis",
"pulseaudio",
"libiberty",
"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
"""

View File

@ -0,0 +1,10 @@
#TODO maybe incomplete script
#TODO determine the dependencies
[source]
git = "https://codeberg.org/JakobDev/jdPixelUpscaler"
rev = "05eb4f3a4a9d24b6d818522483d88caa6b201e2e"
[build]
template = "custom"
dependencies = [
"qt6-base",
]