febrezo

A flatpak sample

Jun 25th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. {
  2. "app-id": "com.febrezo.FlatpakTest",
  3. "runtime": "org.freedesktop.Platform",
  4. "runtime-version": "19.08",
  5. "sdk": "org.freedesktop.Sdk",
  6. "command": "hello.sh",
  7. "finish-args" : [
  8. "--share=network",
  9. "--share=ipc",
  10. "--socket=fallback-x11",
  11. "--socket=wayland"
  12. ],
  13. "modules": [
  14. {
  15. "name": "python-faces",
  16. "buildsystem": "simple",
  17. "build-commands": [
  18. "/usr/bin/pip3 install face_recognition --disable-pip-version-check --prefix=/app --verbose"
  19. ],
  20. "build-options": {
  21. "build-args": [
  22. "--share=network"
  23. ]
  24. },
  25. "sources": [],
  26. "post-install": []
  27. },
  28. {
  29. "name": "hello",
  30. "buildsystem": "simple",
  31. "build-commands": [
  32. "install -D hello.sh /app/bin/hello.sh"
  33. ],
  34. "sources": [
  35. {
  36. "type": "file",
  37. "path": "hello.sh"
  38. }
  39. ]
  40. }
  41. ]
  42. }
Add Comment
Please, Sign In to add comment