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,42 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Ddoc=true"]
|
||||
post_compile = ['python "tools/generate-pkginfo.py" $version PKG-INFO']
|
||||
post_install = [
|
||||
'python -m compileall -d /usr/lib "$DESTDIR/usr/lib"',
|
||||
'python -O -m compileall -d /usr/lib "$DESTDIR/usr/lib"',
|
||||
"""install -Dm644 -t "$DESTDIR$(python -c 'import site; print(site.getsitepackages()[0])')/dbus_python.egg-info/" PKG-INFO""",
|
||||
]
|
||||
skip_tests = true # bash
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"python-gobject",
|
||||
"python-pyproject-metadata",
|
||||
"python-sphinx",
|
||||
"python-sphinx_rtd_theme",
|
||||
"python-sphinxcontrib-jquery",
|
||||
"python-tomli",
|
||||
]
|
||||
optional = ["python-gobject"]
|
||||
runtime = [
|
||||
"dbus",
|
||||
"glibc",
|
||||
"glib2",
|
||||
"python",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Python bindings for D-Bus"
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/dbus/"
|
||||
license = "MIT"
|
||||
name = "python-dbus"
|
||||
version = "1.4.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://gitlab.freedesktop.org/dbus/dbus-python.git#dbus-python-$version"
|
||||
Reference in New Issue
Block a user