summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-06-24 16:56:04 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-24 17:08:20 +0200
commit76390511b3f5c918b670ab4f1b3ba08859dbe6b5 (patch)
tree1ac92aea1a58c4f49ee0b2f112c40af324f402ab /media-sound/teamspeak-client
parentdev-ada/gnatcoll-bindings: Do not require libiconv (diff)
downloadgentoo-76390511b3f5c918b670ab4f1b3ba08859dbe6b5.tar.gz
gentoo-76390511b3f5c918b670ab4f1b3ba08859dbe6b5.tar.bz2
gentoo-76390511b3f5c918b670ab4f1b3ba08859dbe6b5.zip
media-sound/teamspeak-client-bin: renamed by dropping -bin suffix
Diffstat (limited to 'media-sound/teamspeak-client')
-rw-r--r--media-sound/teamspeak-client/Manifest2
-rw-r--r--media-sound/teamspeak-client/files/ts3client-bin10
-rw-r--r--media-sound/teamspeak-client/metadata.xml19
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.1.10.ebuild94
4 files changed, 125 insertions, 0 deletions
diff --git a/media-sound/teamspeak-client/Manifest b/media-sound/teamspeak-client/Manifest
new file mode 100644
index 000000000000..af25b788a916
--- /dev/null
+++ b/media-sound/teamspeak-client/Manifest
@@ -0,0 +1,2 @@
+DIST TeamSpeak3-Client-linux_amd64-3.1.10.run 75971703 BLAKE2B 0b48b15d15af5b78d06a3c80b4aae964883bed5508685d22dbfeba30adecf5bc4b7e3dab54ca13f828eae7d2c24640037fb378581d726d81f4df26d5aa8f8929 SHA512 5a83c8a24e5af0353d15c28fdc8cfd840fbf071f5a25fbbc8f672bdec0afd374663826d42901329657596a6f3fa88774b3a1d9acad9fcc9fa0f41fc426043b3e
+DIST TeamSpeak3-Client-linux_x86-3.1.10.run 75706398 BLAKE2B 534079d00510d1d12fbdfd759b9e1f730da0afb4df813afaf389b2f63781d2d27bdaf6bc9ea1f3a92ab31b07a7f1bd190f647a1fc2491f43946396d2db68596f SHA512 81e70223c3257b74334b78928060bf7204ef4d79e5a09dd8b196c628361cdce88d6e8908bc99c2b40997d218fcfc0185073637275c1712a03b241537be3e56e6
diff --git a/media-sound/teamspeak-client/files/ts3client-bin b/media-sound/teamspeak-client/files/ts3client-bin
new file mode 100644
index 000000000000..c59e278f390c
--- /dev/null
+++ b/media-sound/teamspeak-client/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/metadata.xml b/media-sound/teamspeak-client/metadata.xml
new file mode 100644
index 000000000000..9c659d70a2cf
--- /dev/null
+++ b/media-sound/teamspeak-client/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</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/teamspeak-client-3.1.10.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.1.10.ebuild
new file mode 100644
index 000000000000..806dc9b21dca
--- /dev/null
+++ b/media-sound/teamspeak-client/teamspeak-client-3.1.10.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop unpacker xdg-utils
+
+MY_PV="${PV/_/-}"
+
+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-${MY_PV}.run )
+ x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${MY_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
+}