~flexiondotorg/+junk/shadow

« back to all changes in this revision

Viewing changes to snap/snapcraft.yaml

  • Committer: Martin Wimpress
  • Date: 2018-10-30 14:46:04 UTC
  • Revision ID: code@flexion.org-20181030144604-8ml6otdr3yc2cpk5
Remove Qt5. Add desktop-gtk2 part. Update stage-packagee.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
name: shadow
2
 
version: 0.7.6
 
2
version: '0.8.62'
3
3
summary: Much more than a PC.
4
4
description: |
5
5
 Shadow is a supercharged gaming PC accessible on any device. Uncompromising
10
10
confinement: strict
11
11
 
12
12
parts:
 
13
  desktop-gtk2:
 
14
    build-packages:
 
15
      - build-essential
 
16
      - libgtk2.0-dev
 
17
    make-parameters:
 
18
      - FLAVOR=gtk2
 
19
    plugin: make
 
20
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
 
21
    source-subdir: gtk
 
22
    stage-packages:
 
23
      - libxkbcommon0
 
24
      - dmz-cursor-theme
 
25
      - shared-mime-info
 
26
      - libgtk2.0-0
 
27
      - libgdk-pixbuf2.0-0
 
28
      - libglib2.0-bin
 
29
      - libgtk2.0-bin
 
30
      - unity-gtk2-module
 
31
      - locales-all
 
32
      - libappindicator1
 
33
      - xdg-user-dirs
 
34
      - ibus-gtk
 
35
      - libibus-1.0-5
 
36
 
13
37
  shadow:
14
38
    plugin: dump
15
 
    source: https://macosx.update.blade-group.fr/mpl/linux/beta/bionic/shadowbeta.deb
 
39
    source: shadowalpha-bionic-2.0.0-b8-UNRELEASED.deb
16
40
    source-type: deb
17
41
    override-pull: |
18
42
      snapcraftctl pull
22
46
      - desktop-gtk2
23
47
    stage-packages:
24
48
      - libasound2
25
 
      - libcurl4
26
 
      - libdb5.3
 
49
      - libcurl3-gnutls
27
50
      - libdrm2
28
51
      - libgconf-2-4
 
52
      - libglu1-mesa
29
53
      - libgcrypt20
30
 
      - libjson-c3
 
54
      - libinput10
31
55
      - libnotify4
32
56
      - libnspr4
33
57
      - libnss3
34
58
      - libopus0
35
59
      - libpcre3
36
60
      - libpulse0
37
 
      - libqt5xml5
38
 
      - libqt5svg5
39
 
      - libqt5widgets5
40
 
      - libqt5gui5
41
61
      - libsdl2-2.0-0
42
62
      - libsecret-1-0
43
 
      - libsndio7.0
 
63
      - libssl1.1
44
64
      - libubsan0
 
65
      - libuv1
45
66
      - libva-x11-2
46
67
      - libva2
47
68
      - libxtst6
48
69
      - libxss1
49
70
apps:
50
71
  shadow:
51
 
    command: bin/desktop-launch $SNAP/opt/Shadow\ Beta/shadow-beta --no-sandbox
 
72
    command: bin/desktop-launch $SNAP/opt/shadowbeta/shadow-beta
52
73
    desktop: usr/share/applications/shadow-beta.desktop
53
74
    environment:
54
75
      # Correct the TMPDIR path for Chromium Framework/Electron to
55
76
      # ensure libappindicator has readable resources.
56
77
      TMPDIR: $XDG_RUNTIME_DIR
57
 
      # Qt5 environment for ClientSDL binary
58
 
      QTCHOOSER_NO_GLOBAL_DIR: 1
59
 
      QT_SELECT: snappy-qt5
60
 
      QTCOMPOSE: $SNAP/usr/share/X11/locale
61
 
      QT_PLUGIN_PATH: $SNAP/usr/lib/$ARCH/qt5/plugins
62
 
      QML2_IMPORT_PATH: $SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/qml:$QML2_IMPORT_PATH
63
 
      QT_PRINTER_MODULE: qtubuntu-print
64
 
      PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/bin:$PATH
65
 
      QT_QPA_PLATFORM: xcb
66
 
      QT_QPA_PLATFORMTHEME: appmenu-qt5
67
78
    plugs:
68
79
      - browser-support
69
80
      - desktop
76
87
      - pulseaudio
77
88
      - unity7
78
89
      - wayland
 
90
      - x11