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,40 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--enable-threads",
|
||||
"--disable-rpath",
|
||||
"--enable-64bit",
|
||||
]
|
||||
no-remove-static = true
|
||||
skip_tests = true
|
||||
make-install-targets = [ "install", "install-private-headers" ]
|
||||
post_install = [
|
||||
"ln -sf wish$(printf '%s' \"$version\" | sed 's/\\.[^.]*$//') $DESTDIR/usr/bin/wish",
|
||||
"ln -sf libtk$(printf '%s' \"$version\" | sed 's/\\.[^.]*$//').so $DESTDIR/usr/lib/libtk.so",
|
||||
"cd .. && for dir in compat generic generic/ttk unix; do install -dm755 $DESTDIR/usr/include/tk-private/$dir; install -m644 -t $DESTDIR/usr/include/tk-private/$dir $dir/*.h; done",
|
||||
"sed -e 's#'$SRC_DIR'/tk'$version'/unix#/usr/lib#' -e 's#'$SRC_DIR'/tk'$version'#/usr/include#' -i $DESTDIR/usr/lib/tkConfig.sh",
|
||||
]
|
||||
make-install-vars = [ '''INSTALL_ROOT="$$DESTDIR"''' ]
|
||||
source_subdir = "tk8.6.16/unix"
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"tcl",
|
||||
"libxss",
|
||||
"libxft",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "A windowing toolkit for use with tcl"
|
||||
homepage = "http://tcl.sourceforge.net/"
|
||||
license = "TCL"
|
||||
name = "tk"
|
||||
version = "8.6.16"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "b2:80c1a87c4d8e0f2b57313a0f75568dfa877694dc2e82c64f62013317fbbb23930be3f221648768d382bf7e0cd63bb9318af104bc5fb792df70bd3a6e5be146c4"
|
||||
url = "https://downloads.sourceforge.net/sourceforge/tcl/tk$version-src.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user