Improve and try to fix more library recipes

This commit is contained in:
Ribbon 2026-03-14 21:15:41 -03:00
parent 3ff7c59742
commit c98d7528fb
18 changed files with 47 additions and 44 deletions

View File

@ -3,5 +3,7 @@
[source]
git = "https://github.com/Qix-/imgui"
branch = "cmake"
shallow_clone = true
[build]
template = "cmake"
dependencies = ["sdl2"]

View File

@ -2,6 +2,7 @@
# build instructions: https://github.com/AOMediaCodec/libavif#build-notes
[source]
git = "https://github.com/AOMediaCodec/libavif"
rev = "ecf2dfc1ef2908e0f4ddb0fdc03dd8db831d8ae7"
rev = "v1.4.0"
shallow_clone = true
[build]
template = "cmake"

View File

@ -4,6 +4,10 @@
tar = "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz"
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_DOCUMENTATION=OFF",
"-DBUILD_TESTING=OFF",
]
dependencies = [
"x265",
"libde265",

View File

@ -2,9 +2,15 @@
# build instructions: https://github.com/libjxl/libjxl/blob/main/BUILDING.md
[source]
git = "https://github.com/libjxl/libjxl"
rev = "954b460768c08a147abf47689ad69b0e7beff65e"
branch = "v0.11.x"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_TESTING=OFF",
"-DJPEGXL_ENABLE_DOXYGEN=OFF",
"-DJPEGXL_ENABLE_MANPAGES=OFF",
]
dependencies = [
"libbrotli",
"libjpeg",

View File

@ -1,12 +1,11 @@
#TODO compilation error
#TODO make libjasper work
[source]
tar = "https://www.libraw.org/data/LibRaw-0.21.1.tar.gz"
[build]
template = "configure"
dependencies = [
"zlib",
#"libjasper",
"libjasper",
"libjpeg",
"liblcms",
]

View File

@ -2,15 +2,12 @@
[source]
tar = "https://github.com/saitoha/libsixel/releases/download/v1.8.6/libsixel-1.8.6.tar.gz"
[build]
template = "custom"
template = "configure"
configureflags = [
"--with-jpeg",
"--with-png",
]
dependencies = [
"libpng",
"libjpeg",
]
script = """
COOKBOOK_CONFIGURE_FLAGS+=(
--with-jpeg
--with-png
)
cookbook_configure
"""

View File

@ -1,3 +1,4 @@
#TODO: promote
[source]
tar = "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0.tar.gz"
blake3 = "8272270920a317b854b059e86c320dbdb5a2032937072bbfd5f3304d601a92cb"
@ -12,8 +13,4 @@ dependencies = [
"libpng",
"libtiff",
]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_configure
"""
template = "configure"

View File

@ -2,5 +2,10 @@
# build instructions: https://chromium.googlesource.com/codecs/libwebp2/#compiling
[source]
git = "https://chromium.googlesource.com/codecs/libwebp2"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DWP2_BUILD_TESTS=OFF",
"-DWP2_INSTALL_TESTS=OFF",
]

View File

@ -2,7 +2,8 @@
# build instructions: https://invent.kde.org/graphics/libkdcraw/-/blob/master/README?ref_type=heads
[source]
git = "https://invent.kde.org/graphics/libkdcraw"
rev = "fbd01409c8009f403bccac6776fe4cfefa57d5bd"
branch = "release/25.12"
shallow_clone = true
[build]
template = "cmake"
dependencies = [

View File

@ -2,6 +2,7 @@
# lacking build instructions
[source]
git = "https://invent.kde.org/sdk/libkomparediff2"
rev = "ea9034ee3e4952862a937255bc6cc4ee392907f6"
branch = "release/25.12"
shallow_clone = true
[build]
template = "cmake"

View File

@ -2,7 +2,8 @@
# build instructions: https://invent.kde.org/graphics/kseexpr#super-impatient-cmake-building-and-installing-guide
[source]
git = "https://invent.kde.org/graphics/kseexpr"
rev = "d834b2dc6a7f452ffca4602f90b709db86a3a630"
rev = "v6.0.0.0"
shallow_clone = true
[build]
template = "cmake"
dependencies = [

View File

@ -3,6 +3,7 @@
[source]
git = "https://github.com/pytorch/pytorch"
branch = "release/2.3"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [

View File

@ -7,5 +7,5 @@ dependencies = [
"libtatsu",
"libplist",
"libusbmuxd",
"openssl1",
"openssl3",
]

View File

@ -1,6 +1,5 @@
#TODO: test again
[source]
git = "https://github.com/c-ares/c-ares"
rev = "d3a507e920e7af18a5efb7f9f1d8044ed4750013" # 1.34.5
tar = "https://github.com/c-ares/c-ares/releases/download/v1.34.6/c-ares-1.34.6.tar.gz"
[build]
template = "cmake"

View File

@ -7,8 +7,5 @@ autotools_recursive_regenerate
"""
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_configure --disable-gssapi
"""
template = "configure"
configureflags = ["--disable-gssapi"]

View File

@ -1,4 +1,4 @@
#TODO missing script for bbv2, see - https://libtorrent.org/building.html
#TODO missing script for bbv2: https://libtorrent.org/building.html
[source]
tar = "https://github.com/arvidn/libtorrent/releases/download/v2.0.11/libtorrent-rasterbar-2.0.11.tar.gz"
[build]

View File

@ -1,6 +1,5 @@
#TODO: test again
[source]
git = "https://github.com/ngtcp2/nghttp3"
rev = "f3eb315feda478cdb4919720a7961c0321e1bd89" # 1.14.0
tar = "https://github.com/ngtcp2/nghttp3/releases/download/v1.15.0/nghttp3-1.15.0.tar.xz"
[build]
template = "cmake"

View File

@ -1,14 +1,7 @@
#TODO: test again
#TODO Maybe need openssl 1.1.1
[source]
git = "https://github.com/ngtcp2/ngtcp2"
rev = "e9fe10e0e8b3ce646fa88b4217864f29b4e013d9" # 1.14.0
tar = "https://github.com/ngtcp2/ngtcp2/releases/download/v1.21.0/ngtcp2-1.21.0.tar.xz"
[build]
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DENABLE_OPENSSL=OFF
)
cookbook_cmake
"""
template = "cmake"
cmakeflags = ["-DENABLE_OPENSSL=OFF"]