Add more recipes

This commit is contained in:
Ribbon 2026-08-21 19:49:53 -03:00
parent 6ce53a245a
commit 1d39565aab
11 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#TODO discover how to build: https://gitlab.com/freepascal.org/fpc/source
# build instructions: https://wiki.freepascal.org/Installing_the_Free_Pascal_Compiler#Installing_from_source_on_BSD.2FLinux
[source]
tar = "https://sourceforge.net/projects/freepascal/files/Source/3.2.2/fpc-3.2.2.source.tar.gz/download"
[build]
template = "custom"
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
"${COOKBOOK_MAKE}" all -j "${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr"
"""

View File

@ -0,0 +1,7 @@
#TODO compile and test
[source]
git = "https://github.com/rust-glancer/rust-glancer"
shallow_clone = true
[build]
template = "cargo"
cargopackages = ["rust-glancer"]

View File

@ -0,0 +1,17 @@
#TODO compile and test
# build instructions: https://github.com/dosbox-staging/dosbox-staging/blob/main/docs/build-linux.md
[source]
git = "https://github.com/dosbox-staging/dosbox-staging"
rev = "v0.82.2"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DOPT_OPENGL=OFF",
"-DOPT_TESTS=OFF",
"-DUSE_SYSTEM_LIBS=ON",
]
dependencies = [
"sdl3",
"sdl3-image",
]

View File

@ -0,0 +1,21 @@
#TODO compile and test
# build and setup instructions: https://github.com/OpenXRay/xray-16/wiki/%5BEN%5D-How-to-build-and-setup-on-Linux-and-MacOS
[source]
git = "https://github.com/OpenXRay/xray-16"
rev = "29030f81b137f6ea5365b3d71f2b588490832f5b"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DMEMORY_ALLOCATOR=standard",
]
dependencies = [
"openal",
"libogg",
"libtheora",
"libvorbis",
"sdl2",
"lzo",
"libjpeg-turbo",
#"mimalloc",
]

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz"
[build]
template = "configure"

View File

@ -0,0 +1,11 @@
#TODO compile and test
[source]
git = "https://github.com/ValveSoftware/GameNetworkingSockets"
rev = "v1.6.0"
shallow_clone = true
[build]
template = "cmake"
dependencies = [
"openssl3",
"protobuf",
]

View File

@ -0,0 +1,13 @@
#TODO compile and test
[source]
tar = "https://www.libsdl.org/projects/SDL_image/release/SDL3_image-3.4.4.tar.gz"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DSDLIMAGE_VENDORED=OFF",
"-DSDLIMAGE_SAMPLES=OFF",
]
dependencies = [
"sdl3",
]

View File

@ -0,0 +1,12 @@
#TODO compile and test
[source]
tar = "https://www.libsdl.org/projects/SDL_ttf/release/SDL3_ttf-3.2.2.tar.gz"
[build]
template = "cmake"
cmakeflags = [
"-DSDLTTF_VENDORED=OFF",
"-DSDLTTF_SAMPLES=OFF",
]
dependencies = [
"sdl3",
]

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "http://downloads.sourceforge.net/djvu/djvulibre-3.5.30.tar.gz"
[build]
template = "configure"

View File

@ -0,0 +1,11 @@
#TODO compile and test
[source]
tar = "https://casper.mupdf.com/downloads/archive/mupdf-1.28.2-source.tar.gz"
[build]
template = "custom"
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
"${COOKBOOK_MAKE}" libs -j "${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install-libs PREFIX="${COOKBOOK_STAGE}/usr"
"""

View File

@ -0,0 +1,7 @@
#TODO determine missing dependencies
[source]
git = "https://github.com/zulip/zulip-terminal"
rev = "5c2b68ef8995d283b4e5dc600a4d51d4cd031763"
shallow_clone = true
[build]
template = "python"