forked from ubuntu/gnome-clocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
72 lines (65 loc) · 1.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: gnome-clocks
adopt-info: gnome-clocks
summary: Simple GNOME app with stopwatch, timer, and world clock support
description: |
GNOME Clocks is a simple application to show the time and date in multiple
locations and set alarms or timers. A stopwatch is also included.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core20
layout:
/usr/share/libgweather:
bind: $SNAP/usr/share/libgweather
# Launchpad doesn't recognize these fields yet
passthrough:
license: GPL-2.0+
title: GNOME Clocks
slots:
# for GtkApplication registration
gnome-clocks:
interface: dbus
bus: session
name: org.gnome.clocks
apps:
gnome-clocks:
command: usr/bin/gnome-clocks
extensions: [ gnome-3-38 ]
plugs:
- audio-playback
- location-observe
desktop: usr/share/applications/org.gnome.clocks.desktop
parts:
gnome-clocks:
source: https://gitlab.gnome.org/GNOME/gnome-clocks.git
source-tag: '40.0'
source-type: git
plugin: meson
meson-parameters: [--prefix=/snap/gnome-clocks/current/usr]
organize:
snap/gnome-clocks/current/usr: usr
build-packages:
- itstool
- gettext
- gsettings-desktop-schemas-dev
- desktop-file-utils
- appstream-util
- appstream
- libgeoclue-2-dev
- libgeocode-glib-dev
- libgnome-desktop-3-dev
- libgweather-3-dev
override-pull: |
snapcraftctl pull
snapcraftctl set-version $(git describe --tags --abbrev=10)
libraries:
plugin: nil
stage-packages:
- libgeocode-glib0
- libgeoclue-2-0
- libgweather-3-16
prime:
- "usr/lib/*/libgeocode-glib.so.*"
- "usr/lib/*/libgeoclue-2.so.*"
- "usr/lib/*/libgweather*.so.*"
- "usr/share/libgweather"
- "usr/share/glib-2.0/schemas"