9 |
9 |
|
10 |
10 |
DESCRIPTION="A client software for quality voice communication via the internet"
|
11 |
11 |
HOMEPAGE="https://www.teamspeak.com/"
|
12 |
|
SRC_URI="
|
13 |
|
amd64? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run )
|
14 |
|
x86? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_x86-${MY_PV}.run )
|
15 |
|
"
|
|
12 |
SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run"
|
16 |
13 |
S="${WORKDIR}"
|
17 |
14 |
|
18 |
15 |
LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
|
19 |
16 |
SLOT="3"
|
20 |
|
KEYWORDS="-* amd64 ~x86"
|
|
17 |
KEYWORDS="-* amd64"
|
21 |
18 |
IUSE="+alsa pulseaudio system-libcxx +system-quazip"
|
22 |
19 |
|
23 |
20 |
REQUIRED_USE="|| ( alsa pulseaudio )"
|
... | ... | |
25 |
22 |
|
26 |
23 |
BDEPEND=">=dev-util/patchelf-0.10"
|
27 |
24 |
RDEPEND="
|
28 |
|
app-arch/snappy
|
29 |
|
dev-libs/openssl:0
|
|
25 |
dev-libs/glib:2
|
30 |
26 |
dev-qt/qtcore:5
|
31 |
27 |
dev-qt/qtgui:5[accessibility,dbus,X(-)]
|
32 |
28 |
dev-qt/qtnetwork:5
|
... | ... | |
36 |
32 |
dev-qt/qtwebengine:5[geolocation(+),widgets]
|
37 |
33 |
dev-qt/qtwebsockets:5
|
38 |
34 |
dev-qt/qtwidgets:5
|
39 |
|
net-libs/libsrtp:0
|
40 |
|
sys-libs/zlib:0/1
|
41 |
|
virtual/udev
|
|
35 |
sys-libs/libunwind
|
42 |
36 |
alsa? ( media-libs/alsa-lib )
|
43 |
37 |
pulseaudio? ( media-libs/libpulse )
|
44 |
38 |
system-libcxx? ( sys-libs/libcxx[libcxxabi] )
|
... | ... | |
48 |
42 |
QA_PREBUILT="
|
49 |
43 |
opt/teamspeak3-client/libc++.so.1
|
50 |
44 |
opt/teamspeak3-client/libc++abi.so.1
|
|
45 |
opt/teamspeak3-client/libquazip.so
|
51 |
46 |
opt/teamspeak3-client/error_report
|
52 |
47 |
opt/teamspeak3-client/package_inst
|
53 |
48 |
opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
|
54 |
|
opt/teamspeak3-client/soundbackends/libpulseaudio_linux_*.so
|
55 |
49 |
opt/teamspeak3-client/ts3client
|
56 |
50 |
opt/teamspeak3-client/update
|
57 |
51 |
"
|
... | ... | |
63 |
57 |
rm soundbackends/libalsa_linux_*.so || die
|
64 |
58 |
fi
|
65 |
59 |
|
66 |
|
if ! use pulseaudio ; then
|
67 |
|
rm soundbackends/libpulseaudio_linux_*.so || die
|
68 |
|
fi
|
69 |
|
|
70 |
60 |
mv ts3client_linux_* ts3client || die
|
71 |
61 |
|
72 |
62 |
# Fixes QA Notice: Unresolved soname dependencies.
|
... | ... | |
82 |
72 |
done
|
83 |
73 |
fi
|
84 |
74 |
|
|
75 |
# Fixes QA Notice: Unresolved soname dependencies.
|
|
76 |
# Since this is a binary only package, it must be patched.
|
|
77 |
local soname_files=( "libc++abi.so.1" "libc++.so.1" )
|
|
78 |
for soname_file in ${soname_files[@]}; do
|
|
79 |
patchelf --replace-needed libunwind.so.1 libunwind.so.8 "${soname_file}" || die
|
|
80 |
done
|
|
81 |
|
85 |
82 |
tc-export CXX
|
86 |
83 |
}
|
87 |
84 |
|