Auto-update libsdl to 2.30.5 (#4639)

* Update libsdl to 2.30.5

* Update test.lua

* Update xmake.lua

---------

Co-authored-by: ruki <waruqi@gmail.com>
pull/4647/head
Jérôme Leclercq 4 months ago committed by GitHub
parent 04657d892f
commit 988dcba9fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/l/libsdl/xmake.lua
  2. 2
      packages/x/xtrans/xmake.lua
  3. 5
      scripts/test.lua

@ -41,6 +41,7 @@ package("libsdl")
add_versions("archive:2.30.2", "09a822abf6e97f80d09cf9c46115faebb3476b0d56c1c035aec8ec3f88382ae7")
add_versions("archive:2.30.3", "c5d78a9e0346c6695f03df8ba25e5e111a1e23c8aefa8372a1c5a0dd79acaf10")
add_versions("archive:2.30.4", "292d5e2f897aa3acb6b365b605c3249c92916fbe7eba4a2e57573ada3855d7cb")
add_versions("archive:2.30.5", "688d3da2bf7e887d0ba8e0f81c926119f85029544f4f6da8dea96db70f9d28e3")
add_versions("github:2.0.8", "release-2.0.8")
add_versions("github:2.0.12", "release-2.0.12")
add_versions("github:2.0.14", "release-2.0.14")
@ -67,6 +68,7 @@ package("libsdl")
add_versions("github:2.30.2", "release-2.30.2")
add_versions("github:2.30.3", "release-2.30.3")
add_versions("github:2.30.4", "release-2.30.4")
add_versions("github:2.30.5", "release-2.30.5")
add_patches("2.30.0", path.join(os.scriptdir(), "patches", "2.30.0", "fix_mingw.patch"), "ab54eebc2e58d88653b257bc5b48a232c5fb0e6fad5d63661b6388215a7b0cd0")

@ -1,10 +1,10 @@
package("xtrans")
set_kind("library", {headeronly = true})
set_homepage("https://www.x.org/")
set_description("X.Org: X Network Transport layer shared code")
set_urls("https://www.x.org/archive/individual/lib/xtrans-$(version).tar.gz")
add_versions("1.4.0", "48ed850ce772fef1b44ca23639b0a57e38884045ed2cbb18ab137ef33ec713f9")
-- add_versions("1.5.0", "a806f8a92f879dcd0146f3f1153fdffe845f2fc0df9b1a26c19312b7b0a29c86")
if is_plat("linux") then
add_extsources("apt::xtrans-dev", "pacman::xtrans")

@ -229,6 +229,9 @@ function get_modified_packages()
end
elseif line:startswith("+") and line:find("add_versions") then
local version = line:match("add_versions%(\"(.-)\"")
if version:find(":", 1, true) then
version = version:split(":")[2]
end
if #packages > 0 and version then
local lastpackage = packages[#packages]
local splitinfo = lastpackage:split("%s+")
@ -239,7 +242,7 @@ function get_modified_packages()
end
end
end
return packages
return table.unique(packages)
end
-- the main entry

Loading…
Cancel
Save