~ubuntu-desktop/+junk/ghexudt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: ghex-udt
version: git
summary: GHex
confinement: strict
description: Hex Editor.
  GHex can load raw data from binary files and display them for editing in the
  traditional hex editor view. The display is split in two columns, with
  hexadecimal values in one column and the ASCII representation in the other.
  A useful tool for working with raw data.
  .
  This is a build from the current git version.

apps:
  ghex-udt:
    # use the common desktop script but still a custom one for locales
    command: desktop-launch $SNAP/ghex.wrapper
    plugs: [unity7, home, gsettings]

parts:
  wrapper:
    plugin: copy
    files:
      ghex.wrapper: ghex.wrapper
    after: [desktop-gtk3]
  ghex:
    plugin: autotools
    source: http://git.gnome.org/browse/ghex
    source-type: git
    configflags: [--prefix=/snap/ghex-udt/current/usr]
    organize:
      snap/ghex-udt/current/usr: usr
    build-packages:
      - gnome-common
      - libglib2.0-dev
      - libgtk-3-dev
      - libgail-3-dev
      - yelp-tools   
  deb:
    plugin: nil
    stage-packages:
      - yelp-tools
      - libc-bin
      - locales