forked from flathub/com.spotify.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.spotify.Client.json
More file actions
166 lines (166 loc) · 6.04 KB
/
Copy pathcom.spotify.Client.json
File metadata and controls
166 lines (166 loc) · 6.04 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"app-id": "com.spotify.Client",
"runtime": "org.freedesktop.Platform",
"runtime-version": "25.08",
"sdk": "org.freedesktop.Sdk",
"command": "spotify",
"separate-locales": false,
"tags": [
"proprietary"
],
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--share=network",
"--device=dri",
"--talk-name=org.freedesktop.ScreenSaver",
"--talk-name=org.gnome.SettingsDaemon.MediaKeys",
"--talk-name=org.kde.StatusNotifierWatcher",
"--own-name=org.mpris.MediaPlayer2.spotify",
"--filesystem=xdg-music:ro",
"--filesystem=xdg-pictures:ro",
"--filesystem=xdg-run/pipewire-0:ro",
"--env=LD_LIBRARY_PATH=/app/lib",
"--env=TMPDIR=/tmp",
"--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man",
"/share/man",
"/share/gtk-doc",
"/share/doc",
"*.la",
"*.a"
],
"modules": [
"shared-modules/squashfs-tools/squashfs-tools.json",
"shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
{
"name": "ffmpeg-4.4",
"config-opts": [
"--enable-shared",
"--disable-static",
"--enable-gnutls",
"--disable-doc",
"--disable-avdevice",
"--disable-avfilter",
"--disable-programs",
"--disable-encoders",
"--disable-hwaccels",
"--disable-devices",
"--disable-filters",
"--disable-bsfs",
"--disable-muxers",
"--disable-protocols",
"--enable-protocol=file",
"--disable-decoders",
"--enable-decoder=aac",
"--enable-decoder=aac_latm",
"--enable-decoder=ac3",
"--enable-decoder=flac",
"--enable-decoder=als",
"--enable-decoder=mp1",
"--enable-decoder=mp2",
"--enable-decoder=mp3",
"--enable-decoder=mp3adu",
"--enable-decoder=opus",
"--enable-decoder=vorbis"
],
"sources": [
{
"type": "archive",
"url": "https://ffmpeg.org/releases/ffmpeg-4.4.7.tar.xz",
"sha256": "39e7d6d0af050a0a8aae737d610d77264e67b9657f3a346f72bba03312565e2a",
"x-checker-data": {
"type": "anitya",
"project-id": 5405,
"stable-only": true,
"versions": {
"<": "5"
},
"url-template": "https://ffmpeg.org/releases/ffmpeg-$version.tar.xz"
}
}
]
},
{
"name": "spotify-preload",
"buildsystem": "simple",
"build-commands": [
"cc spotify-preload.c -o spotify-preload.so -fPIC -shared -ldl",
"install -Dm644 spotify-preload.so /app/lib/spotify-preload.so"
],
"sources": [
{
"type": "file",
"path": "spotify-preload.c"
}
]
},
{
"name": "spotify",
"buildsystem": "simple",
"build-commands": [
"install apply_extra /app/bin",
"install spotify-bin /app/bin/spotify",
"install -Dm644 com.spotify.Client.appdata.xml /app/share/appdata/com.spotify.Client.appdata.xml",
"install -Dm644 com.spotify.Client.svg /app/share/icons/hicolor/scalable/apps/com.spotify.Client.svg",
"install -Dm644 com.spotify.Client-symbolic.svg /app/share/icons/hicolor/symbolic/apps/com.spotify.Client-symbolic.svg",
"install -Dm644 com.spotify.Client.desktop /app/share/applications/com.spotify.Client.desktop"
],
"sources": [
{
"type": "script",
"dest-filename": "apply_extra",
"commands": [
"unsquashfs -quiet -no-progress spotify.snap usr/bin usr/share/spotify",
"mv squashfs-root/usr/* .",
"rm -r spotify.snap squashfs-root share/spotify/apt-keys share/spotify/spotify.desktop"
]
},
{
"type": "file",
"path": "com.spotify.Client.desktop"
},
{
"type": "file",
"path": "com.spotify.Client.appdata.xml"
},
{
"type": "file",
"path": "com.spotify.Client.svg"
},
{
"type": "file",
"path": "com.spotify.Client-symbolic.svg"
},
{
"type": "file",
"path": "spotify-bin"
},
{
"type": "extra-data",
"filename": "spotify.snap",
"only-arches": [
"x86_64"
],
"url": "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_95.snap",
"sha256": "28b21c2ea44e359d3f5411c70524528d1b056830f090db86f7b56d0fbc41ff33",
"size": 184176640,
"x-checker-data": {
"type": "snapcraft",
"name": "spotify",
"channel": "stable",
"is-main-source": true
}
}
]
}
]
}