Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update libsdl to 2.30.5 #4639

Merged
merged 3 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/l/libsdl/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion packages/x/xtrans/xmake.lua
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
5 changes: 4 additions & 1 deletion scripts/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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+")
Expand All @@ -239,7 +242,7 @@ function get_modified_packages()
end
end
end
return packages
return table.unique(packages)
end

-- the main entry
Expand Down
Loading