/[gentoo-x86]/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.10.ebuild
Gentoo

Contents of /media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 7 20:25:49 2013 UTC (7 years, 3 months ago) by tomwij
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump to 3.0.11.1. Removed old.

(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 # Copyright 1999-2013 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.10.ebuild,v 1.2 2013/04/15 12:54:05 tomwij Exp $
4
5 EAPI=5
6
7 inherit eutils unpacker
8
9 DESCRIPTION="TeamSpeak Client - Voice Communication Software"
10 HOMEPAGE="http://www.teamspeak.com/"
11 LICENSE="teamspeak3"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 RESTRICT="fetch mirror strip"
15
16 SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
17 x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )"
18
19 RDEPEND="dev-qt/qtgui:4[accessibility,xinerama]
20 dev-qt/qtsql:4"
21
22 S="${WORKDIR}"
23
24 pkg_nofetch() {
25 if use amd64 ; then
26 einfo "Please download TeamSpeak3-Client-linux_amd64-${PV/_/-}.run"
27 elif use x86 ; then
28 einfo "Please download TeamSpeak3-Client-linux_x86-${PV/_/-}.run"
29 fi
30 einfo "from ${HOMEPAGE}?page=downloads and place this"
31 einfo "file in ${DISTDIR}"
32 }
33
34 src_prepare() {
35 # Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807.
36 rm libQt* || die "Couldn't remove bundled Qt libraries."
37
38 # Rename the tsclient to its shorter version, required by the teamspeak3 script we install.
39 mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version."
40 }
41
42 src_install() {
43 dodir /opt/teamspeak3-client
44 insinto /opt/teamspeak3-client
45 doins -r *
46
47 fperms +x /opt/teamspeak3-client/ts3client
48
49 exeinto /usr/bin
50 doexe "${FILESDIR}/teamspeak3"
51
52 make_desktop_entry teamspeak3 TeamSpeak3 \
53 "/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \
54 Network
55 }

  ViewVC Help
Powered by ViewVC 1.1.20