# libxcvt 0.1.3 — genera modelines VESA CVT (libxcvt.so + binario cvt). Campaña KDE (ADR 0011): sustrato
# de kwin (pkg_check_modules(libxcvt>=0.1.1) REQUIRED, cálculo de timings de modos en el backend DRM).
# Meson, sin deps externas (sólo libm). Las man pages se generan con configure_file (sin asciidoc/xmlto).
name    = "libxcvt"
version = "0.1.3"
license = "MIT"

[source]
tarball = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/archive/libxcvt-0.1.3/libxcvt-libxcvt-0.1.3.tar.gz"
sha256  = "5edaa65f5abd94ae12030b52fda66828eb8a41396aa9c02fd2c6210445fff61e"

[build]
compiler    = "zig-cc"
target      = "x86_64-linux-musl"
link        = "dynamic"
zig_version = "0.13.0"

[build.phases]
configure = "meson setup output --prefix=/usr --buildtype=release"
compile   = "ninja -C output"
install   = "DESTDIR=/out ninja -C output install"

[deps]
build = ["meson", "samurai", "python3", "pkgconf"]
