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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 21 18:41:22 2015 UTC (5 years, 8 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +14 -19 lines
use dobin instead of exeinto /usr/bin/ && doexe; make ebuild layout more readable; use elog if apropriate; fix ebuild layout

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 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.13.1.ebuild,v 1.1 2013/11/09 18:44:21 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 SRC_URI="
12 amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
13 x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )"
14
15 LICENSE="teamspeak3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="alsa pulseaudio"
19
20 REQUIRED_USE="|| ( alsa pulseaudio )"
21
22 RDEPEND="
23 dev-qt/qtcore:4
24 dev-qt/qtgui:4[accessibility,xinerama]
25 dev-qt/qtsql:4
26 sys-libs/glibc
27 sys-libs/zlib
28 alsa? ( media-libs/alsa-lib )
29 pulseaudio? ( media-sound/pulseaudio )"
30
31 RESTRICT="fetch mirror strip"
32
33 S="${WORKDIR}"
34
35 pkg_nofetch() {
36 elog "Please download ${A}"
37 elog "from ${HOMEPAGE}?page=downloads and place this"
38 elog "file in ${DISTDIR}"
39 }
40
41 src_prepare() {
42 # Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807.
43 rm libQt* || die "Couldn't remove bundled Qt libraries."
44
45 # Remove unwanted soundbackends.
46 if ! use alsa ; then
47 rm soundbackends/libalsa* || die
48 fi
49
50 if ! use pulseaudio ; then
51 rm soundbackends/libpulseaudio* || die
52 fi
53
54 # Rename the tsclient to its shorter version, required by the teamspeak3 script we install.
55 mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version."
56 }
57
58 src_install() {
59 insinto /opt/teamspeak3-client
60 doins -r *
61
62 fperms +x /opt/teamspeak3-client/ts3client
63
64 dobin "${FILESDIR}/teamspeak3"
65
66 make_desktop_entry teamspeak3 TeamSpeak3 \
67 "/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \
68 Network
69 }

  ViewVC Help
Powered by ViewVC 1.1.20