commit: ade63b6a255a595351f0621db64d4a391ac1c773 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> AuthorDate: Thu Jan 29 19:11:17 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 07:47:58 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade63b6a
net-misc/teamviewer: add 15.73.5 Closes: https://bugs.gentoo.org/968374 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> Part-of: https://github.com/gentoo/gentoo/pull/45575 Closes: https://github.com/gentoo/gentoo/pull/45575 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/teamviewer/Manifest | 4 + net-misc/teamviewer/teamviewer-15.73.5.ebuild | 154 ++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest index 2a106469e72f..081d11baaf2c 100644 --- a/net-misc/teamviewer/Manifest +++ b/net-misc/teamviewer/Manifest @@ -6,3 +6,7 @@ DIST teamviewer_15.67.4_amd64.tar.xz 110691736 BLAKE2B 97f17063826c2f1e62664f30e DIST teamviewer_15.67.4_arm64.tar.xz 110231804 BLAKE2B def572043f14a39af9cc9f13c28d4a11f0609fa19e43107c84a541150aa10e5984ddd4c3baecaefa13a946d4e8aaae48ad50182edc9e32ecfb6a094f6694fdea SHA512 3902aefee525dfc5bfa4f981fa1b0fb7775246f244e900902c02272d8a97a4de34dcaa3fdff6cf4e10f95cbc47efa5db0406a6f4b4b9164e2dd6f4247bb4e6af DIST teamviewer_15.67.4_armhf.tar.xz 96098424 BLAKE2B 38423563063eaaf9950a9949d0422bc7fdec244f4254002058fe60ac2a574d4dac36404b7de65b074c871250e7ea5c757ef654c7a3662657dd15920eeb9a2599 SHA512 8da8b8a420ce8fc13a62ee343d4c4f74f80c1e729c901f4ae390aa26a5dd6f7f918f1b3103bf076df64b74b3441a08be9e59b158b918d734ebd0274351f2c7a9 DIST teamviewer_15.67.4_i386.tar.xz 112768816 BLAKE2B 1fb580e26258bb405e9c9d9e7fdc4f436a948ad0033fae3c72c03302225bd0eab272b9140f1e4e6a5d374802c3ebe8cec5722de312e02ce857fe8ee1beddd5ac SHA512 6d5d1a31b3e97205fb849d0c084bc39faa9d83ffa9c117f5268b68934ed822aabd1d2f53b49c095b452c184c5109dd1dcd14732ff2937b30bca3ab12b0463dfe +DIST teamviewer_15.73.5_amd64.tar.xz 116142972 BLAKE2B c0a473bfd9c890ed26e01589dbe3ce351acb59ca9237181e13c4746c562dd00366abb0a5286ce1d901ca7e7131ad3345ff9f10779862335662f9951e47c32379 SHA512 a44698767dc836158dd15c92ff8733f91cb28a4195d98d6adf3f304f4f64cc90e7d62f63ae339b6ef76d6f6b5fc969d22f8023862d6f65de1744f2cc2a72c595 +DIST teamviewer_15.73.5_arm64.tar.xz 115620088 BLAKE2B 4837442e7ab80db16f1f11c6dba5a3ded32164a8bb596c39676e58474340fe28660021460559a27389cd02f688a045bf118ab97679248e9b629a4b6fb927386d SHA512 0de13daa9b42e0109be607ef8409723f5aaaed62cdffbfddabbe837ff23e7037a77750093b9367be416116d0b7963b4d3aa995b717654287ee0d3b43785ff225 +DIST teamviewer_15.73.5_armhf.tar.xz 102695216 BLAKE2B c722befd85e9db181c8664e1326eabed7342128b8cb7a2df47209f3df3829b0d5b1155398d273a908d13a682a68d3be4ecda434e8bc022424dbfb7c9892b60ed SHA512 c5faab12d2504cee132ac119071eaa46e8f062478e086b88dcd038c65af51352461f3e920031077f7b77f69f4972592cfe55fb5295c8634f43139654c90873e3 +DIST teamviewer_15.73.5_i386.tar.xz 119692880 BLAKE2B de21eee9e1ad41eb37c644fc56bacb50ba255d91f23a908dd278a5e74a4350f3e241d6a108fa5ab0db68b1da30dcf97bc1d156bc0db3b3c9c2f9a525f54dd63f SHA512 ef1558e305023210aa80f62eae6692fc160d1a126930cfb6040d4d0aa420af430fcfb4e865b66b1ad3a8babb6930b11ddf6625f00a9d32841e0ae0d554cdff11 diff --git a/net-misc/teamviewer/teamviewer-15.73.5.ebuild b/net-misc/teamviewer/teamviewer-15.73.5.ebuild new file mode 100644 index 000000000000..ef0649fb02c5 --- /dev/null +++ b/net-misc/teamviewer/teamviewer-15.73.5.ebuild @@ -0,0 +1,154 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature systemd xdg + +MY_MAJOR="$(ver_cut 1)" +MY_P="${PN}${MY_MAJOR}" +DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" +HOMEPAGE="https://www.teamviewer.com" +MY_URI="https://dl.teamviewer.com/download/linux/version_${MY_MAJOR}x/${PN}_${PV}" +SRC_URI=" + amd64? ( ${MY_URI}_amd64.tar.xz ) + arm? ( ${MY_URI}_armhf.tar.xz ) + arm64? ( ${MY_URI}_arm64.tar.xz ) + x86? ( ${MY_URI}_i386.tar.xz )" +S="${WORKDIR}"/teamviewer + +LICENSE="TeamViewer MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +RESTRICT="bindist mirror strip" + +# Unpack will fail without app-arch/xz-utils[extra-filters], bug #798027 +BDEPEND="app-arch/xz-utils[extra-filters(+)]" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/fontconfig + media-libs/freetype + media-libs/libglvnd[X] + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + virtual/minizip:0/1 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb +" +# For consolekit incompatibility see https://forums.gentoo.org/viewtopic-p-8332956.html#8332956 + +QA_PREBUILT="opt/${MY_P}/*" + +src_prepare() { + default + + # Switch operation mode from 'portable' to 'installed' + sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die + + sed -i \ + -e "/^ExecStart/s|${PN}|${MY_P}|" \ + -e "/^PIDFile/s|/var/run/|/run/|" \ + tv_bin/script/teamviewerd.service || die + sed -i -e "s|/opt/${PN}/|/opt/${MY_P}/|" \ + tv_bin/script/com.teamviewer.TeamViewer.Desktop.service \ + tv_bin/script/com.teamviewer.TeamViewer.policy \ + tv_bin/script/com.teamviewer.TeamViewer.service || die +} + +src_install() { + local dst="/opt/${MY_P}" # install destination + + insinto ${dst} + doins -r tv_bin + + # Set permissions for executables and libraries + local exe + for exe in $(find tv_bin -type f -executable -or -name '*.so' || die); do + fperms +x ${dst}/${exe} + done + + newinitd "${FILESDIR}"/teamviewerd15.init teamviewerd + systemd_dounit tv_bin/script/teamviewerd.service + + insinto /usr/share/dbus-1/services + doins tv_bin/script/com.teamviewer.TeamViewer.service + doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service + + insinto /usr/share/polkit-1/actions + doins tv_bin/script/com.teamviewer.TeamViewer.policy + + doicon tv_bin/desktop/TeamViewer.svg + + dodoc -r doc + + # Make docs available in expected location + dosym ../../usr/share/doc/${PF}/doc ${dst}/doc + + # We need to keep docs uncompressed, bug #778617 + docompress -x /usr/share/doc/${PF}/. + + keepdir /etc/${MY_P} + dosym ../../etc/${MY_P} ${dst}/config + + # Create directory and symlink for log files (NOTE: according to Team- + # Viewer devs, all paths are hard-coded in the binaries; therefore + # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer + # <major-version>') + keepdir /var/log/${MY_P} + dosym ../../var/log/${MY_P} ${dst}/logfiles + + dodir /opt/bin + dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd + dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer + + make_desktop_entry teamviewer "TeamViewer ${MY_MAJOR}" +} + +pkg_postinst() { + xdg_pkg_postinst + + ewarn + ewarn "Please note that the teamviewer gui works only when started from" + ewarn "a session initiated by a display manager." #799137 + optfeature_header "Install one of the following display managers:" + optfeature "an example display manager" x11-misc/cdm gnome-base/gdm gui-apps/gtkgreet x11-misc/lightdm \ + lxde-base/lxdm sys-apps/qingy x11-misc/sddm x11-misc/slim x11-misc/wdm x11-apps/xdm + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "Please note that parallel installation of multiple versions of" + elog "TeamViewer is currently not supported at runtime. Bug #621818" + elog + elog "Before using TeamViewer, you need to start its daemon:" + elog "OpenRC:" + elog "# /etc/init.d/teamviewerd start" + elog "# rc-update add teamviewerd default" + elog + elog "Systemd:" + elog "# systemctl start teamviewerd.service" + elog "# systemctl enable teamviewerd.service" + elog + elog "To display additional command line options simply run:" + elog "$ teamviewer help" + elog + elog "Most likely TeamViewer will work normally only on systems with systemd" + elog "or elogind. See this thread for additional info:" + elog "https://forums.gentoo.org/viewtopic-p-8332956.html#8332956" + fi +}
