~jbicha/gedit/snap-add-plugins

« back to all changes in this revision

Viewing changes to snapcraft.yaml

  • Committer: Ken VanDine
  • Date: 2019-01-28 21:26:58 UTC
  • mfrom: (31.1.1 gedit)
  • Revision ID: ken.vandine@canonical.com-20190128212658-3gxg3ukx54lto1x9
snap: Build with core18

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
grade: stable # must be 'stable' to release into candidate/stable channels
17
17
confinement: strict
 
18
base: core18
18
19
 
19
20
plugs:
20
 
  gnome-3-26-1604:
 
21
  gnome-3-28-1804:
21
22
    interface: content
22
23
    target: $SNAP/gnome-platform
23
 
    default-provider: gnome-3-26-1604
 
24
    default-provider: gnome-3-28-1804
24
25
  gtk-3-themes:
25
26
    interface: content
26
27
    target: $SNAP/data-dir/themes
62
63
      LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/gedit
63
64
 
64
65
parts:
 
66
  desktop-gnome-platform:
 
67
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
 
68
    source-subdir: gtk
 
69
    plugin: make
 
70
    make-parameters: ["FLAVOR=gtk3"]
 
71
    build-packages:
 
72
      - build-essential
 
73
      - libgtk-3-dev
 
74
    override-build: |
 
75
      snapcraftctl build
 
76
      mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
 
77
 
65
78
  gedit:
66
79
    after: [desktop-gnome-platform]
67
80
    source: https://gitlab.gnome.org/GNOME/gedit.git
77
90
      cp data/org.gnome.gedit.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
78
91
    organize:
79
92
      snap/gedit/current/usr: usr
80
 
    build-attributes: [no-system-libraries]
81
93
    build-packages:
82
94
      - desktop-file-utils
83
95
      - gettext