Improve many library recipes

This commit is contained in:
Ribbon 2026-03-15 10:23:46 -03:00
parent 8be0d4d0a9
commit 739233d206
23 changed files with 87 additions and 43 deletions

View File

@ -2,7 +2,7 @@
#TODO determine minimum dependencies from cmake log
[source]
git = "https://github.com/OpenShot/libopenshot-audio"
rev = "v0.4.0"
rev = "v0.5.0"
shallow_clone = true
[build]
template = "cmake"

View File

@ -2,12 +2,16 @@
# build instructions: https://github.com/ximion/appstream#build--install
#TODO missing dependencies
[source]
tar = "https://www.freedesktop.org/software/appstream/releases/AppStream-1.1.1.tar.xz"
tar = "https://www.freedesktop.org/software/appstream/releases/AppStream-1.1.2.tar.xz"
[build]
template = "meson"
mesonflags = [
"-Dsystemd=false",
"-Dgir=false",
"-Dman=off",
]
dependencies = [
"glib",
"gobject-introspection",
"libxml2",
"curl",
]

View File

@ -1,6 +1,12 @@
#TODO not compiled or tested
# build instructions: https://gitlab.gnome.org/GNOME/babl/-/blob/master/INSTALL.in?ref_type=heads
[source]
tar = "https://download.gimp.org/pub/babl/0.1/babl-0.1.106.tar.xz"
tar = "https://download.gimp.org/pub/babl/0.1/babl-0.1.124.tar.xz"
[build]
template = "meson"
mesonflags = [
"-Dwith-docs=false",
"-Denable-gir=false",
"-Denable-vapi=false",
"-Dgi-docgen=false",
]

View File

@ -2,6 +2,11 @@
# build instructions: https://github.com/bulletphysics/bullet3#build-instructions-for-bullet-using-premake-you-can-also-use-cmake-instead
[source]
git = "https://github.com/bulletphysics/bullet3"
rev = "2c204c49e56ed15ec5fcfa71d199ab6d6570b3f5"
rev = "3.25"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_UNIT_TESTS=OFF",
"-DBUILD_EXTRAS=OFF",
]

View File

@ -1,15 +1,19 @@
#TODO not compiled or tested
#TODO discover minimum dependencies from cmake log
# build instructions: https://git.dcmtk.org/?p=dcmtk.git;a=blob;f=INSTALL;h=97087f9a05e65040264d90027912c736958e67f3;hb=HEAD#l667
[source]
tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz"
tar = "https://dicom.offis.de/download/dcmtk/dcmtk370/dcmtk-3.7.0.tar.gz"
[build]
template = "cmake"
dependencies = [
"libiconv",
"libicu",
"libpng",
"libxml2",
"libtiff",
"zlib",
"openjpeg",
cmakeflags = [
"-DDCMTK_WITH_DOXYGEN=OFF"
]
#dependencies = [
#"libiconv",
#"libicu",
#"libpng",
#"libxml2",
#"libtiff",
#"zlib",
#"openjpeg",
#]

View File

@ -1,5 +1,6 @@
#TODO probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt
# commented out recipes are optional but recommended, needs to be determined
#TODO: not compiled or tested
# probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt
# commented out dependencies are optional but recommended, needs to be determined
[source]
tar = "https://github.com/fltk/fltk/releases/download/release-1.3.11/fltk-1.3.11-source.tar.bz2"
[build]

View File

@ -1,5 +1,5 @@
#TODO probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt
# commented out recipes are optional but recommended, needs to be determined
# commented out dependencies are optional but recommended, needs to be determined
[source]
tar = "https://github.com/fltk/fltk/releases/download/release-1.4.4/fltk-1.4.4-source.tar.bz2"
[build]

View File

@ -1,7 +1,11 @@
[source]
git = "https://github.com/vancegroup/freealut"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_TESTS=OFF"
]
dependencies = [
"openal"
]

View File

@ -1,5 +1,5 @@
[source]
tar="https://ftp.gnu.org/gnu/gdbm/gdbm-1.23.tar.gz"
tar= "https://ftp.gnu.org/gnu/gdbm/gdbm-1.23.tar.gz"
patches = [
"redox.patch",
]

View File

@ -2,5 +2,7 @@
# build instructions: https://github.com/gflags/gflags/blob/master/INSTALL.md#compiling-the-source-code-with-cmake
[source]
git = "https://github.com/gflags/gflags"
rev = "v2.3.0"
shallow_clone = true
[build]
template = "cmake"

View File

@ -1,12 +1,12 @@
# TODO Needs testing, but it compiles now
#TODO: compiled but not tested
[source]
git = "https://github.com/nigels-com/glew"
# rev = "9fb23c3e61cbd2d581e33ff7d8579b572b38ee26"
tar = "https://github.com/nigels-com/glew/releases/download/glew-2.3.1/glew-2.3.1.tgz"
[build]
template = "custom"
dependencies = ["mesa", "mesa-glu"]
dependencies = [
"mesa",
"mesa-glu",
]
script = """
# Build system is a standalone Makefile
COOKBOOK_CONFIGURE="true"

View File

@ -2,9 +2,15 @@
# build instructions: https://www.glfw.org/docs/latest/compile.html
[source]
git = "https://github.com/glfw/glfw"
rev = "e2c92645460f680fd272fd2eed591efb2be7dc31"
rev = "3.4"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DGLFW_BUILD_TESTS=OFF",
"-DGLFW_BUILD_DOCS=OFF",
"-DGLFW_BUILD_WAYLAND=OFF",
]
dependencies = [
"libxkbcommon",
]

View File

@ -1,4 +1,4 @@
#TODO wait the fix of libgcrypt compilation
#TODO not compiled or tested
[source]
tar = "https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.20.0.tar.bz2"
[build]

View File

@ -2,7 +2,7 @@
# build instructions: https://github.com/grpc/grpc/blob/v1.76.x/BUILDING.md
[source]
git = "https://github.com/grpc/grpc"
branch = "v1.76.x"
branch = "v1.78.x"
shallow_clone = true
[build]
template = "cmake"

View File

@ -1,4 +1,5 @@
#TODO in case of errors, see https://github.com/HDFGroup/hdf5/blob/develop/release_docs/INSTALL
#TODO not compiled or tested
# in case of errors, read: https://github.com/HDFGroup/hdf5/blob/develop/release_docs/INSTALL
[source]
tar = "https://github.com/HDFGroup/hdf5/releases/download/hdf5-1_14_3/hdf5-1_14_3.tar.gz"
[build]

View File

@ -1,7 +1,7 @@
#TODO: promote
[source]
tar = "https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.400.tar.gz"
blake3 = "d56a0863502e528025ddb84b0968a87a713365d91927c92bfe35842d47387e77"
[build]
template = "custom"
script = """

View File

@ -1,4 +1,4 @@
#TODO make libevdev work
#TODO not compiled or tested
[source]
tar = "https://download.open-mpi.org/release/hwloc/v2.9/hwloc-2.9.3.tar.bz2"
[build]

View File

@ -8,7 +8,8 @@ autotools_recursive_regenerate
"""
[build]
template = "custom"
template = "configure"
configureflags = ["--without-x-shm-fd"]
dependencies = [
"freetype2",
"libjpeg",
@ -21,7 +22,3 @@ dependencies = [
"x11proto",
"zlib",
]
script = """
DYNAMIC_INIT
cookbook_configure --without-x-shm-fd
"""

View File

@ -2,6 +2,10 @@
# build instructions: https://github.com/benhoyt/inih#meson-notes
[source]
git = "https://github.com/benhoyt/inih"
rev = "9cecf0643da0846e77f64d10a126d9f48b9e05e8"
rev = "r62"
shallow_clone = true
[build]
template = "meson"
mesonflags = [
"-Dtests=false"
]

View File

@ -1,5 +1,7 @@
#TODO missing script for a "make", see https://github.com/ndevilla/iniparser#ii---building-project
#TODO not compiled or tested
[source]
git = "https://github.com/ndevilla/iniparser"
rev = "v4.2.6"
shallow_clone = true
[build]
template = "custom"
template = "cmake"

View File

@ -2,6 +2,7 @@
# build instructions: https://github.com/json-c/json-c#build-instructions--
[source]
git = "https://github.com/json-c/json-c"
rev = "b4c371fa0cbc4dcbaccc359ce9e957a22988fb34"
branch = "json-c-0.18"
shallow_clone = true
[build]
template = "cmake"

View File

@ -3,10 +3,16 @@
# build instructions: https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions
[source]
git = "https://github.com/OpenShot/libopenshot"
rev = "v0.4.0"
rev = "v0.5.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DENABLE_PARALLEL_CTEST=OFF",
"-DENABLE_LIB_DOCS=OFF",
"-DUSE_HW_ACCEL=OFF",
"-DENABLE_OPENCV=OFF",
]
# dependencies = [
# "libopenshot-audio",
# "ffmpeg6",
@ -14,7 +20,7 @@ template = "cmake"
# "qt5-svg",
# "qt5-multimedia",
# "libzmq",
# "opencv4",
# #"opencv4",
# "protobuf",
# "babl",
# "imagemagick",

View File

@ -1,6 +1,7 @@
#TODO error with the redox target
#TODO redox target error
[source]
git = "https://chromium.googlesource.com/webm/libvpx"
rev = "10b9492dcf05b652e2e4b370e205bd605d421972"
rev = "v1.16.0"
shallow_clone = true
[build]
template = "configure"