lolka 1.0.100
Lolka - voice chat and screen sharing application
Не провереноПроисхождение пакета не подтверждено.
Используемые названия и товарные знаки принадлежат соответствующим владельцам.
1name=lolka
2version=1.0.100
3release=1
4summary="Lolka - voice chat and screen sharing application"
5group="Communications"
6desc="Lolka is a platform for real-time communication: servers with text
7and voice channels, roles, screen sharing (up to 5 streams per channel),
8direct and group chats, custom emoji and reactions.
9
10The desktop client provides an in-game overlay. The service works
11without VPN and offers import of roles and channel structure
12from Discord."
13maintainer="Oleg Shchavelev <oleg@alt-gnome.ru>"
14architectures=("amd64")
15homepage="https://lolka.app"
16license=("custom")
17appstream_app_id="app.lolka.Lolka"
18nonfree=1
19nonfree_url="https://lolka.app/terms"
20
21sources=(
22 "https://storage.yandexcloud.net/lolka-electron/releases/Lolka_${version}_amd64.deb"
23)
24
25checksums=(
26 sha256:15c25d3c45314d859db3753764d1b0e6d91d2528c410ef070f502483bdfc9b2c
27)
28
29build_deps=(
30 "desktop-file-utils"
31)
32
33auto_reqprov_method=dirty
34auto_req=1
35auto_prov=1
36
37disable_network=1
38
39package() {
40 tar -xf data.tar.xz -C "$pkgdir/"
41
42 # The app calls app.setDesktopName("lolka.desktop"), so the window
43 # identifies itself as "lolka" on Wayland (xdg app_id) and X11 (WM_CLASS).
44 # Upstream ships StartupWMClass=Lolka with a capital L - a leftover from
45 # older Electron; GNOME matches the app_id against StartupWMClass
46 # case-sensitively, so the stale hint shadows the real id and the window
47 # gets a generic icon in the overview/dash under Wayland.
48 desktop-file-edit --set-key=StartupWMClass --set-value="$name" \
49 "$pkgdir/usr/share/applications/$name.desktop"
50
51 install -d "$pkgdir/usr/bin"
52 ln -s "/opt/Lolka/lolka" "$pkgdir/usr/bin/$name"
53}
54
55files() {
56 files-find \
57 "/opt/Lolka/**/*" \
58 "/usr/share/icons/hicolor/*/apps/$name.png"
59
60 files-find-binary \
61 "$name"
62
63 files-find-desktop \
64 "$name.desktop"
65
66 files-find-doc \
67 "$name"
68}