diff options
author | Christian Buchinger <cb-gentoo@guya.de> | 2018-11-21 17:12:49 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-12-17 02:17:31 +0100 |
commit | eb13c7a7d58039ab02912cc11e5d7bf539f5737a (patch) | |
tree | 367d06f631678d487c2a2060415bdad51c230d76 /net-misc/anydesk | |
parent | licenses: add AnyDesk-TOS for net-misc/anydesk (diff) | |
download | gentoo-eb13c7a7d58039ab02912cc11e5d7bf539f5737a.tar.gz gentoo-eb13c7a7d58039ab02912cc11e5d7bf539f5737a.tar.bz2 gentoo-eb13c7a7d58039ab02912cc11e5d7bf539f5737a.zip |
net-misc/anydesk: New package
AnyDesk is a multi-platform remote desktop application.
Closes: https://bugs.gentoo.org/563006
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Christian Buchinger <cb-gentoo@guya.de>
Closes: https://github.com/gentoo/gentoo/pull/10458
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/anydesk')
-rw-r--r-- | net-misc/anydesk/Manifest | 2 | ||||
-rw-r--r-- | net-misc/anydesk/anydesk-4.0.1.ebuild | 98 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk.init | 10 | ||||
-rw-r--r-- | net-misc/anydesk/metadata.xml | 21 |
4 files changed, 131 insertions, 0 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest new file mode 100644 index 000000000000..ca75d1b61d2c --- /dev/null +++ b/net-misc/anydesk/Manifest @@ -0,0 +1,2 @@ +DIST anydesk-4.0.1-amd64.tar.gz 3663439 BLAKE2B 6d693262569708d0289f9e4b03e15a4d4b8d7eea5253a18c6694d720e916b9d3d2a6894db16e5e6a31ddc39bd87ef4e766244047761440f9245c5f563ccd8dd4 SHA512 df2d4ec945f77954b8548513052af4d4f16c904ba450f4560c9185e94c2d4e57dc5ffb865239d1082803e040a60775b78d9c09015932b0fa6159378475d73f10 +DIST anydesk-4.0.1-i686.tar.gz 3658518 BLAKE2B 39bcad58de9b5ae76da5e96e32a8799343e1b6f7f78b3db3d02e675acae1ebbfa5c2a47a043b9d88810644656bce027bc347a783fcccbf37cdf44f986f1a8548 SHA512 e922e296149811a7ef77ae642c9ba73ca9888be57f13b0616ba5008f6837c86245d4b8b3a4b8ab6739a97fffa9b397b20d572c1fae7d5a5b2d909e8ee07112cc diff --git a/net-misc/anydesk/anydesk-4.0.1.ebuild b/net-misc/anydesk/anydesk-4.0.1.ebuild new file mode 100644 index 000000000000..45ede2ba5a90 --- /dev/null +++ b/net-misc/anydesk/anydesk-4.0.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit desktop gnome2-utils systemd xdg-utils + +DESCRIPTION="The world's fastest remote desktop application" +HOMEPAGE="https://anydesk.com" +SRC_URI="amd64? ( https://download.anydesk.com/linux/${P}-amd64.tar.gz ) + x86? ( https://download.anydesk.com/linux/${P}-i686.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 + media-libs/fontconfig + media-libs/freetype + media-libs/glu + media-libs/mesa + sys-auth/polkit + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+ + x11-libs/gtkglext + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXt + x11-libs/libXtst + x11-libs/libxcb + x11-libs/pango + x11-libs/pangox-compat +" + +RESTRICT="bindist mirror" + +QA_PREBUILT="usr/bin/${PN}" + +src_install() { + exeinto /usr/bin + doexe ${PN} + + newinitd "${FILESDIR}"/anydesk.init anydesk + systemd_dounit systemd/anydesk.service + + insinto /usr/share/polkit-1/actions + doins polkit-1/com.philandro.anydesk.policy + + insinto /usr/share + doins -r icons + + domenu anydesk.desktop + + keepdir /etc/${PN} + + dodoc changelog copyright README +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update + + if [[ -n ${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 + elog "AnyDesk might require the following commands/packages" + elog "for some functions:" + elog "* lsb_release (sys-apps/lsb-release)" + elog "* lsusb (sys-apps/usbutils)" + fi +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} diff --git a/net-misc/anydesk/files/anydesk.init b/net-misc/anydesk/files/anydesk.init new file mode 100644 index 000000000000..193f6a24721a --- /dev/null +++ b/net-misc/anydesk/files/anydesk.init @@ -0,0 +1,10 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="AnyDesk service" +description="AnyDesk global service" +command="/usr/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 000000000000..09ba7bee8006 --- /dev/null +++ b/net-misc/anydesk/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cb-gentoo@guya.de</email> + <name>Christian Buchinger</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</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> |