From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-client/
Date: Sun, 27 Aug 2023 21:32:54 +0000 (UTC) [thread overview]
Message-ID: <1693171938.d815e557994ea8a2f180ce73a06ab487dba85b02.conikost@gentoo> (raw)
commit: d815e557994ea8a2f180ce73a06ab487dba85b02
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Aug 27 16:20:35 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 21:32:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d815e557
media-sound/teamspeak-client: make sys-libs/libunwind dependency conditional
The `sys-libs/libunwind` dependency is from `libc++.so.1`.
If you don't install the bundled one because `system-libcxx` is set you
don't need to depend on `sys-libs/libunwind` and thus don't block
`sys-libs/llvm-libunwind`.
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32476
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../teamspeak-client-3.6.0-r2.ebuild | 107 +++++++++++++++++++++
.../teamspeak-client-3.6.1-r1.ebuild | 104 ++++++++++++++++++++
2 files changed, 211 insertions(+)
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
new file mode 100644
index 000000000000..e551d41fcc9a
--- /dev/null
+++ b/media-sound/teamspeak-client/teamspeak-client-3.6.0-r2.ebuild
@@ -0,0 +1,107 @@
+# 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
new file mode 100644
index 000000000000..45b3721f0a2f
--- /dev/null
+++ b/media-sound/teamspeak-client/teamspeak-client-3.6.1-r1.ebuild
@@ -0,0 +1,104 @@
+# 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
+}
next reply other threads:[~2023-08-27 21:32 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-27 21:32 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 23:21 [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-client/ Conrad Kostecki
2025-03-08 23:21 Conrad Kostecki
2025-03-01 1:30 Conrad Kostecki
2025-02-05 21:43 Conrad Kostecki
2025-01-28 22:23 Conrad Kostecki
2025-01-28 22:23 Conrad Kostecki
2025-01-05 22:40 Conrad Kostecki
2025-01-03 15:39 Conrad Kostecki
2024-06-22 20:01 Conrad Kostecki
2024-06-22 20:01 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-10-02 18:40 Conrad Kostecki
2023-08-02 12:06 Conrad Kostecki
2023-08-02 12:06 Conrad Kostecki
2023-07-26 21:23 Conrad Kostecki
2023-06-26 6:02 Conrad Kostecki
2023-06-25 20:05 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-04-22 23:53 Conrad Kostecki
2023-02-07 10:37 Andreas Sturmlechner
2022-09-10 0:29 Sam James
2022-09-09 16:09 Andrew Ammerlaan
2022-08-05 17:05 Conrad Kostecki
2022-07-24 16:44 Conrad Kostecki
2022-04-22 20:15 Conrad Kostecki
2021-12-21 0:40 Conrad Kostecki
2021-12-21 0:40 Conrad Kostecki
2021-10-24 22:26 Conrad Kostecki
2021-10-24 22:26 Conrad Kostecki
2021-03-16 17:52 Conrad Kostecki
2021-03-16 17:52 Conrad Kostecki
2021-02-27 15:04 Conrad Kostecki
2021-02-27 15:04 Conrad Kostecki
2021-02-27 12:53 Conrad Kostecki
2021-02-27 12:53 Conrad Kostecki
2021-02-23 19:53 Andreas Sturmlechner
2021-02-23 19:53 Andreas Sturmlechner
2021-02-15 4:01 Sam James
2021-02-08 9:58 Conrad Kostecki
2021-02-08 9:58 Conrad Kostecki
2021-01-10 1:22 Conrad Kostecki
2021-01-10 1:22 Conrad Kostecki
2020-12-26 19:58 Conrad Kostecki
2020-12-26 19:58 Conrad Kostecki
2020-12-26 19:58 Conrad Kostecki
2020-11-26 21:16 Conrad Kostecki
2020-11-26 21:16 Conrad Kostecki
2020-11-25 23:08 Conrad Kostecki
2020-11-25 23:08 Conrad Kostecki
2020-11-15 17:04 Conrad Kostecki
2020-11-15 17:04 Conrad Kostecki
2020-11-04 22:58 Conrad Kostecki
2020-10-09 20:11 Conrad Kostecki
2020-10-09 20:11 Conrad Kostecki
2020-08-27 15:07 Conrad Kostecki
2020-08-05 19:48 Conrad Kostecki
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-07-09 17:58 Conrad Kostecki
2020-05-12 15:35 Conrad Kostecki
2020-05-12 15:35 Conrad Kostecki
2020-04-04 14:08 Conrad Kostecki
2020-04-04 14:08 Conrad Kostecki
2020-03-27 22:30 Conrad Kostecki
2020-01-19 23:53 Andreas Sturmlechner
2020-01-19 23:53 Andreas Sturmlechner
2019-11-26 10:18 Thomas Deutschmann
2019-11-15 14:23 Agostino Sarubbo
2019-09-23 17:16 Michał Górny
2019-09-07 8:43 Joonas Niilola
2019-09-07 8:43 Joonas Niilola
2019-07-15 5:36 Andreas Sturmlechner
2019-04-30 16:49 Michał Górny
2019-02-21 22:31 Andreas Sturmlechner
2018-10-30 10:34 Patrice Clement
2018-10-19 21:59 Patrice Clement
2018-09-23 7:53 Michał Górny
2018-09-23 7:53 Michał Górny
2018-09-04 22:32 Patrice Clement
2018-09-04 22:32 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1693171938.d815e557994ea8a2f180ce73a06ab487dba85b02.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox