Skip to content

Commit cd637b8

Browse files
authored
mcpp:plugins 0.15.0: mechanisms in features, build.mcpp-first configuration, the runtime closure in the payload, deps without mcpp-deps (#476)
1 parent b7d186b commit cd637b8

1 file changed

Lines changed: 39 additions & 4 deletions

File tree

‎pkgs/m/mcpp.plugins.lua‎

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,26 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.14.0", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.15.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.15.0 (same mcpp floor): features state mechanisms, and `build.mcpp` is
12+
-- where a project configures them. `rules-qt-xim`, `rules-qt-xim-base` and
13+
-- `rules-qt-xim-addons` are removed: `rules-qt` takes the SDK from
14+
-- `options::root`, then `QT_ROOT_DIR`, then a Qt payload the project declares
15+
-- in its own `[xlings]` table at the version it chooses, and the payload
16+
-- carries its runtime closure (Linux: libdbus, xcb and the rest under the
17+
-- xlings loader; Windows: the VC++ runtime). The deps members run the
18+
-- installer itself -- `vcpkg install`, or `cmake -P` over a script they write
19+
-- -- so the `mcpp-deps` tool is gone and an edge names no `tools`. On Linux
20+
-- under a libc++ toolchain, ports and CMake subprojects build with mcpp's
21+
-- clang; each vcpkg triplet is its own installation
22+
-- (`<install root>/<triplet>/<triplet>`). docs/plugin-development.md states
23+
-- the conventions. mcpp-community/mcpp-plugins#32.
24+
--
1125
-- 0.14.0 (same mcpp floor) places the files a program reads at run time
1226
-- beside it, so `mcpp run` finds them and `mcpp pack` carries them: each file
1327
-- is produced by an action that names it as an output and is then deployed.
@@ -576,6 +590,13 @@ package = {
576590

577591
xpm = {
578592
linux = {
593+
["0.15.0"] = {
594+
url = {
595+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.15.0.tar.gz",
596+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.15.0/mcpp-plugins-0.15.0.tar.gz",
597+
},
598+
sha256 = "2173fca40c72475fbb4682ff3dd97b5062d0895580e20f236f891eab59f5e2e5",
599+
},
579600
["0.14.0"] = {
580601
url = {
581602
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
@@ -786,9 +807,16 @@ package = {
786807
},
787808
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
788809
},
789-
["latest"] = { ref = "0.14.0" },
810+
["latest"] = { ref = "0.15.0" },
790811
},
791812
macosx = {
813+
["0.15.0"] = {
814+
url = {
815+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.15.0.tar.gz",
816+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.15.0/mcpp-plugins-0.15.0.tar.gz",
817+
},
818+
sha256 = "2173fca40c72475fbb4682ff3dd97b5062d0895580e20f236f891eab59f5e2e5",
819+
},
792820
["0.14.0"] = {
793821
url = {
794822
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
@@ -999,9 +1027,16 @@ package = {
9991027
},
10001028
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
10011029
},
1002-
["latest"] = { ref = "0.14.0" },
1030+
["latest"] = { ref = "0.15.0" },
10031031
},
10041032
windows = {
1033+
["0.15.0"] = {
1034+
url = {
1035+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.15.0.tar.gz",
1036+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.15.0/mcpp-plugins-0.15.0.tar.gz",
1037+
},
1038+
sha256 = "2173fca40c72475fbb4682ff3dd97b5062d0895580e20f236f891eab59f5e2e5",
1039+
},
10051040
["0.14.0"] = {
10061041
url = {
10071042
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
@@ -1212,7 +1247,7 @@ package = {
12121247
},
12131248
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
12141249
},
1215-
["latest"] = { ref = "0.14.0" },
1250+
["latest"] = { ref = "0.15.0" },
12161251
},
12171252
},
12181253

0 commit comments

Comments
 (0)