/[gentoo-x86]/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta32-r2.ebuild
Gentoo

Contents of /media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta32-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jun 3 07:25:04 2011 UTC (9 years, 6 months ago) by trapni
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump and cleanup

(Portage version: 2.1.9.50/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.0_beta32-r2.ebuild,v 1.1 2010/10/23 23:47:32 trapni Exp $
4
5 # NOTE: The comments in this file are for instruction and documentation.
6 # They're not meant to appear with your final, production ebuild. Please
7 # remember to remove them before submitting or committing your ebuild. That
8 # doesn't mean you can't add your own comments though.
9
10 # The 'Header' on the third line should just be left alone. When your ebuild
11 # will be committed to cvs, the details on that line will be automatically
12 # generated to contain the correct data.
13
14 EAPI=1
15
16 inherit eutils
17
18 DESCRIPTION="TeamSpeak Client - Voice Communication Software"
19 HOMEPAGE="http://teamspeak.com/"
20 LICENSE="teamspeak3"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE=""
24 RESTRICT="strip"
25 PROPERTIES="interactive"
26
27 SRC_URI="
28 amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
29 x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
30 "
31
32 DEPEND=""
33 RDEPEND="${DEPEND}
34 =media-libs/libpng-1.4*
35 x11-libs/qt-gui:4
36 >=x11-libs/libXinerama-1.0.2"
37
38 src_unpack() {
39 # TODO: unpack_makeself -- use this version once it supports makeself 2.1.6
40 for i in ${A}; do
41 sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
42 done
43 }
44
45 src_install() {
46 local dest="${D}/opt/teamspeak3-client"
47
48 mkdir -p "${dest}"
49
50 # remove the qt-libraries as they just cause trouble with the system's Qt
51 # see bug #328807
52 rm "${WORKDIR}"/libQt* || die
53
54 cp -R "${WORKDIR}/"* "${dest}/" || die
55
56 exeinto /usr/bin
57 doexe "${FILESDIR}/teamspeak3"
58
59 mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
60
61 make_desktop_entry teamspeak3 TeamSpeak3 \
62 "/opt/teamspeak3-client/gfx/default/24x24_connect.png" \
63 Network
64 }

  ViewVC Help
Powered by ViewVC 1.1.20