Lines 13-18
SLOT="0"
Link Here
|
13 |
KEYWORDS="~amd64 ~x86" |
13 |
KEYWORDS="~amd64 ~x86" |
14 |
RESTRICT="fetch mirror strip" |
14 |
RESTRICT="fetch mirror strip" |
15 |
|
15 |
|
|
|
16 |
IUSE="alsa pulseaudio" |
17 |
|
16 |
SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run ) |
18 |
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 )" |
19 |
x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )" |
18 |
|
20 |
|
Lines 20-26
RDEPEND="dev-qt/qtcore:4
Link Here
|
20 |
dev-qt/qtgui:4[accessibility,xinerama] |
22 |
dev-qt/qtgui:4[accessibility,xinerama] |
21 |
dev-qt/qtsql:4 |
23 |
dev-qt/qtsql:4 |
22 |
sys-libs/glibc |
24 |
sys-libs/glibc |
23 |
sys-libs/zlib" |
25 |
sys-libs/zlib |
|
|
26 |
|
27 |
alsa? ( media-libs/alsa-lib ) |
28 |
pulseaudio? ( media-sound/pulseaudio )" |
29 |
|
30 |
REQUIRED_USE="|| ( alsa pulseaudio )" |
24 |
|
31 |
|
25 |
S="${WORKDIR}" |
32 |
S="${WORKDIR}" |
26 |
|
33 |
|
Lines 38-43
src_prepare() {
Link Here
|
38 |
# Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807. |
45 |
# 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." |
46 |
rm libQt* || die "Couldn't remove bundled Qt libraries." |
40 |
|
47 |
|
|
|
48 |
# remove unwanted soundbackends |
49 |
if ! use alsa ; then rm soundbackends/libalsa* ; fi |
50 |
if ! use pulseaudio ; then rm soundbackends/libpulseaudio* ; fi |
51 |
|
41 |
# Rename the tsclient to its shorter version, required by the teamspeak3 script we install. |
52 |
# 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." |
53 |
mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version." |
43 |
} |
54 |
} |