| 1 | name: lomiri-printing-app |
| 2 | version: 0.3 |
| 3 | summary: "Printing app which consumes a PDF from content-hub" |
| 4 | description: Printing app which consumes a PDF document from |
| 5 | content-hub, allows for basic configuration and |
| 6 | then sends to a CUPS printer. |
| 7 | confinement: strict |
| 8 | |
| 9 | apps: |
| 10 | lomiri-printing-app: |
| 11 | command: desktop-launch $SNAP/usr/bin/lomiri-printing-app --desktop_file_hint=lomiri |
| 12 | plugs: |
| 13 | - cups-control |
| 14 | - home |
| 15 | - network |
| 16 | - opengl |
| 17 | - platform |
| 18 | - unity7 |
| 19 | - unity8 |
| 20 | |
| 21 | plugs: |
| 22 | platform: |
| 23 | interface: content |
| 24 | content: ubuntu-app-platform1 |
| 25 | target: ubuntu-app-platform |
| 26 | default-provider: ubuntu-app-platform |
| 27 | |
| 28 | parts: |
| 29 | lomiri-printing-app: |
| 30 | build-packages: |
| 31 | - intltool |
| 32 | - libpoppler-qt5-dev |
| 33 | - qml-module-qttest |
| 34 | - qml-module-ubuntu-test |
| 35 | - qtdeclarative5-dev |
| 36 | - qtdeclarative5-dev-tools |
| 37 | - xvfb |
| 38 | configflags: [-DCMAKE_INSTALL_PREFIX=/usr, -DSNAP_MODE=on] |
| 39 | plugin: cmake |
| 40 | source: . |
| 41 | after: [printer-components, desktop-ubuntu-app-platform] |
| 42 | |
| 43 | printer-components: |
| 44 | plugin: cmake |
| 45 | configflags: [-DCMAKE_INSTALL_PREFIX=/usr] |
| 46 | source: https://code.launchpad.net/~phablet-team/ubuntu-settings-components/printer-components |
| 47 | source-type: bzr |
| 48 | build-packages: |
| 49 | - cmake-extras |
| 50 | - libcups2-dev |
| 51 | - libqt5printsupport5 |
| 52 | - debhelper |
| 53 | - gettext |
| 54 | - pkg-config |
| 55 | - python3 |
| 56 | - qml-module-qt-labs-folderlistmodel |
| 57 | - qml-module-qtquick-layouts |
| 58 | - qml-module-qtquick2 |
| 59 | - qml-module-qttest |
| 60 | - qml-module-ubuntu-components |
| 61 | - qml-module-ubuntu-thumbnailer0.1 |
| 62 | - qtbase5-dev |
| 63 | - qtbase5-private-dev |
| 64 | - qtdeclarative5-dev |
| 65 | - qtdeclarative5-dev-tools |
| 66 | - suru-icon-theme |
| 67 | stage-packages: |
| 68 | - libcups2 |
| 69 | - libqt5printsupport5 |
| 70 | |
| 71 | environment: |
| 72 | source: snap/ |
| 73 | plugin: dump |