Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-client/
Date: Fri, 19 Oct 2018 22:00:00
Message-Id: 1539986387.4060bf620b778c696a3b63200cb091ed1b37d2fb.monsieurp@gentoo
1 commit: 4060bf620b778c696a3b63200cb091ed1b37d2fb
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Thu Oct 18 10:08:50 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 19 21:59:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4060bf62
7
8 media-sound/teamspeak-client: bump to version 3.2.3
9
10 Also bumped to EAPI=7.
11
12 Closes: https://bugs.gentoo.org/667744
13
14 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16 Closes: https://github.com/gentoo/gentoo/pull/10165
17 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
18
19 media-sound/teamspeak-client/Manifest | 2 +
20 .../teamspeak-client/teamspeak-client-3.2.3.ebuild | 95 ++++++++++++++++++++++
21 2 files changed, 97 insertions(+)
22
23 diff --git a/media-sound/teamspeak-client/Manifest b/media-sound/teamspeak-client/Manifest
24 index bc6c8114a78..8c49a281b90 100644
25 --- a/media-sound/teamspeak-client/Manifest
26 +++ b/media-sound/teamspeak-client/Manifest
27 @@ -1,2 +1,4 @@
28 DIST TeamSpeak3-Client-linux_amd64-3.2.2.run 76227220 BLAKE2B 86a50064e01a496dd68559a3fa92003bf674cb59e714a45e6d12b2e6c2b33988b6ee7b76f474b35f1c08ae17fe430e8882c271e1751381df74c4dd5f7d552c42 SHA512 3edc003d721494e914fa74ae3d2666c795c5beb7feae7cc3b379d06447acb3e0941d9c5e2495e8bec8c1c1f5e25b5b31767ea214d198b2e320fc6a7925fdc541
29 +DIST TeamSpeak3-Client-linux_amd64-3.2.3.run 76247769 BLAKE2B 2fc226455bf839811ad82735c30f493ac9800e6f5f2f3af2d34bcbce3abd7478144feff329c3afa31d994a891990ecae5f51aa3fa001fe828d4ae0bba60fc6e9 SHA512 6f2a0e366589a3495be3ecbe3e866e1d05db3578ed1e2bf19195e6d6818acc1ddb44b46915aa88ff64ac6cc150d3b88b3347147bb0cde93e013aa7960c10dfab
30 DIST TeamSpeak3-Client-linux_x86-3.2.2.run 75976893 BLAKE2B 0d0396f2fdd0d61c5e1fc1daec9978e6f4ebb82511b80c97bbc86d97bcbf3237e17064666212d8ba2650dc173cef8774acc38027241247c233c14e41ed697807 SHA512 3ca1a8602a9df3ee7669d3f226a44354a92ef5b3f52b720ac7a91dbd50331c609a46a1ae83d39c82dea8f6fc0a5f32245525ab601f7fd329521478ef29909027
31 +DIST TeamSpeak3-Client-linux_x86-3.2.3.run 75997823 BLAKE2B 03403430d6409ceebcbdfcdb48b54142327a003c300a3bcbd63f9fb6e40c259f50ee9346fe54fbbb3a19143bacb782248f5b61d2a950f893e8227568a2df1839 SHA512 ad6ea2d5f8237585859c5deac11e0f0b6af6018b2a92fe0aab2a04cfdeab0bd57166bf4fec273d48fedd20819203cba2fd58c3a76b59ec3224e867fc10172808
32
33 diff --git a/media-sound/teamspeak-client/teamspeak-client-3.2.3.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.2.3.ebuild
34 new file mode 100644
35 index 00000000000..816b907b9fe
36 --- /dev/null
37 +++ b/media-sound/teamspeak-client/teamspeak-client-3.2.3.ebuild
38 @@ -0,0 +1,95 @@
39 +# Copyright 1999-2018 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI="7"
43 +
44 +inherit desktop unpacker xdg-utils
45 +
46 +MY_PV="${PV/_/-}"
47 +
48 +DESCRIPTION="A client software for quality voice communication via the internet"
49 +HOMEPAGE="https://www.teamspeak.com/"
50 +SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run )
51 + x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${MY_PV}.run )"
52 +
53 +KEYWORDS="-* ~amd64 ~x86"
54 +LICENSE="teamspeak3"
55 +SLOT="0"
56 +IUSE="alsa pulseaudio"
57 +REQUIRED_USE="|| ( alsa pulseaudio )"
58 +
59 +RDEPEND="
60 + app-arch/snappy:0/1
61 + <dev-libs/openssl-1.1:0
62 + dev-libs/quazip
63 + dev-qt/qtcore:5
64 + dev-qt/qtgui:5[accessibility,dbus,xcb]
65 + dev-qt/qtnetwork:5
66 + dev-qt/qtsql:5[sqlite]
67 + dev-qt/qtsvg:5
68 + dev-qt/qtwebchannel:5
69 + dev-qt/qtwebengine:5[geolocation,widgets]
70 + dev-qt/qtwidgets:5
71 + net-libs/libsrtp:0
72 + sys-libs/libcxx[libcxxabi]
73 + sys-libs/zlib:0/1
74 + virtual/udev
75 + alsa? ( media-libs/alsa-lib )
76 + pulseaudio? ( media-sound/pulseaudio )
77 +"
78 +
79 +RESTRICT="mirror"
80 +
81 +S="${WORKDIR}"
82 +
83 +QA_PREBUILT="
84 + opt/teamspeak3-client/error_report
85 + opt/teamspeak3-client/package_inst
86 + opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
87 + opt/teamspeak3-client/soundbackends/libpulseaudio_linux_*.so
88 + opt/teamspeak3-client/ts3client
89 + opt/teamspeak3-client/update
90 +"
91 +
92 +src_prepare() {
93 + default
94 +
95 + if ! use alsa; then
96 + rm -f soundbackends/libalsa_linux_*.so || die
97 + fi
98 + if ! use pulseaudio ; then
99 + rm -f soundbackends/libpulseaudio_linux_*.so || die
100 + fi
101 +
102 + mv ts3client_linux_* ts3client || die
103 +}
104 +
105 +src_install() {
106 + exeinto /opt/teamspeak3-client
107 + doexe error_report package_inst ts3client "${FILESDIR}"/ts3client-bin update
108 +
109 + exeinto /opt/teamspeak3-client/soundbackends
110 + doexe soundbackends/*.so
111 +
112 + insinto /opt/teamspeak3-client
113 + doins -r gfx html resources sound styles translations
114 +
115 + dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
116 +
117 + dodir /opt/bin
118 + dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
119 +
120 + make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" /opt/teamspeak3-client/styles/default/logo-128x128.png "Audio;AudioVideo;Network"
121 +
122 + einstalldocs
123 +}
124 +
125 +pkg_postinst() {
126 + xdg_desktop_database_update
127 + xdg_mimeinfo_database_update
128 +}
129 +
130 +pkg_postrm() {
131 + xdg_desktop_database_update
132 + xdg_mimeinfo_database_update
133 +}