This repository has been archived by the owner on Jun 23, 2021. It is now read-only.
forked from flathub/com.skype.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.skype.Client.json
142 lines (142 loc) · 5.44 KB
/
com.skype.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"app-id": "com.skype.Client",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"base": "io.atom.electron.BaseApp",
"base-version": "stable",
"branch": "stable",
"sdk": "org.freedesktop.Sdk",
"command": "skype",
"separate-locales": false,
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Access to webcam require access to devices */
"--device=all",
/* Sound access */
"--socket=pulseaudio",
/* Network access */
"--share=network",
/* It seems to call NM and bluez */
"--system-talk-name=org.freedesktop.NetworkManager",
"--system-talk-name=org.bluez",
/* File system access */
"--filesystem=xdg-download",
"--filesystem=home:ro",
/* Secrets access */
"--talk-name=org.freedesktop.secrets",
/* Notification access */
"--talk-name=org.gtk.Notifications", "--talk-name=org.freedesktop.Notifications",
"--talk-name=org.gnome.GConf",
"--env=XDG_CURRENT_DESKTOP=Unity",
"--talk-name=org.kde.StatusNotifierWatcher"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g"
},
"modules": [
{
"name": "libsecret",
"config-opts": [
"--disable-manpages",
"--disable-gtk-doc",
"--disable-static",
"--disable-introspection"
],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/gtk-doc",
"*.la"
],
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/libsecret-0.18.5.tar.xz",
"sha256": "9ce7bd8dd5831f2786c935d82638ac428fa085057cc6780aba0e39375887ccb3"
},
{
"type": "shell",
"commands": ["autoreconf -f"]
}
]
},
"shared-modules/udev/udev-175.json",
{
"name": "v4l-utils",
"config-opts": [
"--disable-static",
"--disable-doxygen-doc",
"--disable-libdvbv5",
"--disable-v4l-utils",
"--disable-qv4l2",
"--with-udevdir=/app/lib/udev/"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/man",
"*.la"
],
"sources": [
{
"type": "archive",
"url": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.12.5.tar.bz2",
"sha256": "0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d"
}
]
},
{
"name": "skype",
"buildsystem": "simple",
"sources" : [
{
"type": "script",
"dest-filename": "apply_extra",
"commands": [
"ar x skypeforlinux-64.deb",
"rm -f skypeforlinux-64.deb",
"tar xf data.tar.xz",
"rm -f control.tar.gz data.tar.xz debian-binary",
"mv usr/* .",
"rmdir usr",
"mkdir -p export/share/applications",
"sed -e 's/Icon=skypeforlinux/Icon=com.skype.Client/' -e 's$/usr/bin/skypeforlinux$/app/bin/skype$' share/applications/skypeforlinux.desktop > export/share/applications/com.skype.Client.desktop",
"echo StartupWMClass=SkypeAlpha >> export/share/applications/com.skype.Client.desktop",
"mkdir -p export/share/icons/hicolor/256x256/apps",
"cp share/icons/hicolor/256x256/apps/skypeforlinux.png export/share/icons/hicolor/256x256/apps/com.skype.Client.png"
]
},
{
"type": "script",
"dest-filename": "skype.sh",
"commands": [
"SKYPE_LOGS=$XDG_CONFIG_HOME/logs",
"mkdir -p $SKYPE_LOGS",
"nohup env TMPDIR=$XDG_CACHE_HOME /app/extra/share/skypeforlinux/skypeforlinux --executed-from=\"$(pwd)\" --pid=$$ \"$@\" > \"$SKYPE_LOGS/skype-startup.log\" 2>&1 &"
]
},
{
"type": "file",
"path": "com.skype.Client.appdata.xml"
},
{
"type": "extra-data",
"filename": "skypeforlinux-64.deb",
"url": "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.29.0.50_amd64.deb",
"sha256": "ae78d24115c29ff8e7e215ae561b681537194fb1997048ff2275ff9f807eb95a",
"size": 73251932
}
],
"build-commands": [
"install apply_extra /app/bin",
"install skype.sh /app/bin/skype",
"install -Dm644 com.skype.Client.appdata.xml /app/share/appdata/com.skype.Client.appdata.xml",
"cp /usr/bin/ar /app/bin",
"cp /usr/lib/libbfd-*.so /app/lib"
]
}
]
}