diff --git a/subprojects/capstone-v4.wrap b/subprojects/capstone-v4.wrap index a1e260fa8ba..1ee4264244d 100644 --- a/subprojects/capstone-v4.wrap +++ b/subprojects/capstone-v4.wrap @@ -1,6 +1,5 @@ -[wrap-file] -source_url = https://github.com/capstone-engine/capstone/archive/4.0.2.tar.gz -source_filename = 4.0.2.tar.gz -source_hash = 7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a +[wrap-git] +url = https://github.com/capstone-engine/capstone.git +revision = dec87d6190c682227f554f5721cf7b00b58bdad5 patch_directory = capstone-4.0.2 directory = capstone-4.0.2 diff --git a/subprojects/capstone-v5.wrap b/subprojects/capstone-v5.wrap index 433a5e14422..cba3d4aaa7c 100644 --- a/subprojects/capstone-v5.wrap +++ b/subprojects/capstone-v5.wrap @@ -1,6 +1,5 @@ -[wrap-file] -source_url = https://github.com/capstone-engine/capstone/archive/5.0.1.tar.gz -source_filename = capstone-5.0.1.tar.gz -source_hash = 2b9c66915923fdc42e0e32e2a9d7d83d3534a45bb235e163a70047951890c01a +[wrap-git] +url = https://github.com/capstone-engine/capstone.git +revision = ee75e4b9a4fd77939c86786c0ed3cd1697ddb8cf patch_directory = capstone-5.0.1 directory = capstone-5.0.1