blob: 99847f8524143f6fa56f9bde9e2c17f23ee80d8e (
plain)
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
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg-utils
DESCRIPTION="A client software for quality voice communication via the internet"
HOMEPAGE="https://www.teamspeak.com/"
SRC_URI="https://files.teamspeak-services.com/pre_releases/client/${PV/_/-}/teamspeak-client.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"
LICENSE="teamspeak5 || ( GPL-2 GPL-3 LGPL-3 )"
SLOT="5"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
dev-libs/olm
media-libs/alsa-lib
media-libs/harfbuzz
media-libs/mesa
net-print/cups
sys-apps/dbus
x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libdrm
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libnotify
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXScrnSaver
x11-libs/pango
"
RESTRICT="bindist mirror"
QA_PREBUILT="
opt/teamspeak5-client/chrome-sandbox
opt/teamspeak5-client/hotkey_helper
opt/teamspeak5-client/libcef.so
opt/teamspeak5-client/libtschat_client_lib.so
opt/teamspeak5-client/libtschat_client_lib_export.so
opt/teamspeak5-client/patcher
opt/teamspeak5-client/TeamSpeak
opt/teamspeak5-client/soundbackends/libalsa_linux_amd64.so
"
src_prepare() {
default
}
src_install() {
exeinto /opt/teamspeak5-client
doexe chrome-sandbox hotkey_helper patcher TeamSpeak libcef.so libtschat_client_lib.so libtschat_client_lib_export.so
insinto /opt/teamspeak5-client
doins *.bin *.dat *.pak
doins -r html licenses locales soundbackends
dodir /opt/bin
dosym ../teamspeak5-client/TeamSpeak /opt/bin/ts5client
for iconsize in 48 128 256; do
newicon -s ${iconsize} logo-${iconsize}.png teamspeak5.png
done
make_desktop_entry \
/opt/bin/ts5client "Teamspeak 5 Client" \
"teamspeak5" "Audio;AudioVideo;Network"
dodoc docs/*
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
}
|