|
@@ -0,0 +1,64 @@
|
|
|
+name: flameshot
|
|
|
+version: git
|
|
|
+icon: img/flameshot.png
|
|
|
+summary: Powerful yet simple to use screenshot software
|
|
|
+description: |
|
|
|
+ A powerful open source screenshot and annotation tool for Linux, Flameshot
|
|
|
+ has a varied set of markup tools available, which include Freehand drawing,
|
|
|
+ Lines, Arrows, Boxes, Circles, Highlighting, Blur. Additionally, you can
|
|
|
+ customise the color, size and/or thickness of many of these image annotation
|
|
|
+ tools.
|
|
|
+
|
|
|
+grade: devel # must be 'stable' to release into candidate/stable channels
|
|
|
+confinement: devmode # use 'strict' once you have the right plugs and slots
|
|
|
+
|
|
|
+
|
|
|
+apps:
|
|
|
+ flameshot:
|
|
|
+ command: desktop-launch ${SNAP}/usr/bin/flameshot
|
|
|
+ environment:
|
|
|
+ LC_ALL: C.UTF-8
|
|
|
+ slots: [ dbus-svc ]
|
|
|
+ plugs:
|
|
|
+ - desktop
|
|
|
+ - desktop-legacy
|
|
|
+ - home
|
|
|
+ - network
|
|
|
+ - network-bind
|
|
|
+ - opengl
|
|
|
+ - pulseaudio
|
|
|
+ - unity7
|
|
|
+ - wayland
|
|
|
+ - x11
|
|
|
+
|
|
|
+parts:
|
|
|
+ flameshot:
|
|
|
+ after:
|
|
|
+ - desktop-qt5
|
|
|
+ - indicator-qt5
|
|
|
+ plugin: qmake
|
|
|
+ qt-version: qt5
|
|
|
+ options:
|
|
|
+ - CONFIG+=packaging
|
|
|
+ source: .
|
|
|
+ source-type: git
|
|
|
+ build-packages:
|
|
|
+ - qt5-default
|
|
|
+ - qttools5-dev-tools
|
|
|
+ stage-packages:
|
|
|
+ - dbus-x11
|
|
|
+ - libgtk2.0-0
|
|
|
+ - openssl
|
|
|
+ - ca-certificates
|
|
|
+
|
|
|
+ desktop-qt5:
|
|
|
+ stage: [ -./**/lib/*/qt5/**/libappmenu-qt5.so ]
|
|
|
+
|
|
|
+slots:
|
|
|
+ # Depending on in which environment we're running we either need
|
|
|
+ # to use the system or session DBus so we also need to have one
|
|
|
+ # slot for each.
|
|
|
+ dbus-svc:
|
|
|
+ interface: dbus
|
|
|
+ bus: session
|
|
|
+ name: org.dharkael.Flameshot
|