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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8D79115800F for ; Wed, 4 Jan 2023 09:20:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2FB5E07A5; Wed, 4 Jan 2023 09:20:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75EEEE07A5 for ; Wed, 4 Jan 2023 09:20:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A702B340EAD for ; Wed, 4 Jan 2023 09:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14F8975E for ; Wed, 4 Jan 2023 09:20:28 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1672823998.5bb39bc1257b8183868cc9af5c69c1e2bbcb9012.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/anydesk/Manifest net-misc/anydesk/anydesk-6.2.1.ebuild X-VCS-Directories: net-misc/anydesk/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 5bb39bc1257b8183868cc9af5c69c1e2bbcb9012 X-VCS-Branch: master Date: Wed, 4 Jan 2023 09:20: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: 86f7b623-9b3b-4f41-8db8-e0598c8821ed X-Archives-Hash: 60c82badf0fc20aea96b39db511fd028 commit: 5bb39bc1257b8183868cc9af5c69c1e2bbcb9012 Author: Jaco Kroon uls co za> AuthorDate: Thu Dec 22 14:45:01 2022 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Wed Jan 4 09:19:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb39bc1 net-misc/anydesk: add 6.2.1 NOTE: gtkglext dep is still required. dev-libs/atk replaced with app-accessibility/at-spi2-core:2 added media-libs/libglvnd Closes: https://bugs.gentoo.org/887809 Signed-off-by: Jaco Kroon uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/28760 Signed-off-by: Viorel Munteanu gentoo.org> net-misc/anydesk/Manifest | 1 + net-misc/anydesk/anydesk-6.2.1.ebuild | 101 ++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest index 2ae71ad5cfd4..1146fa58155c 100644 --- a/net-misc/anydesk/Manifest +++ b/net-misc/anydesk/Manifest @@ -1 +1,2 @@ DIST anydesk-6.2.0-amd64.tar.gz 6216311 BLAKE2B ffdd139e5e67cf9da5eefcd8c261a52d5e556923353baec8d848aea95a6583280845c3d2cf9c34fbcbecf9ddb3991aa59542baf74f2761cc4a7ee69637be0bd4 SHA512 673e5a0a0ca6d2c550c9c01a07edd2096db26416286a5a603adfc7a844d864f327061e0906978c6e4cd0871859f12f281a52b3bceffe8a6014a1bb3c54322ab6 +DIST anydesk-6.2.1-amd64.tar.gz 6634159 BLAKE2B 03abb9c3a990a8e4b53505896ebef253c386f578a275ccbec55e85cbb27e5c0f140863c6dc407b1d0cc2f2975b63bcd13487e27425b16cd3fdb42fd71a646e97 SHA512 2a36eb0698d18d7f779a9c7b8a17b2a9964fc10ba1ce65a68555332e58fd316b8541ef5443c8f8a62a30711e8dd19174d599ac2cdccd581da645c6b6a7e000ae diff --git a/net-misc/anydesk/anydesk-6.2.1.ebuild b/net-misc/anydesk/anydesk-6.2.1.ebuild new file mode 100644 index 000000000000..90d3f93c2857 --- /dev/null +++ b/net-misc/anydesk/anydesk-6.2.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop optfeature systemd xdg-utils + +DESCRIPTION="Feature rich multi-platform remote desktop application" +HOMEPAGE="https://anydesk.com" +SRC_URI="https://download.anydesk.com/linux/${P}-amd64.tar.gz + https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz" + +# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash +LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64" + +# x11-libs/gtkglext is required and cannot be mitigated: https://bugs.gentoo.org/868255 +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/glu + media-libs/libglvnd + sys-auth/polkit + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtkglext + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" +BDEPEND="dev-util/patchelf" + +RESTRICT="bindist mirror" + +QA_PREBUILT="opt/${PN}/*" + +src_install() { + local dst="/opt/${PN}" + + exeinto ${dst} + doexe ${PN} + + dodir /opt/bin + dosym "${dst}/${PN}" "/opt/bin/${PN}" + + newinitd "${FILESDIR}/anydesk.init" anydesk + systemd_newunit "${FILESDIR}/anydesk-4.0.1.service" anydesk.service + + insinto /usr/share/polkit-1/actions + doins polkit-1/com.anydesk.anydesk.policy + + insinto /usr/share + doins -r icons + + domenu "${FILESDIR}/anydesk.desktop" + + dodoc copyright README +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To run AnyDesk as background service use:" + elog + elog "OpenRC:" + elog "# rc-service anydesk start" + elog "# rc-update add anydesk default" + elog + elog "Systemd:" + elog "# systemctl start anydesk.service" + elog "# systemctl enable anydesk.service" + elog + elog "Please see README at /usr/share/doc/${PF}/README.bz2 for" + elog "further information about the linux version of AnyDesk." + elog + fi + + optfeature_header "AnyDesk uses additional tools to query information about the host:" + optfeature "lsb_release" sys-apps/lsb-release + optfeature "lspci" sys-apps/pciutils + optfeature "lsusb" sys-apps/usbutils +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}