Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run these two commands: flatpak-builder --user build-dir --force-clean org.freedesktop.Piper.json flatpak-builder --run build-dir ~/code/ratbag/piper/org.freedesktop.Piper.json piper And marvel at the piper flatpak. This is the minimal version, it starts with two gtk-related complains that may be fixable. The env "XSLT_CONFIG": "pkg-config libxslt" is required for lxml to build, see lxml PR 259 on github. Fixes #202 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"app-id": "org.freedesktop.Piper", | ||
"runtime": "org.gnome.Platform", | ||
"runtime-version": "3.28", | ||
"sdk": "org.gnome.Sdk", | ||
"command": "piper", | ||
"finish-args": [ | ||
"--share=ipc", | ||
"--socket=x11", | ||
"--socket=wayland", | ||
"--filesystem=xdg-run/dconf", | ||
"--filesystem=~/.config/dconf:ro", | ||
"--talk-name=ca.desrt.dconf", | ||
"--env=DCONF_USER_CONFIG_DIR=.config/dconf", | ||
"--system-talk-name=org.freedesktop.ratbag1" | ||
], | ||
"modules": [ | ||
{ | ||
"name": "python-evdev", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"pip3 install --prefix=/app --no-deps ." | ||
], | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://files.pythonhosted.org/packages/da/c9/8f88a77b6f934d60e3ff0e210ed7a15f47a2e9c05e4c8fea67d99d670ab1/evdev-1.0.0.tar.gz", | ||
"sha256": "be0288ef1125bf1c539bb8f3079ef4aa5fb813af28f0c5294a4e744ee554398a" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "python-lxml", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"pip3 install --prefix=/app --no-deps ." | ||
], | ||
"build-options": { | ||
"env": { | ||
"XSLT_CONFIG": "pkg-config libxslt" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://files.pythonhosted.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/lxml-4.2.4.tar.gz", | ||
"sha256": "e2afbe403090f5893e254958d02875e0732975e73c4c0cdd33c1f009a61963ca" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Piper", | ||
"buildsystem": "meson", | ||
"config-opts": [ "-Dignore-ratbagd-dependency=true" ], | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/libratbag/piper" | ||
} | ||
] | ||
} | ||
] | ||
} |