@ogra
name: testprint
version: ‘1.0.0.testprint’
summary: testprint
description: testprint
confinement: strict
base: core18
grade: stable
apps:
daemon:
daemon: simple
restart-condition: always
command-chain:
- bin/run-daemon
- bin/wayland-launch
command: bin/test_print_app
extensions: [flutter-master] # Where “master” defines which Flutter channel to use for the build
plugs: [raw-usb, network-control, home]
testprint:
command-chain:
- bin/wayland-launch
command: bin/test_print_app
extensions: [flutter-master]
parts:
testprint:
source: .
plugin: flutter
flutter-target: lib/main.dart
stage-packages:
- libusb-1.0-0
- usbutils
mir-kiosk-snap-launch:
plugin: dump
source: https://github.com/MirServer/mir-kiosk-snap-launch.git
override-build: $SNAPCRAFT_PART_BUILD/build-with-plugs.sh opengl pulseaudio wayland
stage-packages:
- inotify-tools
assets:
plugin: nil
stage-packages:
# - dmz-cursor-theme
- fonts-dejavu
- fonts-freefont-ttf
- fonts-ubuntu
layout:
/usr/share/fonts:
bind: $SNAP/usr/share/fonts
/etc/fonts:
bind: $SNAP/etc/fonts
/usr/share/icons:
bind: $SNAP/usr/share/icons