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

Contents of /media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.10.1.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.1.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/qtcore:4
20 dev-qt/qtgui:4[accessibility,xinerama]
21 dev-qt/qtsql:4
22 sys-libs/glibc
23 sys-libs/zlib"
24
25 S="${WORKDIR}"
26
27 pkg_nofetch() {
28 if use amd64 ; then
29 einfo "Please download TeamSpeak3-Client-linux_amd64-${PV/_/-}.run"
30 elif use x86 ; then
31 einfo "Please download TeamSpeak3-Client-linux_x86-${PV/_/-}.run"
32 fi
33 einfo "from ${HOMEPAGE}?page=downloads and place this"
34 einfo "file in ${DISTDIR}"
35 }
36
37 src_prepare() {
38 # Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807.
39 rm libQt* || die "Couldn't remove bundled Qt libraries."
40
41 # Rename the tsclient to its shorter version, required by the teamspeak3 script we install.
42 mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version."
43 }
44
45 src_install() {
46 dodir /opt/teamspeak3-client
47 insinto /opt/teamspeak3-client
48 doins -r *
49
50 fperms +x /opt/teamspeak3-client/ts3client
51
52 exeinto /usr/bin
53 doexe "${FILESDIR}/teamspeak3"
54
55 make_desktop_entry teamspeak3 TeamSpeak3 \
56 "/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \
57 Network
58 }

  ViewVC Help
Powered by ViewVC 1.1.20