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,39 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
skip_tests = true
|
||||
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/pygobject/html"''', '''rm -r "$DESTDIR/usr/share/doc/pygobject/html/.doctrees"''' ]
|
||||
split-docs = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"python-cairo",
|
||||
"python-pydata-sphinx-theme",
|
||||
"python-setuptools",
|
||||
"python-sphinx",
|
||||
"python-sphinx-copybutton",
|
||||
"git"
|
||||
]
|
||||
optional = ["python-cairo"]
|
||||
runtime = [
|
||||
"glib2",
|
||||
"glibc",
|
||||
"gobject-introspection",
|
||||
"libffi",
|
||||
"python",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Python bindings for GLib/GObject/GIO/GTK"
|
||||
homepage = "https://pygobject.gnome.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "python-gobject"
|
||||
version = "3.56.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://gitlab.gnome.org/GNOME/pygobject.git#$version"
|
||||
|
||||
Reference in New Issue
Block a user