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,31 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
post_install = [ '''python -m compileall -d /usr/lib "$DESTDIR/usr/lib"''', '''python -O -m compileall -d /usr/lib "$DESTDIR/usr/lib"''', '''python -m sphinx -b html docs "$DESTDIR/usr/share/doc/pycairo/html"''', '''rm -r "$DESTDIR/usr/share/doc/pycairo/html/.doctrees"''' ]
|
||||
split-docs = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"python-sphinx",
|
||||
"python-sphinx_rtd_theme",
|
||||
]
|
||||
runtime = [
|
||||
"cairo",
|
||||
"python",
|
||||
]
|
||||
test = [ "python-pytest" ]
|
||||
|
||||
[package]
|
||||
description = "Python bindings for the cairo graphics library"
|
||||
homepage = "https://pycairo.readthedocs.io/en/latest/"
|
||||
license = "LGPL-2.1-Only OR MPL-1.1"
|
||||
name = "python-cairo"
|
||||
version = "1.29.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "f3f7fde97325cae80224c09f12564ef58d0d0f655da0e3b040f5807bd5bd3142"
|
||||
url = "https://github.com/pygobject/pycairo/releases/download/v$version/pycairo-$version.tar.gz"
|
||||
Reference in New Issue
Block a user