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 C8BD5138350 for ; Sun, 19 Jan 2020 23:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 720A9E09C6; Sun, 19 Jan 2020 23:53:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 99242E09C2 for ; Sun, 19 Jan 2020 23:53:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1678634E2A2 for ; Sun, 19 Jan 2020 23:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3DEA99 for ; Sun, 19 Jan 2020 23:53:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1579477887.2750515c96d18029e4d849e7d413024c23590da2.asturm@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.3.2-r1.ebuild X-VCS-Directories: media-sound/teamspeak-client/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2750515c96d18029e4d849e7d413024c23590da2 X-VCS-Branch: master Date: Sun, 19 Jan 2020 23:53:29 +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: f37f309b-624d-465a-af67-07535ebe6d2c X-Archives-Hash: 113df437beda54c70a2c25311c71893b commit: 2750515c96d18029e4d849e7d413024c23590da2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 15 20:28:21 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 19 23:51:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2750515c media-sound/teamspeak-client: Prepare for dev-qt/qtgui[xcb -> X] Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> .../teamspeak-client-3.3.2-r1.ebuild | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/media-sound/teamspeak-client/teamspeak-client-3.3.2-r1.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.3.2-r1.ebuild new file mode 100644 index 00000000000..e80daf5efa2 --- /dev/null +++ b/media-sound/teamspeak-client/teamspeak-client-3.3.2-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs unpacker xdg-utils + +MY_PV="${PV/_/-}" + +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 ) +" + +KEYWORDS="-* amd64 x86" +LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )" +SLOT="0" +IUSE="alsa pulseaudio" +REQUIRED_USE="|| ( alsa pulseaudio )" + +RDEPEND=" + app-arch/snappy:0/1 + dev-libs/openssl:0 + dev-libs/quazip + dev-qt/qtcore:5 + || ( + dev-qt/qtgui:5[accessibility,dbus,X(-)] + dev-qt/qtgui:5[accessibility,dbus,xcb(-)] + ) + 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/qtwidgets:5 + net-libs/libsrtp:0 + sys-libs/libcxx[libcxxabi] + sys-libs/zlib:0/1 + virtual/udev + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) +" + +RESTRICT="bindist mirror" + +S="${WORKDIR}" + +QA_PREBUILT=" + 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 -f soundbackends/libalsa_linux_*.so || die + fi + + if ! use pulseaudio ; then + rm -f soundbackends/libpulseaudio_linux_*.so || die + fi + + mv ts3client_linux_* ts3client || die + + tc-export CXX +} + +src_install() { + exeinto /opt/teamspeak3-client + doexe error_report package_inst ts3client update + newexe "${FILESDIR}"/ts3client-bin-r2 ts3client-bin + + 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 + + make_desktop_entry /opt/bin/ts3client "Teamspeak 3 Client" /opt/teamspeak3-client/styles/default/logo-128x128.png "Audio;AudioVideo;Network" + + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}