Improve many library recipes and update i2pd recipe

This commit is contained in:
Ribbon 2026-03-20 20:41:36 -03:00
parent 4f2db785fb
commit 91e0399691
27 changed files with 102 additions and 55 deletions

View File

@ -1,5 +1,10 @@
#TODO missing script for building, lacking build instructions
#TODO not compiled or tested
[source]
tar = "https://kerberos.org/dist/krb5/1.21/krb5-1.21.2.tar.gz"
tar = "https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz"
[build]
template = "custom"
script = """
COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/src"
DYNAMIC_INIT
cookbook_configure
"""

View File

@ -1,7 +1,13 @@
#TODO not compiled or tested
# build instructions: https://docs.lammps.org/Build_cmake.html
[source]
git = "https://github.com/lammps/lammps"
rev = "27e8d0f19cfd60ff513828af74d07d2c8f3c4451"
tar = "https://github.com/lammps/lammps/releases/download/stable_22Jul2025_update3/lammps-src-22Jul2025_update3.tar.gz"
[build]
template = "cmake"
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DENABLE_TESTING=False
)
cookbook_cmake "${COOKBOOK_SOURCE}"/cmake
"""

View File

@ -2,7 +2,8 @@
# build instructions: https://gitlab.com/inkscape/lib2geom#building
[source]
git = "https://gitlab.com/inkscape/lib2geom"
rev = "18fc32f9972dfaee597055b3226c5b7ef3bfbb4c"
branch = "1.4.x"
shallow_clone = true
[build]
template = "cmake"
dependencies = [

View File

@ -2,6 +2,7 @@
# build instructions: https://aomedia.googlesource.com/aom/#basic-build
[source]
git = "https://aomedia.googlesource.com/aom"
rev = "aca387522ccc0a1775716923d5489dd2d4b1e628"
rev = "v3.13.2"
shallow_clone = true
[build]
template = "cmake"

View File

@ -1,5 +1,6 @@
#TODO missing script for "make", see https://github.com/P-H-C/phc-winner-argon2#usage
#TODO missing script for gnu make: https://github.com/P-H-C/phc-winner-argon2#usage
[source]
git = "https://github.com/P-H-C/phc-winner-argon2"
shallow_clone = true
[build]
template = "custom"

View File

@ -17,8 +17,7 @@ dependencies = [
"pcre2",
"zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_configure --disable-asm
"""
template = "configure"
configureflags = [
"--disable-asm"
]

View File

@ -2,6 +2,10 @@
# build instructions: https://github.com/google/brotli#cmake
[source]
git = "https://github.com/google/brotli"
rev = "ed738e842d2fbdf2d6459e39267a633c4a9b2f5d"
branch = "v1.2"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBROTLI_DISABLE_TESTS=TRUE"
]

View File

@ -1,9 +1,17 @@
#TODO not compiled or tested
#TODO require authentication to fetch source, user and password is: libcamera
# build instructions: https://libcamera.org/getting-started.html
[source]
git = "https://git.libcamera.org/libcamera/libcamera"
rev = "v0.7.0"
shallow_clone = true
[build]
template = "meson"
mesonflags = [
"-Ddocumentation=false"
"-Dpycamera=false",
"-Dtracing=false",
"-Dudev=false",
]
dependencies = [
"libyaml",
"libevdev",

View File

@ -1,4 +1,4 @@
#TODO missing script for "make" (maybe need the Go), see https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/README#n20
#TODO missing script for gnu make (maybe need Go compiler): https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/README#n20
[source]
tar = "https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.69.tar.xz"
[build]

View File

@ -1,6 +1,5 @@
#TODO missing script for building
#TODO not compiled or tested
[source]
git = "https://github.com/rocky/libcdio-paranoia"
rev = "db4dfff9e11c516ae35d87e568f511002ddae9d7"
tar = "https://github.com/libcdio/libcdio-paranoia/releases/download/release-10.2%2B2.0.2/libcdio-paranoia-10.2+2.0.2.tar.bz2"
[build]
template = "custom"
template = "configure"

View File

@ -1,6 +1,5 @@
#TODO missing script for building, see https://git.savannah.gnu.org/cgit/libcdio.git/tree/INSTALL
#TODO not compiled or tested
[source]
git = "https://git.savannah.gnu.org/git/libcdio.git"
rev = "9c7a2779846da161279bc1501e83c849cf89a594"
tar = "https://github.com/libcdio/libcdio/releases/download/2.3.0/libcdio-2.3.0.tar.bz2"
[build]
template = "custom"
template = "configure"

View File

@ -1,6 +1,6 @@
#TODO make all dependencies work
#TODO not compiled or tested
[source]
tar = "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.7.tar.xz"
tar = "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.8.tar.xz"
[build]
template = "configure"
dependencies = [

View File

@ -1,4 +1,4 @@
#TODO make gnutls work
#TODO not compiled or tested
[source]
tar = "https://github.com/OpenPrinting/cups/releases/download/v2.4.7/cups-2.4.7-source.tar.gz"
[build]

View File

@ -2,11 +2,8 @@
[source]
tar = "https://github.com/strukturag/libde265/releases/download/v1.0.14/libde265-1.0.14.tar.gz"
[build]
template = "custom"
script = """
COOKBOOK_CONFIGURE_FLAGS+=(
--disable-dec265
--disable-sherlock265
)
cookbook_configure
"""
template = "configure"
configureflags = [
"--disable-dec265",
"--disable-sherlock265",
]

View File

@ -1,9 +1,12 @@
#TODO not compiled or tested
# build instructions: https://gitlab.freedesktop.org/libdecor/libdecor#build--install
[source]
tar = "https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/libdecor-0.1.1.tar.xz"
tar = "https://gitlab.freedesktop.org/libdecor/libdecor/-/releases/0.2.5/downloads/libdecor-0.2.5.tar.xz"
[build]
template = "meson"
mesonflags = [
"-Ddbus=disabled"
]
dependencies = [
"pango",
"libwayland",

View File

@ -1,6 +1,6 @@
#TODO not compiled or tested
# build instructions: https://github.com/ebiggers/libdeflate#building
[source]
tar = "https://github.com/ebiggers/libdeflate/releases/download/v1.19/libdeflate-1.19.tar.gz"
tar = "https://github.com/ebiggers/libdeflate/releases/download/v1.25/libdeflate-1.25.tar.gz"
[build]
template = "cmake"

View File

@ -1,5 +1,10 @@
#TODO missing "configure" file, see https://github.com/williamh/dotconf/blob/master/INSTALL
#TODO not compiled or tested
[source]
git = "https://github.com/williamh/dotconf"
rev = "v1.4.1"
shallow_clone = true
script = """
autotools_recursive_regenerate
"""
[build]
template = "custom"
template = "configure"

View File

@ -1,6 +1,7 @@
#TODO missing script for building, see https://github.com/google/double-conversion#building
#TODO not compiled or tested
[source]
git = "https://github.com/google/double-conversion"
rev = "4f7a25d8ced8c7cf6eee6fd09d6788eaa23c9afe"
rev = "v3.4.0"
shallow_clone = true
[build]
template = "custom"
template = "cmake"

View File

@ -1,6 +1,6 @@
#TODO not compiled or tested
# build instructions: https://github.com/Matroska-Org/libebml#building-and-installing
[source]
tar = "https://dl.matroska.org/downloads/libebml/libebml-1.4.4.tar.xz"
tar = "https://dl.matroska.org/downloads/libebml/libebml-1.4.5.tar.xz"
[build]
template = "cmake"

View File

@ -2,6 +2,10 @@
# build instructions: https://gitlab.com/libeigen/eigen/-/blob/master/INSTALL?ref_type=heads
[source]
git = "https://gitlab.com/libeigen/eigen"
rev = "3147391d946bb4b6c68edd901f2add6ac1f31f8c"
branch = "5.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_TESTING=OFF"
]

View File

@ -6,8 +6,4 @@ autotools_recursive_regenerate
"""
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_configure
"""
template = "configure"

View File

@ -1,4 +1,4 @@
#TODO compilation error
#TODO: promote
[source]
tar = "https://www.freedesktop.org/software/libevdev/libevdev-1.12.1.tar.xz"
blake3 = "d4be83e6f6cb4972cf5052f5a046eb820aa529427202f043a9d95b945e73edcd"

View File

@ -1,9 +1,13 @@
#TODO compiles, not tested
[source]
tar = "https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz"
[build]
template = "cmake"
cmakeflags = [
"-DEVENT__DISABLE_DEBUG_MODE=ON",
"-DEVENT__DISABLE_TESTS=ON",
"-DEVENT__DISABLE_REGRESS=ON",
]
dependencies = [
"openssl3",
]

View File

@ -2,6 +2,11 @@
# build instructions: https://fmt.dev/latest/usage.html#building-the-library
[source]
git = "https://github.com/fmtlib/fmt"
rev = "f5e54359df4c26b6230fc61d38aa294581393084"
rev = "12.1.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DFMT_DOC=OFF",
"-DFMT_TEST=OFF",
]

View File

@ -4,4 +4,4 @@
[source]
tar = "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz"
[build]
template = "meson"
template = "configure"

View File

@ -2,6 +2,10 @@
# build instructions: https://github.com/libfuse/libfuse#installation
#TODO require a redox daemon (userspace equivalent of the Linux kernel module)
[source]
tar = "https://github.com/libfuse/libfuse/releases/download/fuse-3.16.2/fuse-3.16.2.tar.gz"
tar = "https://github.com/libfuse/libfuse/releases/download/fuse-3.18.2/fuse-3.18.2.tar.gz"
[build]
template = "meson"
mesonflags = [
"-Dtests=false",
"-Denable-io-uring=false",
]

View File

@ -5,9 +5,14 @@ git = "https://github.com/PurpleI2P/i2pd"
rev = "2.59.0"
shallow_clone = true
[build]
template = "cmake"
template = "custom"
dependencies = [
"boost",
"openssl3",
"zlib",
]
script = """
COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/build"
DYNAMIC_INIT
cookbook_cmake
"""