summaryrefslogtreecommitdiff
path: root/net-misc/anydesk
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/anydesk')
-rw-r--r--net-misc/anydesk/Manifest2
-rw-r--r--net-misc/anydesk/anydesk-6.3.0.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
index 648fe76e4f03..14d720898dd4 100644
--- a/net-misc/anydesk/Manifest
+++ b/net-misc/anydesk/Manifest
@@ -2,5 +2,7 @@ AUX anydesk-4.0.1.service 272 BLAKE2B 7d70803e8c238a8461a8d326e50e4e8d5c404e9a9d
AUX anydesk.desktop 239 BLAKE2B 3e9c2d1b93b7efe9731ffb1ba1202620b71b4c2655d1b053cd303b4e122dac3423998c3bad3b41b491a820587cda5a959f260937f5b5c4ebeed27583d90d2caa SHA512 c6ec7c6022b7cd994d80fa8f3d4bc583e84dc616e0567e50b6a62145ac32d6157eb00a0202633148b00b15523473f3284ca698035ed55bfde9694e3407a8d25c
AUX anydesk.init 287 BLAKE2B 75704216e27cffdfdf3e5cf52604c558e5d60333e077fe97c6e38ae2172c00bc234cff078067b94517e4e0498921a7ae9619262609573d012e548eba247a3bc5 SHA512 006a66ac77a30cab0cac9fff99d94fa41b95c53ac32760e4217ff043bbefb02b00808cd09d14eeae189a326e58eb723c0f71af0a6abf2528756bfa5f8aad25c2
DIST anydesk-6.2.1-amd64.tar.gz 6634159 BLAKE2B 03abb9c3a990a8e4b53505896ebef253c386f578a275ccbec55e85cbb27e5c0f140863c6dc407b1d0cc2f2975b63bcd13487e27425b16cd3fdb42fd71a646e97 SHA512 2a36eb0698d18d7f779a9c7b8a17b2a9964fc10ba1ce65a68555332e58fd316b8541ef5443c8f8a62a30711e8dd19174d599ac2cdccd581da645c6b6a7e000ae
+DIST anydesk-6.3.0-amd64.tar.gz 7050807 BLAKE2B f7a4eddb619d9dca50b97a43f45a7d3f87ac574ed8df0883f050827b2a9c433ca79a4715b9e8ba01f8d992b9adeeaea64743d31ba167c899f69620cba2923b61 SHA512 72a6b1a7427780fa33f5927d59485cc1ebdda6d20364cc6dde3eeacdaf7514852ebd6771669fbdfc113a069dd97eec3f2d18290a5cdd3a8d416d30610ef955b2
EBUILD anydesk-6.2.1-r1.ebuild 2381 BLAKE2B 3ba1e01c25e7998cfe38f3f493294c253baf87c37eb5aee13c5e2bbd155ca54f2932acf1c49f0aff3d4a29300512040a451e5923c295aa7d7b100a63b6b8eb87 SHA512 d40df381334aa22781256cbc69019f0d6e4fb80a877d0c8b61d75b8a7f133d9a1c0939558a13298aee9c4a15f0a795674c9b4df61228c1c6acc4644cbea4818c
+EBUILD anydesk-6.3.0.ebuild 2381 BLAKE2B 3ba1e01c25e7998cfe38f3f493294c253baf87c37eb5aee13c5e2bbd155ca54f2932acf1c49f0aff3d4a29300512040a451e5923c295aa7d7b100a63b6b8eb87 SHA512 d40df381334aa22781256cbc69019f0d6e4fb80a877d0c8b61d75b8a7f133d9a1c0939558a13298aee9c4a15f0a795674c9b4df61228c1c6acc4644cbea4818c
MISC metadata.xml 801 BLAKE2B ac00be907b480345c3fbbec76cd5c38177aad7e9193f56e7337341f1bc03591cba736ca79ae8edb0d3304bc543a451e8167d5fe00dd532a481478750abf4ecdd SHA512 1582a3006cfa71c72b453307503c955842c7843a0f40e9e95d40a975467b4ff6974677462ceb0766cbfc4028c92e9d9300190165095eb7803598778966f645c3
diff --git a/net-misc/anydesk/anydesk-6.3.0.ebuild b/net-misc/anydesk/anydesk-6.3.0.ebuild
new file mode 100644
index 000000000000..77d78ee0f0c6
--- /dev/null
+++ b/net-misc/anydesk/anydesk-6.3.0.ebuild
@@ -0,0 +1,102 @@
+# 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 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
+}