Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak2-client-bin: teamspeak2-client-bin-2.0.32.60-r3.ebuild
Date: Fri, 19 Jun 2009 20:08:17
Message-Id: E1MHkNj-0004KM-PB@stork.gentoo.org
1 ssuominen 09/06/19 20:08:15
2
3 Modified: teamspeak2-client-bin-2.0.32.60-r3.ebuild
4 Log:
5 workaround bug 274742
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.18 media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild?rev=1.18&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild?rev=1.18&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild?r1=1.17&r2=1.18
14
15 Index: teamspeak2-client-bin-2.0.32.60-r3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild,v
18 retrieving revision 1.17
19 retrieving revision 1.18
20 diff -u -r1.17 -r1.18
21 --- teamspeak2-client-bin-2.0.32.60-r3.ebuild 12 May 2009 07:18:21 -0000 1.17
22 +++ teamspeak2-client-bin-2.0.32.60-r3.ebuild 19 Jun 2009 20:08:15 -0000 1.18
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild,v 1.17 2009/05/12 07:18:21 ssuominen Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r3.ebuild,v 1.18 2009/06/19 20:08:15 ssuominen Exp $
28
29 MY_PV=rc2_2032
30 DESCRIPTION="The TeamSpeak voice communication tool"
31 @@ -22,11 +22,11 @@
32
33 S=${WORKDIR}/ts2_client_${MY_PV}/setup.data/image
34
35 -dir="/opt/teamspeak2-client"
36 -
37 src_compile() { :; }
38
39 src_install() {
40 + local dest=/opt/teamspeak2-client
41 +
42 newdoc Readme.txt README
43 dodoc client_sdk/SDK_readme.txt
44 dohtml manual/*
45 @@ -35,14 +35,14 @@
46 dobin "${FILESDIR}"/TeamSpeak
47 dosed "s:%installdir%:/opt/teamspeak2-client:g" /opt/bin/TeamSpeak
48
49 - exeinto ${dir}
50 + exeinto ${dest}
51 doexe TeamSpeak.bin *.so*
52
53 - insinto ${dir}/sounds
54 + insinto ${dest}/sounds
55 doins sounds/*
56
57 - insinto ${dir}/client_sdk
58 - exeinto ${dir}/client_sdk
59 + insinto ${dest}/client_sdk
60 + exeinto ${dest}/client_sdk
61 doins client_sdk/*.pas client_sdk/*.dpr
62 doexe client_sdk/tsControl client_sdk/*.so*
63
64 @@ -56,12 +56,10 @@
65 doins "${FILESDIR}"/teamspeak.protocol
66
67 # Fix bug #489010
68 - dosym /usr/share/doc/${PF}/html ${dir}/manual
69 + dosym /usr/share/doc/${PF}/html ${dest}/manual
70 }
71
72 pkg_postinst() {
73 - echo
74 - elog
75 elog "Please Note: The new Teamspeak2 Release Candidate 2 Client"
76 elog "will not be able to connect to any of the *old* rc1 servers."
77 elog "if you get 'Bad response' from your server check if your"
78 @@ -74,8 +72,7 @@
79 elog "soundfiles because they've been moved from their old location."
80 elog "You may want to perform the following commands:"
81 elog "# mkdir /usr/share/teamspeak2-client"
82 - elog "# ln -s ${dir}/sounds /usr/share/teamspeak2-client/sounds"
83 + elog "# ln -s /opt/teamspeak2-client/sounds /usr/share/teamspeak2-client/sounds"
84 elog "This way, each user won't have to modify their config files to"
85 elog "reflect this move."
86 - echo
87 }