Ubuntu Pastebin

Paste from sil at Wed, 31 May 2017 17:33:08 +0000

Download as text
 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
45
name: pick-colour-picker
version: 'master'
summary: A colour picker that remembers where you picked colours from
description: |
  Choose the colour you want and Pick remembers it, names it, and shows you a screenshot
  so you can remember where you got it from. Zoom all the way in to pixels to pick
  just the right one. Show your colours in your choice of format: rgba() or hex,
  CSS or Gdk or Qt, whichever you prefer. Copy to the clipboard ready for pasting into
  code or graphics apps.
icon: pick-colour-picker.png

grade: devel
confinement: strict

apps:
  pick-colour-picker:
    command: desktop-launch pick-colour-picker
    desktop: usr/share/applications/pick-colour-picker.desktop
    plugs:
      - x11
      - home
      - gsettings
      - unity7

slots:
  pick-colour-picker-dbus:
    interface: dbus
    name: org.kryogenix.pick-colour-picker
    bus: session

parts:
  pick-colour-picker:
    source: .
    plugin: python
    python-version: python2
    stage-packages:
      - python-gi
      - python-gobject
      - python-cairo
      - python-gi-cairo
      - gir1.2-gtk-3.0
      - gnome-themes-standard
    after: [desktop-gtk3]
    prepare: |
      sed -i 's|Icon=pick-colour-picker|Icon=${SNAP}/usr/share/pixmaps/pick-colour-picker.png|g' pick-colour-picker.desktop
Download as text