Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

### Added

- **mcpp.plugins 0.24.0。** `dist-apk` 在 Windows 与 macOS 主机上与 Linux 一样打包:`d8`、`apksigner`、bundletool、Kotlin 编译器
与 coursier 改由 JDK 的 `java` 直接运行其 jar,流水线的 `/bin/sh` 辅助脚本合为一个由 `java` 运行的 Java 源文件,任何步骤都
不再需要 shell;CI 在 macOS 与 Windows 行打包 level 0 与 level 1。Windows 上 NDK 的 libc++ 模块源来自
`xim:android-ndk-libcxx-modules`。`latest` 指向 0.24.0(mcpp-community/mcpp-plugins#58)。
- **mcpp.plugins 0.23.0。** 新增 `dist-deb` 与 `dist-rpm`:`mcpp pack --pkg-format deb|rpm` 把暂存树装到 `/opt/<name>`,并加上
`/usr/bin` 启动器、桌面项与图标;由 `xim:nfpm` 写出,仅在打包时按需安装,主机无需 `dpkg-deb` 或 `rpmbuild`;未变的树重新打包得到
相同字节。包的下限仍为 mcpp 2026.10.30.1;`latest` 指向 0.23.0(mcpp-community/mcpp-plugins#56)。
Expand Down
34 changes: 30 additions & 4 deletions pkgs/m/mcpp.plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
-- each member selected by a feature.
--
-- [dependencies.mcpp]
-- plugins = { version = "0.23.1", features = ["rules-spirv"], host-module = true }
-- plugins = { version = "0.24.0", features = ["rules-spirv"], host-module = true }
--
-- // build.mcpp
-- import mcpp;
-- import mcpp.rules.spirv;
--
-- 0.24.0 (package floor mcpp 2026.10.30.1): dist-apk packs on Windows and
-- macOS hosts as on Linux. d8, apksigner, bundletool, the Kotlin compiler and
-- coursier run from their jars on the JDK's java, and the pipeline's /bin/sh
-- helpers are one Java source file that java runs, so no step needs a shell.
--
-- 0.23.1 (package floor mcpp 2026.10.30.1): dist-apk takes a Java or
-- Kotlin root a build program generated inside its output directory as an
-- input of the javac action, and declares no re-run glob there, which never
Expand Down Expand Up @@ -686,6 +691,13 @@ package = {

xpm = {
linux = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.24.0/mcpp-plugins-0.24.0.tar.gz",
},
sha256 = "9f152c3a7e6a0b19d1b2c73c8271e90577c3387eba239acef28e24c47490a4c9",
},
["0.23.1"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz",
Expand Down Expand Up @@ -1001,9 +1013,16 @@ package = {
},
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
},
["latest"] = { ref = "0.23.1" },
["latest"] = { ref = "0.24.0" },
},
macosx = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.24.0/mcpp-plugins-0.24.0.tar.gz",
},
sha256 = "9f152c3a7e6a0b19d1b2c73c8271e90577c3387eba239acef28e24c47490a4c9",
},
["0.23.1"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz",
Expand Down Expand Up @@ -1319,9 +1338,16 @@ package = {
},
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
},
["latest"] = { ref = "0.23.1" },
["latest"] = { ref = "0.24.0" },
},
windows = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.24.0/mcpp-plugins-0.24.0.tar.gz",
},
sha256 = "9f152c3a7e6a0b19d1b2c73c8271e90577c3387eba239acef28e24c47490a4c9",
},
["0.23.1"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz",
Expand Down Expand Up @@ -1637,7 +1663,7 @@ package = {
},
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
},
["latest"] = { ref = "0.23.1" },
["latest"] = { ref = "0.24.0" },
},
},

Expand Down
Loading