net-misc/anydesk: add 7.1.1

Signed-off-by: Jaco Kroon <jkroon@gentoo.org>
This commit is contained in:
Jaco Kroon
2025-11-10 11:50:51 +02:00
parent 75ce4eefd1
commit fd2779c7bf
2 changed files with 101 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST anydesk-6.4.3-amd64.tar.gz 14211541 BLAKE2B 566a7d142708e0aecf4505fea4fd4c0afff369f767465f681e111fff666bb0ce52688908d4485311f8b7c4b6f70ddfa9bc84b1df4301e4a94fdd9a07b0084484 SHA512 c7866e13e12ac0467c5c4f51699e1633326c62c68c002cfacdebefc64875212d8ff8e074e30200800f48d1467612f23eb40ce40689845b95084494c1bddb6816
DIST anydesk-7.0.0-amd64.tar.gz 14418210 BLAKE2B c280ce9235fcb798bf433781beb15b0dab223bdc2e13d3a1da8a7e9604ab556e8714735ba9729b7c83b7dcd8a50402af6346ea6ee4ad8e6ce4992a7253507848 SHA512 46c6730099bb40c36b06e4438482cdc44a293ab117dec0bd73bab4287ce4b8e8ceeb2699a0bd2f1de0f0ef025e740bcbb0dcd77fa53e77fec5e529971483800c
DIST anydesk-7.1.1-amd64.tar.gz 14732954 BLAKE2B cdbb4a217c1ce89281cccb4f7d85d665539e675de791d0efe963926907c6f53c8ad3daa379dbfea60355a8edbd08e2e6d8b0778a8f3565a0dbf1dc93861cdd2f SHA512 fa325cca5fd909eb208b7ef78f94be1db298db814593a16ed1ab5180a4ebee006bd4f43e3d9c4db7da5c589ca4b10fe6af5d3332b4c230612d6a933699364291

View File

@@ -0,0 +1,100 @@
# Copyright 1999-2025 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"
# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash
LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core:2
dev-libs/glib:2
media-libs/fontconfig:1.0
media-libs/freetype:2
media-libs/harfbuzz
sys-apps/dbus
sys-auth/polkit
virtual/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
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 additional tools:"
optfeature "lsb_release" sys-apps/lsb-release
optfeature "lspci" sys-apps/pciutils
optfeature "lsusb" sys-apps/usbutils
optfeature "sound support" media-libs/libcanberra[gtk2]
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}