snapcraft files added (#120)
* Ignore snapcraft build files * Ignroe flameshot tarball created by snapcraft * Adding snapcraft files * Clean snap build.
This commit is contained in:
committed by
Dharkael
parent
e26f9d2849
commit
38d08504eb
14
.gitignore
vendored
14
.gitignore
vendored
@@ -37,3 +37,17 @@ Makefile*
|
||||
# QtCtreator CMake
|
||||
CMakeLists.txt.user
|
||||
|
||||
|
||||
# Created by https://www.gitignore.io/api/snapcraft
|
||||
|
||||
### Snapcraft ###
|
||||
# Snapcraft
|
||||
parts/
|
||||
prime/
|
||||
stage/
|
||||
*.snap
|
||||
.snapcraft/
|
||||
flameshot*.tar.bz2
|
||||
|
||||
|
||||
# End of https://www.gitignore.io/api/snapcraft
|
||||
|
||||
18
snap/gui/flameshot-init.desktop
Normal file
18
snap/gui/flameshot-init.desktop
Normal file
@@ -0,0 +1,18 @@
|
||||
[Desktop Entry]
|
||||
Name=Launch Flameshot
|
||||
Name[es]=Iniciar Flameshot
|
||||
Name[tr]=Flameshot Başlat
|
||||
Name[zh_CN]=启动 Flameshot
|
||||
GenericName=Screenshot tool
|
||||
GenericName[es]=Herramienta de captura de pantalla
|
||||
GenericName[tr]=Ekran kayıt aracı
|
||||
GenericName[zh_CN]=截图工具
|
||||
Comment=Powerful yet simple to use screenshot software.
|
||||
Comment[es]=Potente pero simple de usar software de capturas.
|
||||
Comment[zh_CN]=强大又易用的截图软件
|
||||
Keywords=flameshot;screenshot;capture;
|
||||
Keywords[zh_CN]=flameshot;screenshot;capture;截图;
|
||||
Exec=flameshot
|
||||
Icon=${SNAP}/meta/gui/flameshot.png
|
||||
Type=Application
|
||||
Categories=Graphics;
|
||||
20
snap/gui/flameshot.desktop
Normal file
20
snap/gui/flameshot.desktop
Normal file
@@ -0,0 +1,20 @@
|
||||
[Desktop Entry]
|
||||
Name=Flameshot
|
||||
Name[es]=Tomar captura gráfica
|
||||
Name[zh_CN]=进行图形截图
|
||||
GenericName=Screen capture tool
|
||||
GenericName[es]=Herramienta de captura de pantalla
|
||||
GenericName[tr]=Ekran kayıt aracı
|
||||
GenericName[zh_CN]=屏幕截图工具
|
||||
Comment=Powerful yet simple to use screenshot software.
|
||||
Comment[es]=Potente pero simple de usar software de capturas.
|
||||
Comment[tr]=Güçlü ve kullanımı kolay ekran kayıt yazılımı.
|
||||
Comment[zh_CN]=强大又易用的截图软件
|
||||
Keywords=flameshot;screenshot;capture;
|
||||
Keywords[zh_CN]=flameshot;screenshot;capture;截图;
|
||||
Exec=flameshot gui
|
||||
Icon=${SNAP}/meta/gui/flameshot.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;
|
||||
StartupNotify=false
|
||||
BIN
snap/gui/flameshot.png
Normal file
BIN
snap/gui/flameshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
64
snap/snapcraft.yaml
Normal file
64
snap/snapcraft.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user