Add configuration files and patches for R, SDL2, SDL3, Tk, and Vala
- Introduced `r.toml` for R package configuration, including build flags and dependencies. - Added `sdl2-compat.toml` for SDL2 compatibility layer with SDL3, specifying build and runtime dependencies. - Created a patch for SDL3 to handle cases when XInput2 is not available, ensuring compatibility. - Added `sdl3.toml` for SDL3 configuration, including build flags and dependencies. - Introduced `tk.toml` for Tk configuration, detailing build flags and runtime dependencies. - Added a patch for Vala to ensure POSIX compliance in the test runner script, improving portability.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
[alternatives]
|
||||
provides = ["lua55"]
|
||||
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[dependencies]
|
||||
runtime = ["readline"]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [
|
||||
"paths.patch",
|
||||
"lua.pc",
|
||||
"lua-5.5.0-posixify.patch"
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Powerful lightweight programming language designed for extending applications"
|
||||
homepage = "https://www.lua.org/"
|
||||
license = "MIT"
|
||||
name = "lua"
|
||||
version = "5.5.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
patches = [
|
||||
"paths.patch",
|
||||
"lua-5.5.0-posixify.patch"
|
||||
]
|
||||
post_extract = [
|
||||
"cp -r ../lua-$version ../lua++-$version",
|
||||
'sed "s/%VER%/5.5/g;s/%REL%/$version/g" ../lua.pc > lua.pc',
|
||||
'sed "s/%VER%/5.5/g;s/%REL%/$version/g;s/-llua/-llua++/g" lua.pc > ../lua++-$version/lua++.pc',
|
||||
]
|
||||
sha256 = "57ccc32bbbd005cab75bcc52444052535af691789dba2b9016d5c50640d68b3d"
|
||||
url = "https://www.lua.org/ftp/lua-$version.tar.gz"
|
||||
Reference in New Issue
Block a user