summaryrefslogtreecommitdiff
path: root/snapcraft.yaml
blob: 559a756041ebc15f43ecbb89c4f4e517a137377c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: qownnotes
version: "18.01.0"
summary: Plain-text file notepad with markdown support and ownCloud integration
grade: stable
confinement: strict
description: |
  QOwnNotes is the open source (GPL) plain-text file notepad with markdown support
  and todo list manager for GNU/Linux, Mac OS X and Windows, that (optionally) works
  together with the notes application of ownCloud.
  http://www.qownnotes.org/

apps:
  qownnotes:
    command: desktop-launch ${SNAP}/usr/bin/QOwnNotes -style=Fusion --snap
    # see https://developer.ubuntu.com/en/snappy/guides/interfaces
    plugs:
      - x11
      - unity7
      - network
      - network-bind
      - home

parts:
  qownnotes:
    source: http://downloads.sourceforge.net/project/qownnotes/src/qownnotes-18.01.0.tar.xz
    plugin: qmake
    qt-version: qt5
    build-packages:
      - qttools5-dev
      - build-essential
      - qtdeclarative5-dev
      - libqt5svg5-dev
      - qttools5-dev-tools
      - libqt5xmlpatterns5-dev
    stage-packages:
      - libqt5gui5
      - libqt5sql5
      - libqt5sql5-sqlite
      - libqt5widgets5
      - libqt5qml5
      - libqt5svg5
      - libqt5network5
      - libqt5xml5
      - libqt5xmlpatterns5
      - libqt5printsupport5
      - libqt5declarative5
    stage:
      - -usr/share/pkgconfig
    after: [desktop-qt5]