diff --git a/packages/l/libsdl/xmake.lua b/packages/l/libsdl/xmake.lua index 8d3410b68..0428512f0 100644 --- a/packages/l/libsdl/xmake.lua +++ b/packages/l/libsdl/xmake.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") diff --git a/packages/x/xtrans/xmake.lua b/packages/x/xtrans/xmake.lua index e570af41a..65871bce9 100644 --- a/packages/x/xtrans/xmake.lua +++ b/packages/x/xtrans/xmake.lua @@ -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") diff --git a/scripts/test.lua b/scripts/test.lua index 76d2d90aa..15196826d 100644 --- a/scripts/test.lua +++ b/scripts/test.lua @@ -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