/
com.spotify.Client.json
126 lines (126 loc) · 4.62 KB
/
com.spotify.Client.json
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
{
"app-id": "com.spotify.Client",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.4",
"sdk": "org.freedesktop.Sdk",
"command": "spotify",
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Sound access */
"--socket=pulseaudio",
/* Network access */
"--share=network",
/* Media keys: */
"--talk-name=org.gnome.SettingsDaemon",
"--own-name=org.mpris.MediaPlayer2.spotify"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
}
},
"cleanup": ["/include", "/lib/pkgconfig",
"/share/pkgconfig", "/share/aclocal",
"/man", "/share/man", "/share/gtk-doc",
"/share/vala",
"*.la", "*.a"],
"modules": [
{
"name": "udev",
"config-opts": [ "--disable-hwdb", "--disable-logging", "--disable-gudev",
"--disable-introspection", "--disable-keymap", "--disable-mtd_probe"],
"sources": [
{
"type": "archive",
"url": "http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2",
"sha256": "4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab"
}
]
},
{
"name": "dbus-glib",
"config-opts": [ "--disable-static", "--disable-gtk-doc" ],
"sources": [
{
"type": "archive",
"url": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.106.tar.gz",
"sha256": "b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046"
}
]
},
{
"name": "gconf",
"config-opts": ["--disable-orbit"],
"sources" : [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/GNOME/sources/GConf/3.2/GConf-3.2.6.tar.xz",
"sha256": "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
}
]
},
{
"name": "atk",
"config-opts": ["--disable-gtk-doc",
"--enable-introspection=no",
"--disable-man"],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/atk/2.18/atk-2.18.0.tar.xz",
"sha256": "ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b"
}
]
},
{
"name": "pango",
"config-opts": ["--disable-gtk-doc",
"--disable-man"],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pango/1.38/pango-1.38.1.tar.xz",
"sha256": "1320569f6c6d75d6b66172b2d28e59c56ee864ee9df202b76799c4506a214eb7"
}
]
},
{
"name": "gtk2",
"config-opts": ["--disable-gtk-doc",
"--enable-introspection=no",
"--disable-man",
"--with-xinput=xfree"],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.29.tar.xz",
"sha256": "0741c59600d3d810a223866453dc2bbb18ce4723828681ba24aa6519c37631b8"
}
]
},
{
"name": "spotify",
"no-autogen": true,
"sources" : [
{
"type": "archive",
"path": "data.tar.gz"
},
{
"type": "file",
"path": "spotify-Makefile",
"dest-filename": "Makefile"
}
],
"post-install": [
"mkdir -p /app/share/applications/ /app/share/icons/hicolor/256x256/apps/",
"sed s/Icon=spotify-client/Icon=com.spotify.Client/ /app/share/spotify/spotify.desktop > /app/share/applications/com.spotify.Client.desktop",
"echo StartupWMClass=Spotify >> /app/share/applications/com.spotify.Client.desktop",
"cp /app/share/spotify/icons/spotify-linux-256.png /app/share/icons/hicolor/256x256/apps/com.spotify.Client.png"
]
}
]
}