diff options
author | 2020-05-22 01:10:36 +0000 | |
---|---|---|
committer | 2020-05-22 01:10:36 +0000 | |
commit | d8aaf5537f2bc4e5e92a135f273286e455510ac4 (patch) | |
tree | 8bdea59d2eb2e0c0a8f9cee6c9d6283e6c9dad98 /net-misc | |
parent | www-apps/drupal: Fix Manifest. (diff) | |
download | jmbsvicetto-d8aaf5537f2bc4e5e92a135f273286e455510ac4.tar.gz jmbsvicetto-d8aaf5537f2bc4e5e92a135f273286e455510ac4.tar.bz2 jmbsvicetto-d8aaf5537f2bc4e5e92a135f273286e455510ac4.zip |
net-misc/anydesk: Add anydesk to my overlay.
Add 5.5.4 and 5.5.6 releases.
The last release still seems to hit bug 706344 and bug 705154.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/anydesk/Manifest | 4 | ||||
-rw-r--r-- | net-misc/anydesk/anydesk-5.5.4.ebuild | 116 | ||||
-rw-r--r-- | net-misc/anydesk/anydesk-5.5.6.ebuild | 116 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk-4.0.1.service | 16 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk.desktop | 12 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk.init | 10 | ||||
-rw-r--r-- | net-misc/anydesk/metadata.xml | 17 |
7 files changed, 291 insertions, 0 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest new file mode 100644 index 0000000..f2a80fb --- /dev/null +++ b/net-misc/anydesk/Manifest @@ -0,0 +1,4 @@ +DIST anydesk-5.5.4-amd64.tar.gz 4886562 BLAKE2B f8a754de375db95ae5af728e0433cd25594a7d9ca03f0a2f133a661ca8b8ae70979ed209f224cffc71c7cc7d3a52566d6d0686bf1fa758563855695d6a92c6ab SHA512 dd9d78dbdb07930027d1222d715bae678c8933940289f2466c0a3600602e616365228ebd074bfb12ae07c9b30f44f038b4fe07374eea743784c320d3bb8d1d61 +DIST anydesk-5.5.4-i386.tar.gz 4796401 BLAKE2B 35b89fcbc1565a548e3631fbd476bb5516405a62db537d1b5b76a18d3a4e912fe2be7fb92a451d1dcd11c3d16be5e012b53842a40811687320e4d806d0723509 SHA512 d6d14eed83c5b48fb02bbfe25b12c7875d984ab27ef713645aab4a4f63f5a54253da63133699a559ef4b827c9f56b3055efe0e08a4c31334247928f21c5539db +DIST anydesk-5.5.6-amd64.tar.gz 5054062 BLAKE2B a131fe5e10def7017cf29e8cc175e2b448be7fe3e9fa7257dc0cb470f31f6fdc78e510b5e377bc10528f0eb7f264572bf4c334c9d412f8f7404aaf85d4babbb9 SHA512 32527532fb769dccc6df8208c18e391ac6537e38f7d6c5acfd3280dbbc7cf0c545ec55416eb798ad8a6d3b0e958778d87696c9d721dd1739c17b935f1046c29d +DIST anydesk-5.5.6-i386.tar.gz 4970197 BLAKE2B b656071498784052ce1c81f32c0ae333039930b26487d204dc5f55e8352f263878437ab3a4e2ac8469745ece75a29056f553f12f33fe96c9c2bc54d3d4644941 SHA512 3b561e014cc4c149f4d77b43c4e5427266604679dfdf9253bb76689ee6c6ac5b274cc5ac58147bdc136c20f616c9f9d8dbc2c11b5b85d0f184a0251ece2ad265 diff --git a/net-misc/anydesk/anydesk-5.5.4.ebuild b/net-misc/anydesk/anydesk-5.5.4.ebuild new file mode 100644 index 0000000..6b1d45e --- /dev/null +++ b/net-misc/anydesk/anydesk-5.5.4.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit desktop eutils systemd xdg-utils + +DESCRIPTION="Feature rich multi-platform remote desktop application" +HOMEPAGE="https://anydesk.com" +SRC_URI="amd64? ( + https://download.anydesk.com/linux/${P}-amd64.tar.gz + https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz + ) + x86? ( + https://download.anydesk.com/linux/${P}-i386.tar.gz + https://download.anydesk.com/linux/generic-linux/${P}-i386.tar.gz + )" + +# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash +LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + dev-libs/atk + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/glu + media-libs/mesa[X(+)] + sys-auth/polkit + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtkglext + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxkbfile + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst + x11-libs/pango + x11-libs/pangox-compat +" + +RESTRICT="bindist mirror" + +QA_PREBUILT="opt/${PN}/*" + +src_install() { + local dst="/opt/${PN}" + + dodir ${dst} + 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.philandro.anydesk.policy + + insinto /usr/share + doins -r icons + + domenu "${FILESDIR}"/anydesk.desktop + + keepdir /etc/${PN} + + 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 + + elog "For querying information about the host PC AnyDesk calls" + elog "the following commands. Feel free to install them, but it" + elog "should run without as well." + elog + 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 +} diff --git a/net-misc/anydesk/anydesk-5.5.6.ebuild b/net-misc/anydesk/anydesk-5.5.6.ebuild new file mode 100644 index 0000000..6b1d45e --- /dev/null +++ b/net-misc/anydesk/anydesk-5.5.6.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit desktop eutils systemd xdg-utils + +DESCRIPTION="Feature rich multi-platform remote desktop application" +HOMEPAGE="https://anydesk.com" +SRC_URI="amd64? ( + https://download.anydesk.com/linux/${P}-amd64.tar.gz + https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz + ) + x86? ( + https://download.anydesk.com/linux/${P}-i386.tar.gz + https://download.anydesk.com/linux/generic-linux/${P}-i386.tar.gz + )" + +# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash +LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + dev-libs/atk + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/glu + media-libs/mesa[X(+)] + sys-auth/polkit + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtkglext + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxkbfile + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst + x11-libs/pango + x11-libs/pangox-compat +" + +RESTRICT="bindist mirror" + +QA_PREBUILT="opt/${PN}/*" + +src_install() { + local dst="/opt/${PN}" + + dodir ${dst} + 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.philandro.anydesk.policy + + insinto /usr/share + doins -r icons + + domenu "${FILESDIR}"/anydesk.desktop + + keepdir /etc/${PN} + + 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 + + elog "For querying information about the host PC AnyDesk calls" + elog "the following commands. Feel free to install them, but it" + elog "should run without as well." + elog + 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 +} diff --git a/net-misc/anydesk/files/anydesk-4.0.1.service b/net-misc/anydesk/files/anydesk-4.0.1.service new file mode 100644 index 0000000..e7a3ef0 --- /dev/null +++ b/net-misc/anydesk/files/anydesk-4.0.1.service @@ -0,0 +1,16 @@ +[Unit] +Description=AnyDesk +Requires=network.target +After=systemd-user-sessions.service + +[Service] +Type=simple +ExecStart=/opt/bin/anydesk --service +PIDFile=/var/run/anydesk.pid +KillMode=mixed +TimeoutStopSec=30 +User=root +LimitNOFILE=100000 + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/anydesk/files/anydesk.desktop b/net-misc/anydesk/files/anydesk.desktop new file mode 100644 index 0000000..cd4c1e0 --- /dev/null +++ b/net-misc/anydesk/files/anydesk.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Name=AnyDesk +GenericName=AnyDesk +X-GNOME-FullName=AnyDesk +Exec=/opt/bin/anydesk %u +Icon=anydesk +Terminal=false +TryExec=anydesk +Categories=Network;GTK; +MimeType=x-scheme-handler/anydesk; +Name[de_DE]=AnyDesk diff --git a/net-misc/anydesk/files/anydesk.init b/net-misc/anydesk/files/anydesk.init new file mode 100644 index 0000000..eced405 --- /dev/null +++ b/net-misc/anydesk/files/anydesk.init @@ -0,0 +1,10 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="AnyDesk service" +description="AnyDesk global service" +command="/opt/bin/anydesk" +command_args="--service" +pidfile="/var/run/anydesk.pid" +command_background=true diff --git a/net-misc/anydesk/metadata.xml b/net-misc/anydesk/metadata.xml new file mode 100644 index 0000000..1312e9b --- /dev/null +++ b/net-misc/anydesk/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jmbsvicetto@gentoo.org</email> + <name>Jorge Manuel B. S. Vicetto</name> + </maintainer> + <upstream> + <changelog>https://download.anydesk.com/changelog.txt</changelog> + <bugs-to>mailto:support@anydesk.com</bugs-to> + </upstream> + <longdescription lang="en"> + Connect to a computer remotely, be it from the other end of the office + or halfway around the world. AnyDesk ensures secure and reliable remote + desktop connections for IT professionals and on-the-go individuals alike. + </longdescription> +</pkgmetadata> |