-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
56 lines (52 loc) · 1.46 KB
/
snapcraft.yaml
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
46
47
48
49
50
51
52
53
54
55
56
name: feeling-finder
grade: stable
version: 1.5.0
adopt-info: appinfo
base: core22
confinement: strict
compression: lzo
architectures:
- build-on: amd64
apps:
feeling-finder:
command: feeling_finder
extensions: [gnome]
common-id: codes.merritt.FeelingFinder
environment:
DISABLE_WAYLAND: 1
desktop: utils/codes.merritt.FeelingFinder.desktop
plugs:
- network
- network-status
- network-bind
- unity7
parts:
feeling-finder:
plugin: dump
source: https://github.com/Merrit/feeling_finder/releases/download/v${SNAPCRAFT_PROJECT_VERSION}/FeelingFinder-Linux-Portable.tar.gz
prime:
- -PORTABLE
- -README.md
appinfo:
plugin: dump
after: [feeling-finder]
source: https://github.com/Merrit/feeling_finder.git
source-tag: v${SNAPCRAFT_PROJECT_VERSION}
parse-info: [packaging/linux/codes.merritt.FeelingFinder.metainfo.xml]
override-pull: |
craftctl default
sed -e 's|Icon=codes.merritt.FeelingFinder|Icon=${SNAP}/utils/codes.merritt.FeelingFinder.svg|' -i packaging/linux/codes.merritt.FeelingFinder.desktop
mkdir utils
cp packaging/linux/codes.merritt.FeelingFinder.desktop utils
cp assets/icons/codes.merritt.FeelingFinder.svg utils
prime:
- utils
deps:
after: [appinfo]
plugin: nil
stage-packages:
- libkeybinder-3.0-0
- libappindicator3-1
prime:
- usr/lib/*/libappindicator*
- usr/lib/*/libkeybinder*