|
|
@ -3,15 +3,17 @@ package("yy-thunks") |
|
|
|
set_description("Fix DecodePointer, EncodePointer,RegDeleteKeyEx etc. APIs not found in Windows XP RTM.") |
|
|
|
set_description("Fix DecodePointer, EncodePointer,RegDeleteKeyEx etc. APIs not found in Windows XP RTM.") |
|
|
|
set_license("MIT") |
|
|
|
set_license("MIT") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_urls("https://github.com/Chuyu-Team/YY-Thunks/releases/download/v$(version)/YY-Thunks-$(version)-Objs.zip") |
|
|
|
add_urls("https://github.com/Chuyu-Team/YY-Thunks/releases/download/v$(version)/YY-Thunks-$(version)-Binary.zip") |
|
|
|
add_urls("https://github.com/Chuyu-Team/YY-Thunks/releases/download/v$(version)/YY-Thunks-$(version)-Binary.zip") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_versions("1.1.4", "f9850a35d1f2b0cae15e64da516de0ec5e798c060b320e91788aa33b853e85ba") |
|
|
|
|
|
|
|
add_versions("1.1.1", "fe79e309aa42a58794609e06382632a0b768a1193a6bb5aad0bddd4264712aba") |
|
|
|
add_versions("1.0.9", "216b88757f28075d3d8c0363139e870d49ba84458fc10a0f094f264ebf0a302c") |
|
|
|
add_versions("1.0.9", "216b88757f28075d3d8c0363139e870d49ba84458fc10a0f094f264ebf0a302c") |
|
|
|
add_versions("1.0.7", "3607a79ac37f141cbcbf00aaea8d82a4c2628d81d8dad9e2a4dce4c8c17a025b") |
|
|
|
add_versions("1.0.7", "3607a79ac37f141cbcbf00aaea8d82a4c2628d81d8dad9e2a4dce4c8c17a025b") |
|
|
|
|
|
|
|
|
|
|
|
on_install("windows|x64", "windows|x86", function (package) |
|
|
|
on_install("windows|x64", "windows|x86", "mingw", "msys", function (package) |
|
|
|
import("core.tool.toolchain") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- check vs version |
|
|
|
-- check vs version |
|
|
|
local vs = toolchain.load("msvc"):config("vs") |
|
|
|
local vs = package:toolchain("msvc"):config("vs") |
|
|
|
if vs and tonumber(vs) < 2005 then |
|
|
|
if vs and tonumber(vs) < 2005 then |
|
|
|
raise("YY-Thunks only supports VS2008 or later versions") |
|
|
|
raise("YY-Thunks only supports VS2008 or later versions") |
|
|
|
end |
|
|
|
end |
|
|
@ -23,6 +25,7 @@ package("yy-thunks") |
|
|
|
else |
|
|
|
else |
|
|
|
raise("Unsupported architecture!") |
|
|
|
raise("Unsupported architecture!") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
os.trycp("YY.Depends.Analyzer.exe", package:installdir("bin")) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
|
on_test(function (package) |
|
|
|
on_test(function (package) |
|
|
|