summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-04 00:34:55 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-04 00:34:55 +0000
commit92fe227ebd6fd04217ba4cb6afb2d01ee9afea1d (patch)
treead2020d478c21159cc22619462874a2f4a6f6bbb /media-sound/teamspeak2-client-bin
parentrev bump so people get the large file support (Manifest recommit) (diff)
downloadgentoo-2-92fe227ebd6fd04217ba4cb6afb2d01ee9afea1d.tar.gz
gentoo-2-92fe227ebd6fd04217ba4cb6afb2d01ee9afea1d.tar.bz2
gentoo-2-92fe227ebd6fd04217ba4cb6afb2d01ee9afea1d.zip
Bugfixed ebuild provided in bug #34863 by Peter Kirk <pwk.linuxfan@gmx.de>.
Diffstat (limited to 'media-sound/teamspeak2-client-bin')
-rw-r--r--media-sound/teamspeak2-client-bin/ChangeLog8
-rw-r--r--media-sound/teamspeak2-client-bin/Manifest6
-rw-r--r--media-sound/teamspeak2-client-bin/files/digest-teamspeak2-client-bin-2.0.32.60-r21
-rw-r--r--media-sound/teamspeak2-client-bin/files/teamspeak.protocol11
-rw-r--r--media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r2.ebuild73
5 files changed, 96 insertions, 3 deletions
diff --git a/media-sound/teamspeak2-client-bin/ChangeLog b/media-sound/teamspeak2-client-bin/ChangeLog
index ac2ba33865dc..e1641e0bf7a1 100644
--- a/media-sound/teamspeak2-client-bin/ChangeLog
+++ b/media-sound/teamspeak2-client-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/teamspeak2-client-bin
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/ChangeLog,v 1.4 2004/03/01 05:37:16 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/ChangeLog,v 1.5 2004/03/04 00:34:55 eradicator Exp $
+
+*teamspeak2-client-bin-2.0.32.60-r2 (03 Mar 2004)
+
+ 03 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ teamspeak2-client-bin-2.0.32.60-r2.ebuild:
+ Bugfixed ebuild provided in bug #34863 by Peter Kirk <pwk.linuxfan@gmx.de>.
*teamspeak2-client-bin-2.0.32.60-r1 (10 Dec 2003)
diff --git a/media-sound/teamspeak2-client-bin/Manifest b/media-sound/teamspeak2-client-bin/Manifest
index c260592a8c81..5d030e7d412f 100644
--- a/media-sound/teamspeak2-client-bin/Manifest
+++ b/media-sound/teamspeak2-client-bin/Manifest
@@ -1,5 +1,7 @@
-MD5 1379c9722656456218375d93d7c6bd70 teamspeak2-client-bin-2.0.32.60-r1.ebuild 1264
-MD5 69cda96df7e67b4d30419ab76f1c4a77 ChangeLog 729
+MD5 1af3fa29ea0cced7ebb731d73a87387d teamspeak2-client-bin-2.0.32.60-r1.ebuild 1268
+MD5 08a644e9a1f7d25cf21be24f238a32d9 teamspeak2-client-bin-2.0.32.60-r2.ebuild 2302
+MD5 2b4212190fc1e820d58c2ab6c006103f ChangeLog 733
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 7d8bc1b4187d9a6e2e08d18a8a11e1a9 files/digest-teamspeak2-client-bin-2.0.32.60-r1 73
+MD5 7d8bc1b4187d9a6e2e08d18a8a11e1a9 files/digest-teamspeak2-client-bin-2.0.32.60-r2 73
MD5 a913652aee03ba33bf2daf0273d0f574 files/TeamSpeak 102
diff --git a/media-sound/teamspeak2-client-bin/files/digest-teamspeak2-client-bin-2.0.32.60-r2 b/media-sound/teamspeak2-client-bin/files/digest-teamspeak2-client-bin-2.0.32.60-r2
new file mode 100644
index 000000000000..67ea9b8527fb
--- /dev/null
+++ b/media-sound/teamspeak2-client-bin/files/digest-teamspeak2-client-bin-2.0.32.60-r2
@@ -0,0 +1 @@
+MD5 e93d17a25e07b1cbe400e4eb028ca8f8 ts2_client_rc2_2032.tar.bz2 7535254
diff --git a/media-sound/teamspeak2-client-bin/files/teamspeak.protocol b/media-sound/teamspeak2-client-bin/files/teamspeak.protocol
new file mode 100644
index 000000000000..c21a383542a0
--- /dev/null
+++ b/media-sound/teamspeak2-client-bin/files/teamspeak.protocol
@@ -0,0 +1,11 @@
+[Protocol]
+exec=TeamSpeak %u
+protocol=teamspeak
+input=none
+output=none
+helper=true
+listing=
+reading=false
+writing=false
+makedir=false
+deleting=false
diff --git a/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r2.ebuild b/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r2.ebuild
new file mode 100644
index 000000000000..e9583bb3f73c
--- /dev/null
+++ b/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-client-bin/teamspeak2-client-bin-2.0.32.60-r2.ebuild,v 1.1 2004/03/04 00:34:55 eradicator Exp $
+
+DESCRIPTION="The TeamSpeak voice communication tool"
+HOMEPAGE="http://www.teamspeak.org"
+LICENSE="as-is"
+KEYWORDS="~x86"
+
+IUSE="kde"
+SLOT="0"
+MY_P="`echo ${P} | sed -e 's/teamspeak\([0-9]\)-client-bin-\([0-9]\)\.\([0-9]\)\.\([0-9]\)\([0-9]\)\.\([0-9]\)\([0-9]\)/ts\1_client_rc2_\2\3\4\5/'`"
+SRC_URI="ftp://teamspeak.krawall.de/releases/${MY_P}.tar.bz2"
+
+DEPEND="virtual/x11
+ virtual/glibc
+ kde? ( >=kde-base/kdelibs-3.1.0 )
+ media-gfx/imagemagick"
+ # Note: ts2 client comes with its own speex library, so no need to
+ # depend on it
+
+S="${WORKDIR}/${MY_P}/setup.data/image"
+
+src_install() {
+
+ local dir="/opt/teamspeak2-client"
+ dodir ${dir}
+
+ # Edit the Teamspeak startscript to match our install directory
+ sed -i -e "s:%installdir%:${dir}:g" TeamSpeak
+
+ if [ `use kde` ] ; then
+ # Install a teamspeak.protocol file for kde/konqueror to accept
+ # teamspeak:// links
+ insinto $(kde-config --prefix)/share/services/
+ doins ${FILESDIR}/teamspeak.protocol
+ fi
+
+ # The next three are removed after the operation so that they are not
+ # copied into the install directory
+ dobin TeamSpeak && rm TeamSpeak
+ newdoc Readme.txt README && rm Readme.txt
+ dohtml -r manual/* && rm -rf manual
+
+ # A symlink is created so that Help -> Read Manual still works
+ dosym /usr/share/doc/${PF}/html ${dir}/manual
+
+ # All regular files except the executables are made non executable
+ find -type f -not \( -name "TeamSpeak.bin" -or -name "*.so*" -or \
+ -name "tsControl" \) -exec chmod -x {} \;
+
+ #Install the teamspeak icon.
+ dodir /usr/share/pixmaps
+ convert ${S}/icon.xpm ${S}/teamspeak.png
+ cp ${S}/teamspeak.png ${D}/usr/share/pixmaps/
+
+ cp -r * ${D}/${dir}
+}
+
+pkg_postinst() {
+
+ echo
+ einfo "Note: If you just upgraded from a version less than 2.0.32.60-r1,"
+ einfo "your users' config files will incorrectly point to non-existant"
+ einfo "soundfiles because they've been moved from their old location."
+ einfo "You may want to perform the following commands:"
+ einfo "# mkdir /usr/share/teamspeak2-client"
+ einfo "# ln -s ${dir}/sounds /usr/share/teamspeak2-client/sounds"
+ einfo "This way, each user won't have to modify their config files to"
+ einfo "reflect this move."
+ echo
+}
+