diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-misc/anydesk | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-misc/anydesk')
-rw-r--r-- | net-misc/anydesk/Manifest | 6 | ||||
-rw-r--r-- | net-misc/anydesk/anydesk-4.0.1-r1.ebuild | 104 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk-4.0.1.service | 16 | ||||
-rw-r--r-- | net-misc/anydesk/files/anydesk.init | 10 | ||||
-rw-r--r-- | net-misc/anydesk/metadata.xml | 21 |
5 files changed, 157 insertions, 0 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest new file mode 100644 index 000000000000..7f1192ae9c93 --- /dev/null +++ b/net-misc/anydesk/Manifest @@ -0,0 +1,6 @@ +AUX anydesk-4.0.1.service 276 BLAKE2B 1eb07a90a1e2369c42be849e9885d0696f1b68ff1f21bef3907e0772e930ba41dbed6228e7be62f1fb80bbcc02866294d6f0040e7d8a2928ad409d3bef78ae5d SHA512 af74f74030f6834dc85f0275a0a3f7ef8eafc902a5b8eb99197574c60de1658cd70f4e3152876a1e9c86349473c2e52bba98302d366fa1b1f2618373f90e0f78 +AUX anydesk.init 291 BLAKE2B 5fa5d60240f3342e53fcf7aa17df6d658a98b6446887f73e04eed490824876cebe9fca7844c4e33737f6b4e01787a2134089de78152503130d4ef4a242bf3f12 SHA512 63e60d0442355f567e24bb6042710e998ac7ed09b4d970cd30bb6910955bc95e7629f63a4988c2b92067cf273aa04893510cc31971def96bf453c92b673254c2 +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 +EBUILD anydesk-4.0.1-r1.ebuild 2272 BLAKE2B e8d7054d8237607150316ad90e8cf7be776c11770734a0e67ded1f19344fb0bbb82bf2704523a0f3457c319e54ca708c94def234fca4c9e02ad8b02c6513bb82 SHA512 5a7a368670b7d1337ff2246f23d1b26101b9630b9cfd00416d155b6ece5b240355bcf879ccdf535f61c8fb290cb5009b54387d4cfade1ff240f5e60b4a409384 +MISC metadata.xml 782 BLAKE2B 4052c9f572568a3ab3a9c4bc1f567439cc7a4438a5f3fc1c4b14b0b7d4582d19d74ef106d5ad845e2f7549b734eeb539a3c79bc287f0359301c02d04083c303f SHA512 4c8eda43942444eeb6df7a19bb27528973a9efa412536b5b297640c77ae94065bd3b46e722289f1762494742d61ac6c9b47c5f967afa1c226a1daef30484fb03 diff --git a/net-misc/anydesk/anydesk-4.0.1-r1.ebuild b/net-misc/anydesk/anydesk-4.0.1-r1.ebuild new file mode 100644 index 000000000000..0d1c769a03b3 --- /dev/null +++ b/net-misc/anydesk/anydesk-4.0.1-r1.ebuild @@ -0,0 +1,104 @@ +# 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="Feature rich multi-platform 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="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 anydesk.desktop + + keepdir /etc/${PN} + + dodoc changelog copyright README +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_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 + 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-4.0.1.service b/net-misc/anydesk/files/anydesk-4.0.1.service new file mode 100644 index 000000000000..e7a3ef008374 --- /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.init b/net-misc/anydesk/files/anydesk.init new file mode 100644 index 000000000000..5b8986ed8d1b --- /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="/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 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> |