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…
licencias: resolver -only vs -or-later CON LA CITA — y tres «pruebas» que no probaban nada
1# libqalculate 5.6.0 — motor de cálculo (libqalculate.so) del applet calculadora / krunner-calculator.
2# Autotools C++.
3#
4# ⛔ BLOCKER (deps no selladas): configure.ac EXIGE gmp.h + libgmp (__gmpz_init) y mpfr.h + libmpfr
5# (mpfr_get_version) — ambos FATAL si faltan. NO hay recetas gmp/mpfr en el catálogo. Se necesitan:
6# gmp 6.3.0 → https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
7# mpfr 4.2.2 → https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz (depende de gmp)
8# Opcionales apagados: --without-icu (icu-uc), --without-libcurl (tasas de cambio online),
9# --disable-textport (evita readline/ncurses; sólo lib, sin binario qalc). libxml-2.0 REQUIRED → libxml2 sellado ✓.
10name = "libqalculate"
11version = "5.6.0"
12license = "GPL-2.0-or-later"
13
14[source]
15tarball = "https://github.com/Qalculate/libqalculate/releases/download/v5.6.0/libqalculate-5.6.0.tar.gz"
16sha256 = "2d44130954f327e595af74d0d035f450b560e7997eceb9af16503456d5196f39"
17
18[build]
19compiler = "zig-cc"
20target = "x86_64-linux-musl"
21link = "dynamic"
22flags = []
23
24[build.phases]
25configure = '''
26PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
27./configure --prefix=/usr --disable-static --enable-shared \
28 --without-icu --without-libcurl --disable-textport --disable-nls
29'''
30compile = "make -j\"$(nproc)\""
31install = "make install DESTDIR=/out"
32
33[deps]
34build = ["pkgconf", "python3", "libxml2", "zlib", "gmp", "mpfr", "intltool", "gettext-tiny", "perl", "perl-xml-parser"]