snapcraft.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. name: flameshot
  2. version: git
  3. icon: img/app/flameshot.svg
  4. summary: Powerful yet simple to use screenshot software
  5. description: |
  6. A powerful open source screenshot and annotation tool for Linux, Flameshot
  7. has a varied set of markup tools available, which include Freehand drawing,
  8. Lines, Arrows, Boxes, Circles, Highlighting, Blur. Additionally, you can
  9. customise the color, size and/or thickness of many of these image annotation
  10. tools.
  11. grade: devel # must be 'stable' to release into candidate/stable channels
  12. confinement: devmode # use 'strict' once you have the right plugs and slots
  13. apps:
  14. flameshot:
  15. command: desktop-launch ${SNAP}/usr/bin/flameshot
  16. environment:
  17. LC_ALL: C.UTF-8
  18. slots: [ dbus-svc ]
  19. plugs:
  20. - desktop
  21. - desktop-legacy
  22. - home
  23. - network
  24. - network-bind
  25. - opengl
  26. - pulseaudio
  27. - unity7
  28. - wayland
  29. - x11
  30. parts:
  31. flameshot:
  32. after:
  33. - desktop-qt5
  34. - indicator-qt5
  35. plugin: qmake
  36. qt-version: qt5
  37. options:
  38. - CONFIG+=packaging
  39. source: .
  40. source-type: git
  41. build-packages:
  42. - qt5-default
  43. - qttools5-dev-tools
  44. - libqt5svg5-dev
  45. stage-packages:
  46. - dbus-x11
  47. - libgtk2.0-0
  48. - openssl
  49. - ca-certificates
  50. desktop-qt5:
  51. stage: [ -./**/lib/*/qt5/**/libappmenu-qt5.so ]
  52. slots:
  53. # Depending on in which environment we're running we either need
  54. # to use the system or session DBus so we also need to have one
  55. # slot for each.
  56. dbus-svc:
  57. interface: dbus
  58. bus: session
  59. name: org.dharkael.Flameshot