Files
piper/org.freedesktop.Piper.json
Peter Hutterer 1e426df58e flatpak: sync the flatpak JSON file with the one from flathub
This bumps us 3 GNOME versions up, and updates some of the other
dependencies too.
2023-07-13 08:45:15 +10:00

69 lines
2.2 KiB
JSON

{
"app-id": "org.freedesktop.Piper",
"runtime": "org.gnome.Platform",
"runtime-version": "43",
"sdk": "org.gnome.Sdk",
"command": "piper",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--system-talk-name=org.freedesktop.ratbag1",
"--device=dri"
],
"modules": [
{
"name": "python-evdev",
"buildsystem": "simple",
"build-commands": [
"pip3 install --prefix=/app --no-deps ."
],
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/dd/49/d75ac71f54c6c32ac3c63828541740db74d9c764a82496be97b82314d355/evdev-1.6.0.tar.gz",
"sha256": "ecfa01b5c84f7e8c6ced3367ac95288f43cd84efbfd7dd7d0cdbfc0d18c87a6a"
}
]
},
{
"name": "python-lxml",
"buildsystem": "simple",
"ensure-writable": [
"/app/lib/python*/site-packages/easy-install.pth",
"/app/lib/python*/site-packages/setuptools.pth",
"/lib/python*/site-packages/easy-install.pth",
"/lib/python*/site-packages/setuptools.pth"
],
"build-commands": [
"python3 setup.py build --with-cython",
"python3 setup.py install --prefix=/app --root=/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/lxml/lxml.git",
"tag": "lxml-4.9.1"
},
{
"type": "shell",
"commands": [
"sed -i 's/if not platform_/if not dirs/' setup.py"
]
}
]
},
{
"name": "Piper",
"buildsystem": "meson",
"config-opts": [ "-Druntime-dependency-checks=false" ],
"sources": [
{
"type": "git",
"url": "https://github.com/libratbag/piper"
}
]
}
]
}