mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
media-sound/teamspeak-client: last-rite v3
Closes: https://bugs.gentoo.org/926665 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST TeamSpeak3-Client-linux_amd64-3.6.2.run 110899830 BLAKE2B e832af37b3fe89741d6eed0214dcb790e69184ebfdf0cfbcebe8ec433eef62e42597a75bfb6bbf7d36cc172fa49e22c527023b787ad88584654b9297d5730d5f SHA512 09448086ed3322ba5a37905c5b893fdf0860e5e80852da2713a2d3aceddc071ff6cd7bc213f494759b9448615a027130579da7292f59447b3c31553e151d35eb
|
||||
DIST teamspeak-client-5.0.0_beta77.tar.gz 149815295 BLAKE2B 72c71d4a004ad917d4c7de58ce8f718942688a46596ebb2763c6c98e9f01fafb83db99bb475d5fe7615bc66e8e581904529d00a493aacea2cbd48aa143971caf SHA512 1894987257d62643c324e59ccae2dd0bac2c153470f1f2979a0a243bce4e16228a5c0cd90daf75de56e3fbae1f421bc9e48fe3377ed09c3b55af6d3cb2563064
|
||||
DIST teamspeak-client-6.0.0_beta2.tar.gz 177781467 BLAKE2B 1eaf1d6e967fae20d0f90155dbd1db68515fe78218276a5a9ee56ee3edaf8fb07854868ccac56e6a630a9a2e8fa8ffce7641a091867928dae7eec866cdd0125c SHA512 086297a604799cf1eb559f7cd3be5d365050d0f835f6ab8c5b239f8cf92ad080dcfa446e122d24e581b12eb075c264ab99c8215ce3bacd7bd811fd35d3f0bc9d
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2024 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? ( llvm-runtimes/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
|
||||
}
|
||||
@@ -228,11 +228,6 @@ games-fps/quakeforge
|
||||
# Removal on 2025-03-07. Bug: 949318
|
||||
net-misc/AQtion
|
||||
|
||||
# Conrad Kostecki <conikost@gentoo.org> (2024-01-28)
|
||||
# Binary package, which depends on Qt5. Bug #926665
|
||||
# Please update to v5 beta or v6 beta. Removal on 2025-02-28.
|
||||
media-sound/teamspeak-client:3
|
||||
|
||||
# Arthur Zamarin <arthurzam@gentoo.org> (2025-01-28)
|
||||
# Since we are done with EGO_SUM, this tool isn't needed any more.
|
||||
# Removal on 2025-02-27. Bug #948966.
|
||||
|
||||
Reference in New Issue
Block a user