protobuf-cpp url adjust (#3709)

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua
pull/3714/head
c8ef 8 months ago committed by GitHub
parent be98ba9596
commit 32fae29e84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      packages/p/protobuf-cpp/xmake.lua

@ -3,8 +3,14 @@ package("protobuf-cpp")
set_homepage("https://developers.google.com/protocol-buffers/")
set_description("Google's data interchange format for cpp")
add_urls("https://github.com/protocolbuffers/protobuf/releases/download/v$(version)/protobuf-cpp-$(version).zip")
add_urls("https://github.com/protocolbuffers/protobuf/releases/download/v$(version)/protobuf-$(version).zip")
add_urls("https://github.com/protocolbuffers/protobuf/releases/download/v$(version)", {version = function (version)
if version:le("3.19.4") then
return version .. "/protobuf-cpp-" .. version .. ".zip"
else
return version .. "/protobuf-" .. version .. ".zip"
end
end})
add_versions("3.8.0", "91ea92a8c37825bd502d96af9054064694899c5c7ecea21b8d11b1b5e7e993b5")
add_versions("3.12.0", "da826a3c48a9cae879928202d6fe06afb15aaee129e9035d6510cc776ddfa925")
add_versions("3.12.3", "74da289e0d0c24b2cb097f30fdc09fa30754175fd5ebb34fae4032c6d95d4ce3")

Loading…
Cancel
Save