1 |
commit: 32d203b37ab908ca43d0d9c74924e27a052225c5 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 23:12:06 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 12:53:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d203b3 |
7 |
|
8 |
media-sound/teamspeak-client: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
.../teamspeak-client-3.5.6-r3.ebuild | 116 --------------------- |
14 |
1 file changed, 116 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.5.6-r3.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.5.6-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 75182652f20..00000000000 |
19 |
--- a/media-sound/teamspeak-client/teamspeak-client-3.5.6-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,116 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-MY_PV="${PV/_/-}" |
28 |
-inherit desktop toolchain-funcs unpacker xdg-utils |
29 |
- |
30 |
-DESCRIPTION="A client software for quality voice communication via the internet" |
31 |
-HOMEPAGE="https://www.teamspeak.com/" |
32 |
-SRC_URI=" |
33 |
- amd64? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run ) |
34 |
- x86? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_x86-${MY_PV}.run ) |
35 |
-" |
36 |
- |
37 |
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )" |
38 |
-SLOT="3" |
39 |
-KEYWORDS="-* amd64 x86" |
40 |
-IUSE="+alsa pulseaudio system-libcxx" |
41 |
- |
42 |
-REQUIRED_USE="|| ( alsa pulseaudio )" |
43 |
-RESTRICT="bindist mirror" |
44 |
- |
45 |
-BDEPEND=">=dev-util/patchelf-0.10" |
46 |
-RDEPEND=" |
47 |
- app-arch/snappy:0/1 |
48 |
- dev-libs/openssl:0 |
49 |
- dev-libs/quazip:0= |
50 |
- dev-qt/qtcore:5 |
51 |
- dev-qt/qtgui:5[accessibility,dbus,X(-)] |
52 |
- dev-qt/qtnetwork:5 |
53 |
- dev-qt/qtsql:5[sqlite] |
54 |
- dev-qt/qtsvg:5 |
55 |
- dev-qt/qtwebchannel:5 |
56 |
- dev-qt/qtwebengine:5[geolocation(+),widgets] |
57 |
- dev-qt/qtwebsockets:5 |
58 |
- dev-qt/qtwidgets:5 |
59 |
- net-libs/libsrtp:0 |
60 |
- sys-libs/zlib:0/1 |
61 |
- virtual/udev |
62 |
- alsa? ( media-libs/alsa-lib ) |
63 |
- pulseaudio? ( media-sound/pulseaudio ) |
64 |
- system-libcxx? ( sys-libs/libcxx[libcxxabi] ) |
65 |
-" |
66 |
- |
67 |
-S="${WORKDIR}" |
68 |
- |
69 |
-QA_PREBUILT=" |
70 |
- opt/teamspeak3-client/libc++.so.1 |
71 |
- opt/teamspeak3-client/libc++abi.so.1 |
72 |
- opt/teamspeak3-client/error_report |
73 |
- opt/teamspeak3-client/package_inst |
74 |
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so |
75 |
- opt/teamspeak3-client/soundbackends/libpulseaudio_linux_*.so |
76 |
- opt/teamspeak3-client/ts3client |
77 |
- opt/teamspeak3-client/update |
78 |
-" |
79 |
- |
80 |
-src_prepare() { |
81 |
- default |
82 |
- |
83 |
- if ! use alsa; then |
84 |
- rm soundbackends/libalsa_linux_*.so || die |
85 |
- fi |
86 |
- |
87 |
- if ! use pulseaudio ; then |
88 |
- rm soundbackends/libpulseaudio_linux_*.so || die |
89 |
- fi |
90 |
- |
91 |
- mv ts3client_linux_* ts3client || die |
92 |
- |
93 |
- # Fixes QA Notice: Unresolved soname dependencies. |
94 |
- # Since this is a binary only package, it must be patched. |
95 |
- local quazip_so="libquazip1-qt5.so" |
96 |
- if has_version "<dev-libs/quazip-1.0"; then |
97 |
- quazip_so="libquazip5.so.1" |
98 |
- fi |
99 |
- local soname_files=( "error_report" "ts3client" ) |
100 |
- for soname_file in ${soname_files[@]}; do |
101 |
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die |
102 |
- done |
103 |
- |
104 |
- tc-export CXX |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- exeinto /opt/teamspeak3-client |
109 |
- doexe error_report package_inst ts3client update |
110 |
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin |
111 |
- ! use system-libcxx && doexe libc++{,abi}.so.1 |
112 |
- |
113 |
- exeinto /opt/teamspeak3-client/soundbackends |
114 |
- doexe soundbackends/*.so |
115 |
- |
116 |
- insinto /opt/teamspeak3-client |
117 |
- doins -r gfx html resources sound styles translations |
118 |
- |
119 |
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess |
120 |
- |
121 |
- dodir /opt/bin |
122 |
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client |
123 |
- |
124 |
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" /opt/teamspeak3-client/styles/default/logo-128x128.png "Audio;AudioVideo;Network" |
125 |
- |
126 |
- einstalldocs |
127 |
-} |
128 |
- |
129 |
-pkg_postinst() { |
130 |
- xdg_desktop_database_update |
131 |
- xdg_mimeinfo_database_update |
132 |
-} |
133 |
- |
134 |
-pkg_postrm() { |
135 |
- xdg_desktop_database_update |
136 |
- xdg_mimeinfo_database_update |
137 |
-} |