# gettext-tiny 0.3.2 — implementación mínima de las herramientas gettext (msgfmt/xgettext/msgmerge +
# libintl) pensada para musl. Destraba el módulo i18n de meson (appstream/libadwaita lo necesitan para
# i18n.gettext()). LIBINTL=MUSL: usa la libintl que ya trae musl. Reemplaza al gettext "1.0" roto del import.
name    = "gettext-tiny"
version = "0.3.2"

[source]
tarball = "https://github.com/sabotage-linux/gettext-tiny/archive/refs/tags/v0.3.2.tar.gz"
sha256  = "29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "static"

[build.phases]
configure = "true"
compile   = "make -j4 LIBINTL=MUSL CC='zig cc'"
install   = "make install LIBINTL=MUSL prefix=/usr DESTDIR=/out"

[deps]
build = ["make"]
