summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-05-04 11:05:55 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-05-04 16:52:57 +0200
commit4ab46a87ab9666af549c437c1aff208c0f8e9c39 (patch)
tree14b70e6faad62f9c3c1149b20d1b26b111d3fc43 /media-sound
parentapp-doc/pms: Remove empty variable assignments. (diff)
downloadgentoo-4ab46a87ab9666af549c437c1aff208c0f8e9c39.tar.gz
gentoo-4ab46a87ab9666af549c437c1aff208c0f8e9c39.tar.bz2
gentoo-4ab46a87ab9666af549c437c1aff208c0f8e9c39.zip
media-sound/teamspeak-client-bin: Bump to version 3.1.8
Closes: https://bugs.gentoo.org/606934 Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/teamspeak-client-bin/Manifest2
-rw-r--r--media-sound/teamspeak-client-bin/files/ts3client-bin10
-rw-r--r--media-sound/teamspeak-client-bin/metadata.xml36
-rw-r--r--media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.8.ebuild92
4 files changed, 127 insertions, 13 deletions
diff --git a/media-sound/teamspeak-client-bin/Manifest b/media-sound/teamspeak-client-bin/Manifest
index c1c0ba929b28..14264fe2616e 100644
--- a/media-sound/teamspeak-client-bin/Manifest
+++ b/media-sound/teamspeak-client-bin/Manifest
@@ -1,2 +1,4 @@
DIST TeamSpeak3-Client-linux_amd64-3.0.19.4.run 37054436 BLAKE2B 719b39102c0a6d4c932db83c502eae6dece7530c39b16b7c453b8e34a97fb0371a9de84fd12242f5f3920c135aefaed75fd8e0e28bf960a9a0d598d6b1e74e8b SHA512 fca7303a9c75bbab4945c9336c78115b28b3f14b278ffccb8453d7b29eabf1cd7147697bf0042bc625a9108db653468e8f0ebc4b29cf00d48f5438c919efa8c7
+DIST TeamSpeak3-Client-linux_amd64-3.1.8.run 76052606 BLAKE2B 7d69c964b4d5adf2fd566fb6a0245e80cf93ca8f6a281ba41162fa87e23e9b072c4a2f73f7ffc7cf6d8050dc98bb62f1d735c7a9d04ea023e7834db320af04df SHA512 a3bb7ec87995ef61de3b010c3c125b6f1c05fc456966e7ac95b872a97cebcd2235204cd3d0bb9f9d32f66ae3b773467075f8e48650553541771b4216fbc5db89
DIST TeamSpeak3-Client-linux_x86-3.0.19.4.run 36627204 BLAKE2B b31ec9a0667057538bc428b4735cfddb041492bce797294af33a483c2b04dd8fb8a65277e5296dec6620189221b37728e088101c4d220ba843806ebec5efcc5f SHA512 ec52a78e5753716ba81602ecd60a2440a08ec4fc777d7d560dd714ae4b80fe7befceb5271c11d2eae46dbc3cbf71f0eca4976a44510bc66a51f5ebe39745d2db
+DIST TeamSpeak3-Client-linux_x86-3.1.8.run 75780927 BLAKE2B 1de77d23de56bf9530ae2eb124c4b6f1466a48d567ed0d37eaedbf26f7eb84cdb0822f92db9c0665d094b82022b436ec9f2f01ebcd92f3f604af16a8db2b0fc9 SHA512 b6fa5a9bc48cc71834b12b39f8746085419359875d00a07c238938e00c7bd837e6eb0da756c09593536a7036f5b2bc2ac43eb3c6a33bf5e797c38ff93bb5a7b8
diff --git a/media-sound/teamspeak-client-bin/files/ts3client-bin b/media-sound/teamspeak-client-bin/files/ts3client-bin
new file mode 100644
index 000000000000..c59e278f390c
--- /dev/null
+++ b/media-sound/teamspeak-client-bin/files/ts3client-bin
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Sets BASEDIR for teamspeak3-client
+BASEDIR="/opt/teamspeak3-client"
+
+# Work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
+export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
+
+# Launch teamspeak3-client
+cd "${BASEDIR}" && exec "${BASEDIR}/ts3client" $*
diff --git a/media-sound/teamspeak-client-bin/metadata.xml b/media-sound/teamspeak-client-bin/metadata.xml
index be0dbf94ebde..0842b401d4c6 100644
--- a/media-sound/teamspeak-client-bin/metadata.xml
+++ b/media-sound/teamspeak-client-bin/metadata.xml
@@ -1,17 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>gentoo@karolherbst.de</email>
- <name>Karol Herbst</name>
- </maintainer>
- <maintainer type="person">
- <email>dryatu@gmail.com</email>
- <name>Sami Loone</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription>TeamSpeak Client (Voice Communication Software)</longdescription>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>gentoo@karolherbst.de</email>
+ <name>Karol Herbst</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>dryatu@gmail.com</email>
+ <name>Sami Loone</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ TeamSpeak is a proprietary voice-over-Internet Protocol (VoIP) application
+ for audio communication between users on a chat channel, much like a telephone conference call.
+ Users typically use headphones with a microphone.
+ The client software connects to a TeamSpeak server of the user's choice,
+ from which the user may join chat channels.
+ </longdescription>
</pkgmetadata>
diff --git a/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.8.ebuild b/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.8.ebuild
new file mode 100644
index 000000000000..9c6ffe96819e
--- /dev/null
+++ b/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.8.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop unpacker xdg-utils
+
+DESCRIPTION="A client software for quality voice communication via the internet"
+HOMEPAGE="https://www.teamspeak.com/"
+SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
+ x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="teamspeak3"
+SLOT="0"
+IUSE="alsa pulseaudio"
+REQUIRED_USE="|| ( alsa pulseaudio )"
+
+RDEPEND="app-arch/snappy:=
+ <dev-libs/openssl-1.1:0=
+ dev-libs/quazip
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[accessibility,dbus,xcb]
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5[geolocation,widgets]
+ dev-qt/qtwidgets:5
+ net-libs/libsrtp:=
+ sys-libs/libcxx[libcxxabi]
+ sys-libs/zlib:=
+ virtual/udev
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio )"
+
+RESTRICT="mirror strip"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/teamspeak3-client/error_report
+ opt/teamspeak3-client/package_inst
+ opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
+ opt/teamspeak3-client/soundbackends/libpulseaudio_linux_*.so
+ opt/teamspeak3-client/ts3client
+ opt/teamspeak3-client/update"
+
+src_prepare() {
+ default
+
+ if ! use alsa; then
+ rm -f soundbackends/libalsa_linux_*.so || die
+ fi
+ if ! use pulseaudio ; then
+ rm -f soundbackends/libpulseaudio_linux_*.so || die
+ fi
+
+ mv ts3client_linux_* ts3client || die
+}
+
+src_install() {
+ exeinto /opt/teamspeak3-client
+ doexe error_report package_inst ts3client "${FILESDIR}"/ts3client-bin update
+
+ exeinto /opt/teamspeak3-client/soundbackends
+ doexe soundbackends/*.so
+
+ local folders=( "gfx" "html" "resources" "sound" "styles" "translations" )
+ for folder in ${folders[@]}; do
+ insinto /opt/teamspeak3-client
+ doins -r ${folder}
+ done
+
+ dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
+
+ dodir /opt/bin
+ dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
+
+ make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" /opt/teamspeak3-client/styles/default/logo-128x128.png "Audio;AudioVideo;Network"
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}