Add snapcraft.yaml and associated desktop support files

This commit is contained in:
Tom Wardill 2019-02-22 11:30:22 +00:00 committed by Curtis Gedak
parent 4a947a95ac
commit f45ec49d36
2 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Manuskript
Comment=An open source tool for writers
Keywords=manuskript;office;write;edit;novel;text;msk
Exec=manuskript
Terminal=false
Type=Application
Icon=/snap/manuskript/current/icons/Manuskript/manuskript.svg
Categories=Office;WordProcessor;

97
snap/snapcraft.yaml Normal file
View file

@ -0,0 +1,97 @@
name: manuskript
version: overwritten
version-script: grep -E "__version__.*\".*\"" "manuskript/version.py" | cut -d\" -f2
summary: Manuskript is an open-source tool for writers.
description: |
Manuskript provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece.
With Manuskript you can:
Grow your premise from one sentence, to a paragraph, to a full summary
Create characters
Conceive plots
Construct outlines (Outline mode and/or Index cards)
Write with focus (Distraction free mode)
Build worlds
Track items
Edit and re-organize chapters and scenes
View Story line
Compose with fiction or non-fiction templates and writing modes
Export to HTML, ePub, OpenDocument, DocX, PDF, and more
Additionally Manuskript can help in many more ways with a spell checker, markdown highlighter, frequency analyzer, and automatic save in open and plain text file format.
grade: stable
confinement: strict
base: core18
icon: icons/Manuskript/manuskript.svg
apps:
manuskript:
command: desktop-launch $SNAP/bin/manuskript
plugs:
- desktop
- desktop-legacy
- unity7
- wayland
- x11
- opengl
- home
parts:
desktop-qt5:
build-packages:
- build-essential
- qtbase5-dev
- dpkg-dev
make-parameters:
- FLAVOR=qt5
plugin: make
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5
- try:
- appmenu-qt5
- locales-all
- xdg-user-dirs
- fcitx-frontend-qt5
manuskript:
after: [desktop-qt5]
plugin: dump
source: https://github.com/olivierkes/manuskript.git
source-type: git
build-packages:
- python3
- python3-pyqt5
- python3-pyqt5.qtwebkit
- libqt5svg5
- python3-lxml
- zlib1g
- python3-enchant
- python3-markdown
- pandoc
- texlive-latex-recommended
- texlive-fonts-recommended
- texlive-luatex
stage-packages:
- python3
- python3-pyqt5
- python3-pyqt5.qtwebkit
- libqt5svg5
- python3-lxml
- zlib1g
- libc-bin
- locales
- python3-enchant
- python3-markdown
- pandoc
- texlive-latex-recommended
- texlive-fonts-recommended
- texlive-luatex