{ "name": "fmt", "version": "12.2.0", "summary": "{fmt}: C++ text formatting (headers and a static archive; MariaDB builds against it)", "category": "library", "license": "MIT", "homepage": "https://fmt.dev/", "source": { "url": "https://github.com/fmtlib/fmt/archive/refs/tags/12.2.0.tar.gz", "sha256": "8b852bb5aa6e7d8564f9e81394055395dd1d1936d38dfd3a17792a02bebd7af0" }, "watch": {"kind": "github-tag", "repo": "fmtlib/fmt", "tag_regex": "^([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "v=$(sed -n 's/^#define FMT_VERSION \\([0-9]*\\)$/\\1/p' include/fmt/base.h) && [ \"$v\" = 120200 ] && test -f lib/libfmt.a && ! ls lib/libfmt.so* > /dev/null 2>&1 && t=$(mktemp -d) && printf '#include \\n#include \\n#include \\nint main() { fmt::dynamic_format_arg_store s; s.push_back(4321); std::string a = fmt::vformat(\"{}\", s), b = fmt::format(\"{:>6}|{:.3f}|{:x}\", \"bvs\", 3.14159, 255); return a != \"4321\" || b != \" bvs|3.142|ff\"; }\\n' > \"$t/t.cc\" && ${CC%gcc}g++ -std=c++17 -I\"$PREFIX/include\" $CPPFLAGS $CFLAGS -DFMT_HEADER_ONLY \"$t/t.cc\" -o \"$t/h\" $LDFLAGS && \"$t/h\" && ${CC%gcc}g++ -std=c++17 -I\"$PREFIX/include\" $CPPFLAGS $CFLAGS \"$t/t.cc\" -o \"$t/l\" -L\"$PREFIX/lib\" $LDFLAGS -lfmt && \"$t/l\"; r=$?; rm -rf -- \"${t:?}\"; [ $r = 0 ] && echo \"fmt 12.2.0: headers and a static libfmt; a dynamic argument store and format specs, header-only and linked\"; exit $r" }