From e9cae4a61300175cb6c9e975ade9273289c0e089 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 27 Dec 2024 01:14:29 +0000 Subject: [PATCH 1/2] Update quickjs-ng to v0.8.0 --- packages/q/quickjs-ng/xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/q/quickjs-ng/xmake.lua b/packages/q/quickjs-ng/xmake.lua index d80cf11431b..8dc2f16d8ef 100644 --- a/packages/q/quickjs-ng/xmake.lua +++ b/packages/q/quickjs-ng/xmake.lua @@ -6,6 +6,7 @@ package("quickjs-ng") add_urls("https://github.com/quickjs-ng/quickjs/archive/refs/tags/$(version).tar.gz", "https://github.com/quickjs-ng/quickjs.git", {submodules = false}) + add_versions("v0.8.0", "7e60e1e0dcd07d25664331308a2f4aee2a88d60d85896e828d25df7c3d40204e") add_versions("v0.7.0", "46c45cc2ed174474765dac8e41062998d92c4dd5fd779624da4073d6cd430eeb") add_versions("v0.6.1", "276edbb30896cdf2eee12a8bdb5b9c1cc2734eac8c898de6d52268ae201e614d") add_versions("v0.5.0", "41212a6fb84bfe07d61772c02513734b7a06465843ba8f76f1ce1e5df866f489") From 8cc102301194a8968d803bc1b65b689f005d51e6 Mon Sep 17 00:00:00 2001 From: star9029 Date: Fri, 27 Dec 2024 14:30:13 +0800 Subject: [PATCH 2/2] improve check --- packages/q/quickjs-ng/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/q/quickjs-ng/xmake.lua b/packages/q/quickjs-ng/xmake.lua index 8dc2f16d8ef..98913c30d45 100644 --- a/packages/q/quickjs-ng/xmake.lua +++ b/packages/q/quickjs-ng/xmake.lua @@ -28,6 +28,11 @@ package("quickjs-ng") assert(minor and minor >= 30, "package(quickjs-ng) require vs_toolset >= 14.3") end end) + on_check("wasm", "cross", function (package) + if package:version():eq("0.8.0") then + raise("package(quickjs-ng v0.8.0) unsupported platform") + end + end) end on_install("!iphoneos and (!windows or windows|!x86)", function (package)