Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: mysnap-test-1 # you probably want to 'snapcraft register <name>'
- base: core20 # the base snap is the execution environment for this snap
- version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
- summary: cluemaster application for linux # 79 char long summary
- description: |
- This is my-snap's description. You have a paragraph or two to tell the
- most important story about your snap. Keep it under 100 words though,
- we live in tweetspace and your description wants to look good in the snap
- store.
- grade: devel # must be 'stable' to release into candidate/stable channels
- confinement: devmode # use 'strict' once you have the right plugs and slots
- # adopt-info: cluemaster
- # assumes: command-chain
- apps:
- cluemaster:
- adapter: full
- command: bin/desktop-launch $SNAP/parts/cluemaster/src/cluemaster.
- # command-chain:
- # - bin/desktop-launch
- # environment:
- # DISBALE_WAYLAND : 1
- # QT_QPA_PLATFORMTHEME: gtk3
- plugs:
- - network
- - home
- - desktop
- - x11
- - pulseaudio
- - wayland
- - optical-drive
- - unity7
- - gsettings
- - network-bind
- parts:
- cluemaster:
- # See 'snapcraft plugins'
- plugin: python
- python-packages:
- - PyQt5
- - requests
- stage-packages:
- - python3-pyqt5
- - mpv
- - qtwayland5
- - python3
- - python3-pip
- - libva-wayland2
- - libavahi-client3
- - libavahi-common3
- - libcups2
- - libdrm2
- - libegl1
- - libevdev2
- - libfontconfig1
- - libfreetype6
- - libgl1
- - libglvnd0
- - libglx0
- - libgudev-1.0-0
- - libinput10
- - libmtdev1
- - libpng16-16
- - libqt5gui5
- - libqt5widgets5
- - libqt5core5a
- - libqt5svg5
- - libwacom2
- - libwayland-client0
- - libx11-6
- - libx11-xcb1
- - libxau6
- - libxcb-glx0
- - libxcb-icccm4
- - libxcb-image0
- - libxcb-keysyms1
- - libxcb-randr0
- - libxcb-render-util0
- - libxcb-render0
- - libxcb-shape0
- - libxcb-shm0
- - libxcb-sync1
- - libxcb-util1
- - libxcb-xfixes0
- - libxcb-xinerama0
- - libxcb-xkb1
- - libxcb1
- - libxdmcp6
- - libxext6
- - libxkbcommon-x11-0
- - libxkbcommon0
- source: code/
- desktop-qt5:
- source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
- source-depth: 1
- source-subdir: qt
- plugin: make
- make-parameters: ["FLAVOR=qt5"]
- stage-packages:
- - libxkbcommon0
- - ttf-ubuntu-font-family
- - dmz-cursor-theme
- - light-themes
- - adwaita-icon-theme
- - gnome-themes-standard
- - shared-mime-info
- - libqt5core5a
- - libqt5widgets5
- - libqt5gui5
- - libgdk-pixbuf2.0-0
- - libqt5svg5 # for loading icon themes which are svg
- - try: [appmenu-qt5] # not available on core18
- - locales-all
- - xdg-user-dirs
- - fcitx-frontend-qt5
- layout:
- /usr/share/locale:
- bind: $SNAP/share/locale
Add Comment
Please, Sign In to add comment