Skip to content

Commit 2c268dd

Browse files
committed
mcpp:plugins 0.11.1: dist-apk packs native libraries as the Android Gradle plugin does; dist-appimage takes an SVG icon
1 parent 18e6f6f commit 2c268dd

1 file changed

Lines changed: 32 additions & 4 deletions

File tree

pkgs/m/mcpp.plugins.lua

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.11.0", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.11.1", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.11.1 (same mcpp floor): `dist-apk` strips each native library with the
12+
-- build's own `llvm-strip --strip-unneeded` (`options::keep_debug_symbols`
13+
-- keeps them as staged) and, when the manifest states
14+
-- `android:extractNativeLibs="false"`, stores them uncompressed on a 16 KB
15+
-- page, as the Android Gradle plugin packages them. `dist-appimage` takes an
16+
-- SVG icon as well as a PNG. mcpp-community/mcpp-plugins#27.
17+
--
1118
-- 0.11.0 (same mcpp floor): `dist-apk` compiles Kotlin beside Java
1219
-- (`options::kotlin_sources`; `xim:kotlin` comes with the `dist-apk-kotlin`
1320
-- feature), links the R classes a project's code reads, and takes Android
@@ -508,6 +515,13 @@ package = {
508515

509516
xpm = {
510517
linux = {
518+
["0.11.1"] = {
519+
url = {
520+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz",
521+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.1/mcpp-plugins-0.11.1.tar.gz",
522+
},
523+
sha256 = "8b6f009d747b90789e4d50adfcd45df64962d880c3f96387a1637c04c9239b67",
524+
},
511525
["0.11.0"] = {
512526
url = {
513527
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
@@ -683,9 +697,16 @@ package = {
683697
},
684698
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
685699
},
686-
["latest"] = { ref = "0.11.0" },
700+
["latest"] = { ref = "0.11.1" },
687701
},
688702
macosx = {
703+
["0.11.1"] = {
704+
url = {
705+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz",
706+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.1/mcpp-plugins-0.11.1.tar.gz",
707+
},
708+
sha256 = "8b6f009d747b90789e4d50adfcd45df64962d880c3f96387a1637c04c9239b67",
709+
},
689710
["0.11.0"] = {
690711
url = {
691712
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
@@ -861,9 +882,16 @@ package = {
861882
},
862883
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
863884
},
864-
["latest"] = { ref = "0.11.0" },
885+
["latest"] = { ref = "0.11.1" },
865886
},
866887
windows = {
888+
["0.11.1"] = {
889+
url = {
890+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz",
891+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.11.1/mcpp-plugins-0.11.1.tar.gz",
892+
},
893+
sha256 = "8b6f009d747b90789e4d50adfcd45df64962d880c3f96387a1637c04c9239b67",
894+
},
867895
["0.11.0"] = {
868896
url = {
869897
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.0.tar.gz",
@@ -1039,7 +1067,7 @@ package = {
10391067
},
10401068
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
10411069
},
1042-
["latest"] = { ref = "0.11.0" },
1070+
["latest"] = { ref = "0.11.1" },
10431071
},
10441072
},
10451073

0 commit comments

Comments
 (0)