From a54a7e04f6b45c0b5d7f2feee23d710289a5077f Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 10 May 2026 03:30:18 +0800 Subject: [PATCH] feat: add mcpplibs.xpkg@0.0.39 (libxpkg) C++23 reference implementation of the xpkg V1 spec. Five modules under the mcpplibs.xpkg.* namespace (root + loader + index + executor + lua_stdlib) build into a single libxpkg.a. Depends on mcpplibs.capi.lua@0.0.3 indexed in this same registry. Tarball: https://github.com/openxlings/libxpkg/archive/refs/tags/v0.0.39.tar.gz SHA256: 292d6a85da95b3615cc96f8e2e64dbe7767d059d8a8e9422bbc72db648f81f71 --- pkgs/m/mcpplibs.xpkg.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/m/mcpplibs.xpkg.lua diff --git a/pkgs/m/mcpplibs.xpkg.lua b/pkgs/m/mcpplibs.xpkg.lua new file mode 100644 index 0000000..46438c4 --- /dev/null +++ b/pkgs/m/mcpplibs.xpkg.lua @@ -0,0 +1,32 @@ +-- Form A descriptor: the upstream repo ships its own mcpp.toml from +-- v0.0.39 onwards, so we omit the `mcpp` field — mcpp default-look-up +-- finds /libxpkg-/mcpp.toml inside the GitHub tarball wrap. +package = { + spec = "1", + name = "mcpplibs.xpkg", + description = "C++23 reference implementation of the xpkg V1 spec — `import mcpplibs.xpkg;`", + licenses = {"Apache-2.0"}, + repo = "https://github.com/openxlings/libxpkg", + type = "package", + + xpm = { + linux = { + ["0.0.39"] = { + url = "https://github.com/openxlings/libxpkg/archive/refs/tags/v0.0.39.tar.gz", + sha256 = "292d6a85da95b3615cc96f8e2e64dbe7767d059d8a8e9422bbc72db648f81f71", + }, + }, + macosx = { + ["0.0.39"] = { + url = "https://github.com/openxlings/libxpkg/archive/refs/tags/v0.0.39.tar.gz", + sha256 = "292d6a85da95b3615cc96f8e2e64dbe7767d059d8a8e9422bbc72db648f81f71", + }, + }, + windows = { + ["0.0.39"] = { + url = "https://github.com/openxlings/libxpkg/archive/refs/tags/v0.0.39.tar.gz", + sha256 = "292d6a85da95b3615cc96f8e2e64dbe7767d059d8a8e9422bbc72db648f81f71", + }, + }, + }, +}