summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-11-12 00:23:42 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-11-12 00:23:42 +0100
commitc9e2f2fc3106e55d327518b1e94992b8b4c99f80 (patch)
tree1c0aeb08517a526248665fb0d5756b3a49c5ff0b /media-sound/teamspeak-client
parentmedia-sound/teamspeak-client: amd64 stable (diff)
downloadgentoo-c9e2f2fc3106e55d327518b1e94992b8b4c99f80.tar.gz
gentoo-c9e2f2fc3106e55d327518b1e94992b8b4c99f80.tar.bz2
gentoo-c9e2f2fc3106e55d327518b1e94992b8b4c99f80.zip
media-sound/teamspeak-client: drop versions
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/teamspeak-client')
-rw-r--r--media-sound/teamspeak-client/Manifest4
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.5.6-r10.ebuild110
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.6.0-r1.ebuild107
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.6.0-r2.ebuild107
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.6.1-r1.ebuild104
-rw-r--r--media-sound/teamspeak-client/teamspeak-client-3.6.1.ebuild104
6 files changed, 0 insertions, 536 deletions
diff --git a/media-sound/teamspeak-client/Manifest b/media-sound/teamspeak-client/Manifest
index ee5a2222e2d9..6d14d9ad72eb 100644
--- a/media-sound/teamspeak-client/Manifest
+++ b/media-sound/teamspeak-client/Manifest
@@ -1,6 +1,2 @@
-DIST TeamSpeak3-Client-linux_amd64-3.5.6.run 100152301 BLAKE2B 9fbaa32ac000c9e29e09dcb1c932acea45265d5cf464308d6f27063fb3095690f3cb96abb061ce947438a4b919dcbaf8f3f0189048b470b09bb2b8285e426e39 SHA512 fe1b41773d2b2de8198fdaf189c6665994eeaf6a0255485f7d342a3e77702f5515d5c5c685410a0b5844b4ad5c395d57b68e57c7b1f46bd1211ef813ce1e0030
-DIST TeamSpeak3-Client-linux_amd64-3.6.0.run 110887559 BLAKE2B e3b09089be342c7818d7fe0ecc868a78e8820aa1e233302c9a6de1f5a619e701c3ab50e9243e7acdd9c4a8300dd7b92e6cae60149defba7e19ec01d15ce1138f SHA512 59b156feeb4b9ee68962c90f27541e86a926536ac67c376aee71e3534ba1776aacf1597fd3eee3b0c9b3177386a042e6f4355a464fd2f63222d6d479c7146553
-DIST TeamSpeak3-Client-linux_amd64-3.6.1.run 110901490 BLAKE2B 70aea129eca16f65700573837939d0566bd5beebc901b43904f9c4ee0e1f4015fb9ed085562c52a767ae222506e40b42e9dd3873bed301a939025c17d2fee4e5 SHA512 0745b7619b98de17d934b751d020f28923331dcf9dd3c4bc6bb347dea5b8a70b76ffb8ac34217523a6c2f595f6f9acc220e5a30802a7f0ed420a8d93290b76a1
DIST TeamSpeak3-Client-linux_amd64-3.6.2.run 110899830 BLAKE2B e832af37b3fe89741d6eed0214dcb790e69184ebfdf0cfbcebe8ec433eef62e42597a75bfb6bbf7d36cc172fa49e22c527023b787ad88584654b9297d5730d5f SHA512 09448086ed3322ba5a37905c5b893fdf0860e5e80852da2713a2d3aceddc071ff6cd7bc213f494759b9448615a027130579da7292f59447b3c31553e151d35eb
-DIST TeamSpeak3-Client-linux_x86-3.5.6.run 98637555 BLAKE2B 6f891e6846f8f899edb8ef107b7ea6518f413488525b7696863292d99d73614cae40631f5ed2341cce75ea62ffd94c60968ff6b5d587446d7469271835c01202 SHA512 dfc5ed3e2a92ed9f1cea2fdde5e40cf73e4a999ea782c434b26072ac0e7ac37d6305c06ae2d39c104eeee10639f325c7b96f538082e60224a68c0553fab0d12c
DIST teamspeak-client-5.0.0_beta74.tar.gz 141049252 BLAKE2B d8f4265de82bf0c0cda60ff98acfeba76ecd1b56c13be15fd7a017aa1c3676e3311c4f57293f2f75914499d862a21f9bbfddab29d090bec8dee7c3b1f1de7537 SHA512 744b801fc304b4259903a8744a66695a41f990c1d7d2357636e5c5670e3439513f63075b0b598d17bef311136265561fba386f65db2a7302ff3f19a4351f17d3
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.5.6-r10.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.5.6-r10.ebuild
deleted file mode 100644
index e2a7e5eeb8cd..000000000000
--- a/media-sound/teamspeak-client/teamspeak-client-3.5.6-r10.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_/-}"
-
-inherit desktop toolchain-funcs unpacker xdg
-
-DESCRIPTION="A client software for quality voice communication via the internet"
-HOMEPAGE="https://www.teamspeak.com/"
-SRC_URI="
- amd64? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run )
- x86? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_x86-${MY_PV}.run )
-"
-S="${WORKDIR}"
-
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
-SLOT="3"
-KEYWORDS="-* amd64 ~x86"
-IUSE="+alsa pulseaudio system-libcxx +system-quazip"
-
-REQUIRED_USE="|| ( alsa pulseaudio )"
-RESTRICT="bindist mirror"
-
-BDEPEND=">=dev-util/patchelf-0.10"
-RDEPEND="
- app-arch/snappy
- dev-libs/openssl:0
- dev-qt/qtcore:5
- dev-qt/qtgui:5[accessibility,dbus,X(-)]
- dev-qt/qtnetwork:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtsvg:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[geolocation(+),widgets]
- dev-qt/qtwebsockets:5
- dev-qt/qtwidgets:5
- net-libs/libsrtp:0
- sys-libs/zlib:0/1
- virtual/udev
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
- system-libcxx? ( sys-libs/libcxx[libcxxabi] )
- system-quazip? ( dev-libs/quazip:0/1[qt5(+)] )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-client/libc++.so.1
- opt/teamspeak3-client/libc++abi.so.1
- opt/teamspeak3-client/error_report
- opt/teamspeak3-client/package_inst
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
- opt/teamspeak3-client/soundbackends/libpulseaudio_linux_*.so
- opt/teamspeak3-client/ts3client
- opt/teamspeak3-client/update
-"
-
-src_prepare() {
- default
-
- if ! use alsa; then
- rm soundbackends/libalsa_linux_*.so || die
- fi
-
- if ! use pulseaudio ; then
- rm soundbackends/libpulseaudio_linux_*.so || die
- fi
-
- mv ts3client_linux_* ts3client || die
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local quazip_so="libquazip1-qt5.so.1.0.0"
- if has_version "<dev-libs/quazip-1.0"; then
- quazip_so="libquazip5.so.1"
- fi
- local soname_files=( "error_report" "ts3client" )
- if use system-quazip; then
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die
- done
- fi
-
- tc-export CXX
-}
-
-src_install() {
- exeinto /opt/teamspeak3-client
- doexe error_report package_inst ts3client update
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin
- ! use system-libcxx && doexe libc++{,abi}.so.1
- ! use system-quazip && doexe libquazip.so
-
- exeinto /opt/teamspeak3-client/soundbackends
- doexe soundbackends/*.so
-
- insinto /opt/teamspeak3-client
- doins -r gfx html resources sound styles translations
-
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
-
- dodir /opt/bin
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
-
- newicon -s 128 styles/default/logo-128x128.png teamspeak3.png
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" teamspeak3 "Audio;AudioVideo;Network"
-
- einstalldocs
-}
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.6.0-r1.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.6.0-r1.ebuild
deleted file mode 100644
index 10615178fcc6..000000000000
--- a/media-sound/teamspeak-client/teamspeak-client-3.6.0-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_/-}"
-
-inherit desktop toolchain-funcs unpacker xdg
-
-DESCRIPTION="A client software for quality voice communication via the internet"
-HOMEPAGE="https://www.teamspeak.com/"
-SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run"
-S="${WORKDIR}"
-
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
-SLOT="3"
-KEYWORDS="-* amd64"
-IUSE="+alsa pulseaudio system-libcxx +system-quazip"
-
-REQUIRED_USE="|| ( alsa pulseaudio )"
-RESTRICT="bindist mirror"
-
-BDEPEND=">=dev-util/patchelf-0.10"
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtcore:5
- dev-qt/qtgui:5[accessibility,dbus,X(-)]
- dev-qt/qtnetwork:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtsvg:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[geolocation(+),widgets]
- dev-qt/qtwebsockets:5
- dev-qt/qtwidgets:5
- sys-libs/libunwind
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
- system-libcxx? ( sys-libs/libcxx[libcxxabi] )
- system-quazip? ( dev-libs/quazip:0/1[qt5(+)] )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-client/libc++.so.1
- opt/teamspeak3-client/libc++abi.so.1
- opt/teamspeak3-client/libquazip.so
- opt/teamspeak3-client/error_report
- opt/teamspeak3-client/package_inst
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
- opt/teamspeak3-client/ts3client
- opt/teamspeak3-client/update
-"
-
-src_prepare() {
- default
-
- if ! use alsa; then
- rm soundbackends/libalsa_linux_*.so || die
- fi
-
- mv ts3client_linux_* ts3client || die
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local quazip_so="libquazip1-qt5.so.1.0.0"
- if has_version "<dev-libs/quazip-1.0"; then
- quazip_so="libquazip5.so.1"
- fi
- local soname_files=( "error_report" "ts3client" )
- if use system-quazip; then
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die
- done
- fi
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local soname_files=( "libc++abi.so.1" "libc++.so.1" )
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libunwind.so.1 libunwind.so.8 "${soname_file}" || die
- done
-
- tc-export CXX
-}
-
-src_install() {
- exeinto /opt/teamspeak3-client
- doexe error_report package_inst ts3client update
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin
- ! use system-libcxx && doexe libc++{,abi}.so.1
- ! use system-quazip && doexe libquazip.so
-
- exeinto /opt/teamspeak3-client/soundbackends
- doexe soundbackends/*.so
-
- insinto /opt/teamspeak3-client
- doins -r gfx html resources sound styles translations
-
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
-
- dodir /opt/bin
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
-
- newicon -s 128 styles/default/logo-128x128.png teamspeak3.png
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" teamspeak3 "Audio;AudioVideo;Network"
-
- einstalldocs
-}
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.6.0-r2.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.6.0-r2.ebuild
deleted file mode 100644
index e551d41fcc9a..000000000000
--- a/media-sound/teamspeak-client/teamspeak-client-3.6.0-r2.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_/-}"
-
-inherit desktop toolchain-funcs unpacker xdg
-
-DESCRIPTION="A client software for quality voice communication via the internet"
-HOMEPAGE="https://www.teamspeak.com/"
-SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run"
-S="${WORKDIR}"
-
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
-SLOT="3"
-KEYWORDS="-* amd64"
-IUSE="+alsa pulseaudio system-libcxx +system-quazip"
-
-REQUIRED_USE="|| ( alsa pulseaudio )"
-RESTRICT="bindist mirror"
-
-BDEPEND=">=dev-util/patchelf-0.10"
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtcore:5
- dev-qt/qtgui:5[accessibility,dbus,X(-)]
- dev-qt/qtnetwork:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtsvg:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[geolocation(+),widgets]
- dev-qt/qtwebsockets:5
- dev-qt/qtwidgets:5
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
- system-libcxx? ( sys-libs/libcxx[libcxxabi] )
- !system-libcxx? ( sys-libs/libunwind )
- system-quazip? ( dev-libs/quazip:0/1[qt5(+)] )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-client/libc++.so.1
- opt/teamspeak3-client/libc++abi.so.1
- opt/teamspeak3-client/libquazip.so
- opt/teamspeak3-client/error_report
- opt/teamspeak3-client/package_inst
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
- opt/teamspeak3-client/ts3client
- opt/teamspeak3-client/update
-"
-
-src_prepare() {
- default
-
- if ! use alsa; then
- rm soundbackends/libalsa_linux_*.so || die
- fi
-
- mv ts3client_linux_* ts3client || die
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local quazip_so="libquazip1-qt5.so.1.0.0"
- if has_version "<dev-libs/quazip-1.0"; then
- quazip_so="libquazip5.so.1"
- fi
- local soname_files=( "error_report" "ts3client" )
- if use system-quazip; then
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die
- done
- fi
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local soname_files=( "libc++abi.so.1" "libc++.so.1" )
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libunwind.so.1 libunwind.so.8 "${soname_file}" || die
- done
-
- tc-export CXX
-}
-
-src_install() {
- exeinto /opt/teamspeak3-client
- doexe error_report package_inst ts3client update
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin
- ! use system-libcxx && doexe libc++{,abi}.so.1
- ! use system-quazip && doexe libquazip.so
-
- exeinto /opt/teamspeak3-client/soundbackends
- doexe soundbackends/*.so
-
- insinto /opt/teamspeak3-client
- doins -r gfx html resources sound styles translations
-
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
-
- dodir /opt/bin
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
-
- newicon -s 128 styles/default/logo-128x128.png teamspeak3.png
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" teamspeak3 "Audio;AudioVideo;Network"
-
- einstalldocs
-}
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.6.1-r1.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.6.1-r1.ebuild
deleted file mode 100644
index 45b3721f0a2f..000000000000
--- a/media-sound/teamspeak-client/teamspeak-client-3.6.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_/-}"
-
-inherit desktop toolchain-funcs unpacker xdg
-
-DESCRIPTION="A client software for quality voice communication via the internet"
-HOMEPAGE="https://www.teamspeak.com/"
-SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run"
-S="${WORKDIR}"
-
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
-SLOT="3"
-KEYWORDS="-* amd64"
-IUSE="+alsa pulseaudio system-libcxx +system-quazip"
-
-REQUIRED_USE="|| ( alsa pulseaudio )"
-RESTRICT="bindist mirror"
-
-BDEPEND=">=dev-util/patchelf-0.10"
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtcore:5
- dev-qt/qtgui:5[accessibility,dbus,X(-)]
- dev-qt/qtnetwork:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtsvg:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[geolocation(+),widgets]
- dev-qt/qtwebsockets:5
- dev-qt/qtwidgets:5
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
- system-libcxx? ( sys-libs/libcxx[libcxxabi] )
- !system-libcxx? ( sys-libs/libunwind )
- system-quazip? ( dev-libs/quazip:0/1[qt5(+)] )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-client/libc++.so.1
- opt/teamspeak3-client/libc++abi.so.1
- opt/teamspeak3-client/libquazip.so
- opt/teamspeak3-client/error_report
- opt/teamspeak3-client/package_inst
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
- opt/teamspeak3-client/ts3client
- opt/teamspeak3-client/update
-"
-
-src_prepare() {
- default
-
- if ! use alsa; then
- rm soundbackends/libalsa_linux_*.so || die
- fi
-
- mv ts3client_linux_* ts3client || die
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local quazip_so="libquazip1-qt5.so.1.0.0"
- if has_version "<dev-libs/quazip-1.0"; then
- quazip_so="libquazip5.so.1"
- fi
- local soname_files=( "error_report" "ts3client" )
- if use system-quazip; then
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die
- done
- fi
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local soname_files=( "libc++abi.so.1" "libc++.so.1" )
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libunwind.so.1 libunwind.so.8 "${soname_file}" || die
- done
-
- tc-export CXX
-}
-
-src_install() {
- exeinto /opt/teamspeak3-client
- doexe error_report package_inst ts3client update
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin
- ! use system-libcxx && doexe libc++{,abi}.so.1
- ! use system-quazip && doexe libquazip.so
-
- insinto /opt/teamspeak3-client
- doins -r gfx html resources sound styles soundbackends translations
-
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
-
- dodir /opt/bin
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
-
- newicon -s 128 styles/default/logo-128x128.png teamspeak3.png
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" teamspeak3 "Audio;AudioVideo;Network"
-
- einstalldocs
-}
diff --git a/media-sound/teamspeak-client/teamspeak-client-3.6.1.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.6.1.ebuild
deleted file mode 100644
index 9296ee1afec9..000000000000
--- a/media-sound/teamspeak-client/teamspeak-client-3.6.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_/-}"
-
-inherit desktop toolchain-funcs unpacker xdg
-
-DESCRIPTION="A client software for quality voice communication via the internet"
-HOMEPAGE="https://www.teamspeak.com/"
-SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run"
-S="${WORKDIR}"
-
-LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )"
-SLOT="3"
-KEYWORDS="-* amd64"
-IUSE="+alsa pulseaudio system-libcxx +system-quazip"
-
-REQUIRED_USE="|| ( alsa pulseaudio )"
-RESTRICT="bindist mirror"
-
-BDEPEND=">=dev-util/patchelf-0.10"
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtcore:5
- dev-qt/qtgui:5[accessibility,dbus,X(-)]
- dev-qt/qtnetwork:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtsvg:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[geolocation(+),widgets]
- dev-qt/qtwebsockets:5
- dev-qt/qtwidgets:5
- sys-libs/libunwind
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
- system-libcxx? ( sys-libs/libcxx[libcxxabi] )
- system-quazip? ( dev-libs/quazip:0/1[qt5(+)] )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-client/libc++.so.1
- opt/teamspeak3-client/libc++abi.so.1
- opt/teamspeak3-client/libquazip.so
- opt/teamspeak3-client/error_report
- opt/teamspeak3-client/package_inst
- opt/teamspeak3-client/soundbackends/libalsa_linux_*.so
- opt/teamspeak3-client/ts3client
- opt/teamspeak3-client/update
-"
-
-src_prepare() {
- default
-
- if ! use alsa; then
- rm soundbackends/libalsa_linux_*.so || die
- fi
-
- mv ts3client_linux_* ts3client || die
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local quazip_so="libquazip1-qt5.so.1.0.0"
- if has_version "<dev-libs/quazip-1.0"; then
- quazip_so="libquazip5.so.1"
- fi
- local soname_files=( "error_report" "ts3client" )
- if use system-quazip; then
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libquazip.so "${quazip_so}" "${soname_file}" || die
- done
- fi
-
- # Fixes QA Notice: Unresolved soname dependencies.
- # Since this is a binary only package, it must be patched.
- local soname_files=( "libc++abi.so.1" "libc++.so.1" )
- for soname_file in ${soname_files[@]}; do
- patchelf --replace-needed libunwind.so.1 libunwind.so.8 "${soname_file}" || die
- done
-
- tc-export CXX
-}
-
-src_install() {
- exeinto /opt/teamspeak3-client
- doexe error_report package_inst ts3client update
- newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin
- ! use system-libcxx && doexe libc++{,abi}.so.1
- ! use system-quazip && doexe libquazip.so
-
- insinto /opt/teamspeak3-client
- doins -r gfx html resources sound styles soundbackends translations
-
- dosym ../../usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess
-
- dodir /opt/bin
- dosym ../teamspeak3-client/ts3client-bin /opt/bin/ts3client
-
- newicon -s 128 styles/default/logo-128x128.png teamspeak3.png
- make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" teamspeak3 "Audio;AudioVideo;Network"
-
- einstalldocs
-}