Skip to content

Commit 0568549

Browse files
authored
mcpp:plugins 0.14.0: runtime data beside the program, Qt's own translations, and rules-qt-xim-base (#475)
1 parent 2863bb1 commit 0568549

1 file changed

Lines changed: 38 additions & 4 deletions

File tree

‎pkgs/m/mcpp.plugins.lua‎

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,25 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.13.1", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.14.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.14.0 (same mcpp floor) places the files a program reads at run time
12+
-- beside it, so `mcpp run` finds them and `mcpp pack` carries them: each file
13+
-- is produced by an action that names it as an output and is then deployed.
14+
-- `deps-archive` extracts a zip the project keeps (its central directory lists
15+
-- the members while the build program runs; `cmake -E tar` from `xim:cmake`
16+
-- extracts it); `deps-vcpkg` and `deps-cmake` take `options::deploy`, files of
17+
-- the installed prefix; `rules-qt` takes `translations::qt_languages`, Qt's
18+
-- own strings, which `lconvert` combines for the linked modules into
19+
-- `qt_<language>.qm` as windeployqt does. `rules-qt-xim-base` declares
20+
-- `xim:qt-base` -- qtbase, qttools, qttranslations and the QtQml library
21+
-- lupdate loads -- about a third of `xim:qt`'s download.
22+
-- mcpp-community/mcpp-plugins#31.
23+
--
1124
-- 0.13.1 (same mcpp floor): `rules-qt` runs `lupdate` as an action whose
1225
-- output is the `.ts` file it rewrites. 0.13.0 declared the `.ts` file's
1326
-- directory as a `prepare` output, which for a `.ts` kept in the package root
@@ -563,6 +576,13 @@ package = {
563576

564577
xpm = {
565578
linux = {
579+
["0.14.0"] = {
580+
url = {
581+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
582+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.14.0/mcpp-plugins-0.14.0.tar.gz",
583+
},
584+
sha256 = "fd5220adb891445d840d0963ba1f7347d2124f27ead0b14bb96db40719e37917",
585+
},
566586
["0.13.1"] = {
567587
url = {
568588
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.1.tar.gz",
@@ -766,9 +786,16 @@ package = {
766786
},
767787
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
768788
},
769-
["latest"] = { ref = "0.13.1" },
789+
["latest"] = { ref = "0.14.0" },
770790
},
771791
macosx = {
792+
["0.14.0"] = {
793+
url = {
794+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
795+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.14.0/mcpp-plugins-0.14.0.tar.gz",
796+
},
797+
sha256 = "fd5220adb891445d840d0963ba1f7347d2124f27ead0b14bb96db40719e37917",
798+
},
772799
["0.13.1"] = {
773800
url = {
774801
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.1.tar.gz",
@@ -972,9 +999,16 @@ package = {
972999
},
9731000
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
9741001
},
975-
["latest"] = { ref = "0.13.1" },
1002+
["latest"] = { ref = "0.14.0" },
9761003
},
9771004
windows = {
1005+
["0.14.0"] = {
1006+
url = {
1007+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.14.0.tar.gz",
1008+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.14.0/mcpp-plugins-0.14.0.tar.gz",
1009+
},
1010+
sha256 = "fd5220adb891445d840d0963ba1f7347d2124f27ead0b14bb96db40719e37917",
1011+
},
9781012
["0.13.1"] = {
9791013
url = {
9801014
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.1.tar.gz",
@@ -1178,7 +1212,7 @@ package = {
11781212
},
11791213
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
11801214
},
1181-
["latest"] = { ref = "0.13.1" },
1215+
["latest"] = { ref = "0.14.0" },
11821216
},
11831217
},
11841218

0 commit comments

Comments
 (0)