From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A53B1382C5 for ; Sat, 27 Feb 2021 12:53:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71047E0918; Sat, 27 Feb 2021 12:53:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C59FE0918 for ; Sat, 27 Feb 2021 12:53:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19DDF34110D for ; Sat, 27 Feb 2021 12:53:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC0E053 for ; Sat, 27 Feb 2021 12:53:28 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1614430379.654e3927317a30d3cf4777b1fecb476f99485048.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/teamspeak-client/teamspeak-client-3.5.6-r4.ebuild X-VCS-Directories: media-sound/teamspeak-client/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 654e3927317a30d3cf4777b1fecb476f99485048 X-VCS-Branch: master Date: Sat, 27 Feb 2021 12:53:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d1755c85-3165-4e68-81fe-f8710a5427ac X-Archives-Hash: 0e1628bfed4de11652823f34f2a6417c commit: 654e3927317a30d3cf4777b1fecb476f99485048 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Feb 26 23:11:11 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Feb 27 12:52:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654e3927 media-sound/teamspeak-client: fix SONAME qa warning Closes: https://bugs.gentoo.org/772335 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> .../teamspeak-client-3.5.6-r4.ebuild | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/media-sound/teamspeak-client/teamspeak-client-3.5.6-r4.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.5.6-r4.ebuild new file mode 100644 index 00000000000..151c902c854 --- /dev/null +++ b/media-sound/teamspeak-client/teamspeak-client-3.5.6-r4.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="${PV/_/-}" +inherit desktop toolchain-funcs unpacker xdg-utils + +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 ) +" + +LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )" +SLOT="3" +KEYWORDS="-* amd64 x86" +IUSE="+alsa pulseaudio system-libcxx" + +REQUIRED_USE="|| ( alsa pulseaudio )" +RESTRICT="bindist mirror" + +BDEPEND=">=dev-util/patchelf-0.10" +RDEPEND=" + app-arch/snappy:0/1 + dev-libs/openssl:0 + dev-libs/quazip: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-sound/pulseaudio ) + system-libcxx? ( sys-libs/libcxx[libcxxabi] ) +" + +S="${WORKDIR}" + +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 "