gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 815Rust 56Shell 37Markdown 291229 Definitions

⎇ 7008d0446bfac3d4072f308c3901c33020674e2b recipes/libtiff.toml TOML · 23 lines · 1.1 KB History raw

Etapa G (clib): gradúa 15 libs C ya publicadas — incoming-clib → recipes/ 7008d0446 · sergio ·

1# libtiff 4.7.0 — loader TIFF (gdk de GTK4 lo exige hard, junto a png/jpeg). cmake static.
2# Solo zlib+jpeg; el resto de codecs opcionales OFF (evita autodetectar .so del rootfs Alpine).
3name    = "libtiff"
4version = "4.7.0"
5
6[source]
7tarball = "https://download.osgeo.org/libtiff/tiff-4.7.0.tar.gz"
8sha256  = "67160e3457365ab96c5b3286a0903aa6e78bdc44c4bc737d2e486bcecb6ba976"
9
10[build]
11compiler = "zig-cc"
12target   = "x86_64-linux-musl"
13link     = "static"
14
15[build.phases]
16configure = "cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -Dtiff-tools=OFF -Dtiff-tests=OFF -Dtiff-contrib=OFF -Dtiff-docs=OFF -Dzlib=ON -Djpeg=ON -Dlzma=OFF -Dzstd=OFF -Dwebp=OFF -Djbig=OFF -Dlerc=OFF -Dlibdeflate=OFF -Dcxx=OFF"
17# solo el target de la lib (tiff_mkg3states es un helper de build que linkea .so → falla en static; la
18# tabla fax ya viene pre-generada en el tarball, no hace falta el helper).
19compile   = "cmake --build build --target tiff"
20install   = "DESTDIR=/out cmake --install build"
21
22[deps]
23build = ["cmake", "zlib", "libjpeg-turbo"]