Skip to content

Commit 18e6f6f

Browse files
authored
mcpp:plugins 0.11.0: dist-apk takes Kotlin, libraries, archives and a Maven graph; dist-apple takes Info.plist entries and an iOS device (#430)
1 parent 0d278e9 commit 18e6f6f

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.10.1", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.11.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.11.0 (same mcpp floor): `dist-apk` compiles Kotlin beside Java
12+
-- (`options::kotlin_sources`; `xim:kotlin` comes with the `dist-apk-kotlin`
13+
-- feature), links the R classes a project's code reads, and takes Android
14+
-- libraries from source (`options::libraries`), local archives
15+
-- (`options::aars`, `options::jars`) and Maven coordinates resolved into a lock
16+
-- file by `xim:coursier` (the `dist-apk-maven` feature; only
17+
-- `MCPP_DIST_APK_MAVEN=update` and `=fetch` reach the network). Library
18+
-- manifests are merged by a stated subset, and `options::sign = false` writes
19+
-- an unsigned package. `dist-apple` adds a project's Info.plist entries
20+
-- (`options::info_plist`), embeds a provisioning profile on the iOS device row,
21+
-- and runs a device bundle through `devicectl-run` (`xim:apple-device-tools`).
22+
-- The Android build host is Linux: mcpp does not link an Android row on a
23+
-- macOS host yet (mcpp#647). mcpp-community/mcpp-plugins#26.
24+
--
1125
-- 0.10.1 (same mcpp floor): `dist-wix` installs the staged tree, not the
1226
-- program alone. The files `mcpp pack` stages beside the program -- deployed
1327
-- data, resolved DLLs; for a PE program at the root of the tree -- are named
@@ -494,6 +508,13 @@ package = {
494508

495509
xpm = {
496510
linux = {
511+
["0.11.0"] = {
512+
url = {
513+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
514+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.0/mcpp-plugins-0.11.0.tar.gz",
515+
},
516+
sha256 = "bb58b43b7161bdc77e750124f9d676aad342a4f2299e4f165c508ffae6be5cd2",
517+
},
497518
["0.10.1"] = {
498519
url = {
499520
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.10.1.tar.gz",
@@ -662,9 +683,16 @@ package = {
662683
},
663684
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
664685
},
665-
["latest"] = { ref = "0.10.1" },
686+
["latest"] = { ref = "0.11.0" },
666687
},
667688
macosx = {
689+
["0.11.0"] = {
690+
url = {
691+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
692+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.0/mcpp-plugins-0.11.0.tar.gz",
693+
},
694+
sha256 = "bb58b43b7161bdc77e750124f9d676aad342a4f2299e4f165c508ffae6be5cd2",
695+
},
668696
["0.10.1"] = {
669697
url = {
670698
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.10.1.tar.gz",
@@ -833,9 +861,16 @@ package = {
833861
},
834862
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
835863
},
836-
["latest"] = { ref = "0.10.1" },
864+
["latest"] = { ref = "0.11.0" },
837865
},
838866
windows = {
867+
["0.11.0"] = {
868+
url = {
869+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
870+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.0/mcpp-plugins-0.11.0.tar.gz",
871+
},
872+
sha256 = "bb58b43b7161bdc77e750124f9d676aad342a4f2299e4f165c508ffae6be5cd2",
873+
},
839874
["0.10.1"] = {
840875
url = {
841876
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.10.1.tar.gz",
@@ -1004,7 +1039,7 @@ package = {
10041039
},
10051040
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
10061041
},
1007-
["latest"] = { ref = "0.10.1" },
1042+
["latest"] = { ref = "0.11.0" },
10081043
},
10091044
},
10101045

0 commit comments

Comments
 (0)