# libqalculate 5.6.0 — motor de cálculo (libqalculate.so) del applet calculadora / krunner-calculator. # Autotools C++. # # ⛔ BLOCKER (deps no selladas): configure.ac EXIGE gmp.h + libgmp (__gmpz_init) y mpfr.h + libmpfr # (mpfr_get_version) — ambos FATAL si faltan. NO hay recetas gmp/mpfr en el catálogo. Se necesitan: # gmp 6.3.0 → https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz # mpfr 4.2.2 → https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz (depende de gmp) # Opcionales apagados: --without-icu (icu-uc), --without-libcurl (tasas de cambio online), # --disable-textport (evita readline/ncurses; sólo lib, sin binario qalc). libxml-2.0 REQUIRED → libxml2 sellado ✓. name = "libqalculate" version = "5.6.0" license = "GPL-2.0-or-later" [source] tarball = "https://github.com/Qalculate/libqalculate/releases/download/v5.6.0/libqalculate-5.6.0.tar.gz" sha256 = "2d44130954f327e595af74d0d035f450b560e7997eceb9af16503456d5196f39" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = ''' PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ ./configure --prefix=/usr --disable-static --enable-shared \ --without-icu --without-libcurl --disable-textport --disable-nls ''' compile = "make -j\"$(nproc)\"" install = "make install DESTDIR=/out" [deps] build = ["pkgconf", "python3", "libxml2", "zlib", "gmp", "mpfr", "intltool", "gettext-tiny", "perl", "perl-xml-parser"]