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,58 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--enable-python3=yes",
|
||||
"--disable-python",
|
||||
"--enable-lefty",
|
||||
]
|
||||
post_install = ['cd "$DESTDIR/usr/lib64/tcl8.6" && rm -fr graphviz && ln -s ../graphviz/tcl graphviz']
|
||||
skip_tests = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"swig",
|
||||
"guile",
|
||||
"lua",
|
||||
"perl",
|
||||
"python",
|
||||
"r",
|
||||
"tk",
|
||||
]
|
||||
optional = [
|
||||
"guile",
|
||||
"lua",
|
||||
"perl",
|
||||
"python",
|
||||
"r",
|
||||
"tcl",
|
||||
"xterm",
|
||||
]
|
||||
runtime = [
|
||||
"libtool",
|
||||
"pango",
|
||||
"gts",
|
||||
"gsfonts",
|
||||
"libwebp"
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [
|
||||
"postinstall.sh",
|
||||
"postupdate.sh",
|
||||
"preremove.sh",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Graph visualization software"
|
||||
homepage = "https://www.graphviz.org/"
|
||||
license = "EPL-2.0"
|
||||
name = "graphviz"
|
||||
version = "14.1.4"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
post_extract = ["./autogen.sh NOCONFIG"]
|
||||
sha256 = "b32cdb82663f8e19d8cbe3ab5593faa824e0a464d61712727f5c838c3a7ca862"
|
||||
url = "https://gitlab.com/graphviz/graphviz/-/archive/$version/$name-$version.tar.gz"
|
||||
Reference in New Issue
Block a user