diff options
author | 2017-10-06 19:32:36 -0600 | |
---|---|---|
committer | 2017-10-06 19:32:36 -0600 | |
commit | 68e0a3a76142d9caaf5db02c4b32b381d2f08c34 (patch) | |
tree | 7e871ae437f3d83888812d1fa4e9fdff20cbb1e8 | |
parent | Add support for app-admin/webmin-1.850 (diff) | |
download | vmacs-68e0a3a76142d9caaf5db02c4b32b381d2f08c34.tar.gz vmacs-68e0a3a76142d9caaf5db02c4b32b381d2f08c34.tar.bz2 vmacs-68e0a3a76142d9caaf5db02c4b32b381d2f08c34.zip |
Add support for media-sound/teamspeak-3.1.6
4 files changed, 112 insertions, 0 deletions
diff --git a/media-sound/teamspeak-client-bin/Manifest b/media-sound/teamspeak-client-bin/Manifest new file mode 100644 index 0000000..051c886 --- /dev/null +++ b/media-sound/teamspeak-client-bin/Manifest @@ -0,0 +1,5 @@ +AUX teamspeak3 258 SHA256 42a5e2a879af2b1f539240a75315f4ff65fdf20d90d8c3984f234ba5cf9869f3 SHA512 b587b3991e927922854f155ac61e8d923a6b84a1da88a040277d670203be7dc11b5fbf79508d3894e94a2686da1758781b158c7598c8a61b151798c6a7b1880e WHIRLPOOL 8c542bed81d5f04418b30a39ac63eb4a43f2ab9d339d7f197fd78e674e7908c8696b78c04fd5400916b30c849868adb948c79748f0ba8d1052d507fb6a9c6d3a +DIST TeamSpeak3-Client-linux_amd64-3.1.6.run 75968503 SHA256 53fda7bc9137c712f1d30163b54981e4ae9c46bec76585a9b0fa87397dd19859 SHA512 25fc0629a58e04b1012157d723a5acace6cc1afc2809864689e2d8005a15ff588bdfc12227742e43379de86edee21dd34b707f3341051dcda8db41824cd75b8e WHIRLPOOL ad9fb0d1b8324f2964319b314e4816e701afe5a65b2c5ec8ed4021935f5eb14ec5373812e32489edeb22895c6a5ab03d099fd6848ab6fa2914017c44baea35a3 +DIST TeamSpeak3-Client-linux_x86-3.1.6.run 75700308 SHA256 222e8abb24de9e3ea00fca10be32340ad88859a4d811afa644c5096aada4996d SHA512 b0502658e3fe29b4155dce4ce0d115fafe3809a48088235d371ad2fa564ed960996cbaae7fc0164458ec8b3be6bfb2e9eb16f0d4eb919f52370b459e2b59b211 WHIRLPOOL d875711bdb1f29e9ce5966b753fbe731b1c40782893e975a40f756512449df4d6b2590a3dcc86b141a92e31c745d8a5a5152c9ac2a830420ccbe170aaa45491a +EBUILD teamspeak-client-bin-3.1.6.ebuild 1927 SHA256 2dbc6975d8de9f2770e7d26a17f98a560345cb38c62de4a034709f9483ca5b2e SHA512 08e6b811989c7a268f037c2bd50ce8170d3551b378a459c6c2fc45ed55666e35ea33b1a4eefc26a01116948fabe43db264a78808f8c83635ff5ce7ccddeddcdb WHIRLPOOL 6bf0f346bd1baabeb92afb999672ce5d3d070d725203d90c04d42ebfb46181125e02e80a661e1cb7f7d108a40eb3c0a864dbac095ec2b50e05606c6874bf6886 +MISC metadata.xml 708 SHA256 ecf68ba8dd7bc1bf2610747d1530a550b251f319e0f4c717e7e6cbb6ff4e4981 SHA512 192cb133ecea4239ed304883cf71d6328b5926db9d9a513ad0cdb049205195f20fd480ba1228a7990ae26cd5761a3c36e39ce358f30456aa137d1247435ddd9b WHIRLPOOL 0b8016f8b778764ac6c9d7f674b90d108cf7d84dd9b42c7642528321c3c74b61ff895e7fc803fac675b8982538320227a967c15067fd5cd1da4ca40d2d0e5cd5 diff --git a/media-sound/teamspeak-client-bin/files/teamspeak3 b/media-sound/teamspeak-client-bin/files/teamspeak3 new file mode 100644 index 0000000..d598f01 --- /dev/null +++ b/media-sound/teamspeak-client-bin/files/teamspeak3 @@ -0,0 +1,10 @@ +#! /bin/sh + +BASEDIR="/opt/teamspeak3-client" + +export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}" + +# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH +cd "${BASEDIR}" + +exec "${BASEDIR}/ts3client" "$@" diff --git a/media-sound/teamspeak-client-bin/metadata.xml b/media-sound/teamspeak-client-bin/metadata.xml new file mode 100644 index 0000000..797f525 --- /dev/null +++ b/media-sound/teamspeak-client-bin/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>gentoo@karolherbst.de</email> + <name>Karol Herbst</name> + <description>Proxy-Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer type="person"> + <email>dryatu@gmail.com</email> + <name>Sami Loone</name> + <description>Proxy-Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription>TeamSpeak Client (Voice Communication Software)</longdescription> +</pkgmetadata> diff --git a/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.6.ebuild b/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.6.ebuild new file mode 100644 index 0000000..ede5cd8 --- /dev/null +++ b/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.1.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils unpacker + +DESCRIPTION="TeamSpeak Client - Voice Communication Software" +HOMEPAGE="http://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 )" + +LICENSE="teamspeak3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="alsa pulseaudio" + +REQUIRED_USE="|| ( alsa pulseaudio )" + +RDEPEND=" + dev-libs/quazip[-qt4,qt5] + dev-qt/qtcore:5 + dev-qt/qtgui:5[accessibility] + dev-qt/qtnetwork:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtwidgets:5 + sys-libs/glibc + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio )" + +RESTRICT="mirror strip" + +S="${WORKDIR}" + +pkg_nofetch() { + elog "Please download ${A}" + elog "from ${HOMEPAGE}?page=downloads and place this" + elog "file in ${DISTDIR}" +} + +src_prepare() { + default + + # Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807. + rm libQt* || die "Couldn't remove bundled Qt libraries." + + rm -r platforms sqldrivers qt.conf || die "Couldn't remove bundle Qt files." + + # Remove unwanted soundbackends. + if ! use alsa ; then + rm soundbackends/libalsa* || die + fi + + if ! use pulseaudio ; then + rm soundbackends/libpulseaudio* || die + fi + + # Remove quazip + rm libquazip.so || die + + # Rename the tsclient to its shorter version, required by the teamspeak3 script we install. + mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version." +} + +src_install() { + insinto /opt/teamspeak3-client + doins -r * + + fperms +x /opt/teamspeak3-client/ts3client + + dobin "${FILESDIR}/teamspeak3" + + make_desktop_entry teamspeak3 TeamSpeak3 \ + "/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \ + Network +} |