Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add teamspeak-client-bin

  • Loading branch information...
commit f7241d445aeede8699a766b40c11f17670bc5b03 1 parent fd96a18
Mariusz Kozakowski authored
4  media-sound/teamspeak-client-bin/Manifest
... ...
@@ -0,0 +1,4 @@
  1
+AUX teamspeak3 258 RMD160 d86230aadcb8a511bbb5194e3e97ed81c7fe802d SHA1 7c52964c88b5fedca18e9c75f7d5111ef43af867 SHA256 42a5e2a879af2b1f539240a75315f4ff65fdf20d90d8c3984f234ba5cf9869f3
  2
+DIST TeamSpeak3-Client-linux_amd64-3.0.7.run 31746331 RMD160 7d094df6dea38071fd7267056f9a1917af3df817 SHA1 da489fd8b92a95a2b4c4ae5343b5270bf567cbec SHA256 d89a6a025a98237536da3be1c49599e1e1f40d11b8dc262a52ca77b7e33f659d
  3
+DIST TeamSpeak3-Client-linux_x86-3.0.7.run 32027962 RMD160 30520954e0d791b1d7f4fad662fd0d7bd3f54a43 SHA1 db39e6853c61c766639c6b6685ac9367cf8d6d25 SHA256 00f5930c7073ec14d58c3a73d1e64d435bc2cec5c667f0c22b0ee6bf09ab1a4b
  4
+EBUILD teamspeak-client-bin-3.0.7.ebuild 1261 RMD160 3e619dee0e8e589a3da1c8c2ac3c489cd3db5682 SHA1 ba3b30fa72018b0b5972fb4d083dea5a04155d8a SHA256 12b3dc1014509a6948f4077fb1966a30c266726530091d587f6da69d00f2402b
10  media-sound/teamspeak-client-bin/files/teamspeak3
... ...
@@ -0,0 +1,10 @@
  1
+#! /bin/sh
  2
+
  3
+BASEDIR="/opt/teamspeak3-client"
  4
+
  5
+export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
  6
+
  7
+# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
  8
+cd "${BASEDIR}"
  9
+
  10
+exec "${BASEDIR}/ts3client" "$@"
47  media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.7.ebuild
... ...
@@ -0,0 +1,47 @@
  1
+# Copyright 1999-2012 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.6.ebuild,v 1.1 2012/05/09 11:49:45 polynomial-c Exp $
  4
+
  5
+EAPI=1
  6
+
  7
+inherit eutils unpacker
  8
+
  9
+DESCRIPTION="TeamSpeak Client - Voice Communication Software"
  10
+HOMEPAGE="http://teamspeak.com/"
  11
+LICENSE="teamspeak3"
  12
+SLOT="0"
  13
+KEYWORDS="~amd64 ~x86"
  14
+IUSE=""
  15
+RESTRICT="strip"
  16
+PROPERTIES="interactive"
  17
+
  18
+SRC_URI="
  19
+	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
  20
+	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
  21
+"
  22
+
  23
+DEPEND=""
  24
+RDEPEND="${DEPEND}
  25
+		x11-libs/qt-gui:4
  26
+		>=x11-libs/libXinerama-1.0.2"
  27
+
  28
+src_install() {
  29
+	local dest="${D}/opt/teamspeak3-client"
  30
+
  31
+	mkdir -p "${dest}"
  32
+
  33
+	# remove the qt-libraries as they just cause trouble with the system's Qt
  34
+	# see bug #328807
  35
+	rm "${WORKDIR}"/libQt* || die
  36
+
  37
+	cp -R "${WORKDIR}/"* "${dest}/" || die
  38
+
  39
+	exeinto /usr/bin
  40
+	doexe "${FILESDIR}/teamspeak3"
  41
+
  42
+	mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
  43
+
  44
+	make_desktop_entry teamspeak3 TeamSpeak3 \
  45
+		"/opt/teamspeak3-client/gfx/default/24x24_connect.png" \
  46
+		Network
  47
+}

0 notes on commit f7241d4

Please sign in to comment.
Something went wrong with that request. Please try again.