File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : silaty # you probably want to 'snapcraft register <name>'
2
+ base : core18 # the base snap is the execution environment for this snap
3
+ version : ' 0.1' # just for humans, typically '1.2+git' or '1.3.2'
4
+ summary : A neat prayer reminder app # 79 char long summary
5
+ description : |
6
+ A neat prayer reminder app
7
+
8
+ grade : stable # must be 'stable' to release into candidate/stable channels
9
+ confinement : strict # use 'strict' once you have the right plugs and slots
10
+
11
+ parts :
12
+ silaty :
13
+ plugin : python
14
+ python-version : python3
15
+ source : .
16
+ build-packages :
17
+ - python3-pip
18
+ - libpulse-dev
19
+ stage-packages :
20
+ - gir1.2-gtk-3.0
21
+ - gir1.2-appindicator3-0.1
22
+ - gir1.2-notify-0.7
23
+ - libgstreamer1.0-0
24
+ - gstreamer1.0-plugins-base
25
+ - gstreamer1.0-plugins-good
26
+ - gstreamer1.0-pulseaudio
27
+ - python3-gst-1.0
28
+ - libpulse0
29
+ - libglu1-mesa
30
+ - freeglut3
31
+ - libgpm2
32
+ - libslang2
33
+ python-packages :
34
+ - setuptools
35
+ - PyGObject
36
+ - pip
37
+ - wheel
38
+ override-stage : |
39
+ # copy project files
40
+ cp -r $SNAPCRAFT_PART_BUILD/* $SNAPCRAFT_PART_INSTALL
41
+ # copy icons
42
+ cp $SNAPCRAFT_PART_BUILD/silaty-indicator.py $SNAPCRAFT_PART_INSTALL/silaty-indicator
43
+ cp $SNAPCRAFT_PART_BUILD/icons/hicolor/128x128/apps/silaty.svg $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/scalable/apps/
44
+ cp $SNAPCRAFT_PART_BUILD/icons/hicolor/128x128/apps/silaty.svg $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/128x128/apps/
45
+ cp $SNAPCRAFT_PART_BUILD/icons/hicolor/48x48/apps/silaty.svg $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/48x48/apps/
46
+ cp $SNAPCRAFT_PART_BUILD/icons/hicolor/24x24/apps/silaty.svg $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/24x24/apps/
47
+ snapcraftctl stage
48
+
49
+ apps :
50
+ silaty :
51
+ command : usr/bin/python3 $SNAP/silaty-indicator
52
+ desktop : $SNAPCRAFT_PROJECT_DIR/silaty.desktop
53
+ extensions : [gnome-3-34]
54
+ plugs :
55
+ - desktop
56
+ - audio-playback
57
+ slots :
58
+ - dbus-daemon
59
+ common-id : com.github.AXeL-dev.silaty
60
+
61
+ slots :
62
+ dbus-daemon :
63
+ interface : dbus
64
+ bus : session
65
+ name : com.github.AXeL-dev.silaty
You can’t perform that action at this time.
0 commit comments