Barrier Snappy

Snappy ready & tested on Ubuntu 18.04
This commit is contained in:
PayouZon MagIT 2019-03-17 07:33:19 +01:00 committed by GitHub
parent 5621846854
commit 15ddd868d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 78 additions and 21 deletions

View File

@ -1,22 +1,80 @@
name: barrier-kvm # the Barrier Snappy for Linux / not tested on MAC yet
name: barrier-kvm # you probably want to 'snapcraft register <name>' base: core18
base: core18 # the base snap is the execution environment for this snap version: '2.2.0' # 03/2019
version: '0.3' # just for humans, typically '1.2+git' or '1.3.2' summary: Eliminate the barrier between your machines.
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: | description: |
A GNU fork of Synergy. Barrier. With SSL support. Server+Client. Barrier is KVM software forked from Symless's synergy 1.9 codebase.
Synergy was a commercialized reimplementation of the original
grade: devel # must be 'stable' to release into candidate/stable channels CosmoSynergy written by Chris Schoeneman.
confinement: devmode # use 'strict' once you have the right plugs and slots grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
apps:
barrier-kvm:
command: desktop-launch barrier #first run might take longer
plugs:
gnome-3-26-1604:
interface: content
target: gnome-platform
default-provider: gnome-3-26-1604:gnome-3-26-1604
plugs: [gnome-3-26-1604]
plugs: [x11]
parts: [qt5conf]
parts: parts:
desktop:
plugin: nil
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
desktop-qt5:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
plugin: make
make-parameters: ["FLAVOR=qt5"]
build-packages:
- build-essential
- qtbase5-dev
- dpkg-dev
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 # for loading icon themes which are svg
- try: [appmenu-qt5] # not available on core18
- locales-all
- xdg-user-dirs
- fcitx-frontend-qt5
qt5:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
plugin: make
make-parameters: ["FLAVOR=qt5"]
build-packages:
- qtbase5-dev
- dpkg-dev
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 # for loading icon themes which are svg
- try: [appmenu-qt5] # not available on core18
- locales-all
barrier-kvm: barrier-kvm:
source: https://github.com/payomagic/barrier.git source: https://github.com/payomagic/barrier.git
# source-subdir: plugin: cmake
# See 'snapcraft plugins'
plugin: cmake
build-packages: build-packages:
- g++ - g++
- gcc
- make - make
- xorg-dev - xorg-dev
- libcurl4-openssl-dev - libcurl4-openssl-dev
@ -25,6 +83,8 @@ parts:
- libx11-dev - libx11-dev
- libqt4-dev - libqt4-dev
- qtbase5-dev - qtbase5-dev
- qt5-style-plugins
- qt5ct
stage-packages: stage-packages:
- libxinerama-dev - libxinerama-dev
- libxinerama1 - libxinerama1
@ -36,12 +96,9 @@ parts:
- qtdeclarative5-dev - qtdeclarative5-dev
- libavahi-compat-libdnssd-dev - libavahi-compat-libdnssd-dev
- libqt5gui5 - libqt5gui5
- qt5dxcb-plugin - libavahi-common-dev
after: [qt5conf] - libqt5x11extras5
# configflags: - libqt5svg5
# - CMAKE_CXX_STANDARD 14 - libqt5svg5-dev
# - CMAKE_CXX_EXTENSIONS OFF - qt5ct
apps: after: [desktop-qt5]
barrier-kvm:
command: barrier
plugs: [x11]