-
Notifications
You must be signed in to change notification settings - Fork 6
/
snapcraft.yaml
75 lines (69 loc) · 1.56 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
73
74
75
name: amusiz
version: git
summary: Amusiz
description: "An unofficial and unpretentious Amazon Music client for Linux"
license: GPL-3.0+
base: core20
confinement: strict
grade: stable
architectures:
- build-on: [amd64, armhf]
run-on: [amd64, armhf]
parts:
amusiz:
plugin: meson
meson-parameters: [ --prefix=/usr ]
source: https://github.com/mirkobrombin/Amusiz.git
override-pull: |
snapcraftctl pull
sed -i -e 's|@PYTHON@|/usr/bin/python3|g' src/amusiz.in
build-packages:
- python3
- python3-distutils
- gettext
- libglib2.0-dev
- appstream-util
- desktop-file-utils
- gsettings-desktop-schemas-dev
- python3-pytoml
- libnotify-dev
- libgtk-3-dev
stage-packages:
- python3-gi
- python3-gi-cairo
- gir1.2-gtk-3.0
- gir1.2-webkit2-4.0
- libnotify4
- libgstreamer1.0-0
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-libav
- gstreamer1.0-alsa
- gstreamer1.0-pulseaudio
organize:
snap/amusiz/current/usr: usr
apps:
amusiz:
command: usr/bin/amusiz
desktop: usr/share/applications/pm.mirko.Amusiz.desktop
extensions: [gnome-3-38]
plugs:
- desktop
- desktop-legacy
- pulseaudio
- gsettings
- unity7
- x11
- network
- network-observe
- network-bind
- network-status
- audio-playback
- dbus
slots:
- dbus-amusiz
slots:
dbus-amusiz:
interface: dbus
bus: session
name: pm.mirko.Amusiz