diff options
-rw-r--r-- | net-misc/anydesk/Manifest | 2 | ||||
-rw-r--r-- | net-misc/anydesk/anydesk-6.0.1.ebuild | 116 |
2 files changed, 118 insertions, 0 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest index b98d189..dcfb685 100644 --- a/net-misc/anydesk/Manifest +++ b/net-misc/anydesk/Manifest @@ -4,3 +4,5 @@ DIST anydesk-5.5.6-amd64.tar.gz 5054062 BLAKE2B a131fe5e10def7017cf29e8cc175e2b4 DIST anydesk-5.5.6-i386.tar.gz 4970197 BLAKE2B b656071498784052ce1c81f32c0ae333039930b26487d204dc5f55e8352f263878437ab3a4e2ac8469745ece75a29056f553f12f33fe96c9c2bc54d3d4644941 SHA512 3b561e014cc4c149f4d77b43c4e5427266604679dfdf9253bb76689ee6c6ac5b274cc5ac58147bdc136c20f616c9f9d8dbc2c11b5b85d0f184a0251ece2ad265 DIST anydesk-6.0.0-amd64.tar.gz 5195378 BLAKE2B b967e063cff609ff9a93f3946c6f555987526d2fd163130dc74d0e69d720972a483e0b7df04b1e39c9096156a7161ab46b160b243e249fca4ce7c6c565ae104e SHA512 f41e1fd7dc505166a21b0b7a16ad295e75b55ba73646564c8f1531f3ea659f58868294e694479a518f8692f1eb14918fa6a62c7b1e115f81da478bf8d268e07c DIST anydesk-6.0.0-i386.tar.gz 5116771 BLAKE2B 074907ac1976a3b9df7df0acf29663039e0b56466c417cb40b6c2d5d643fa4f207af529ee89a278f26ede330e8bc6fc3b32e9e5a451811ff2d8e6e1b2ccd9065 SHA512 09bc0b0ae0f9d2ca764e9feee81c38a9890e710908265c35c181657a13eb5d326cde52d01b7ba68132aac1784b6422df33c904b130f025967e9375332a350414 +DIST anydesk-6.0.1-amd64.tar.gz 5209989 BLAKE2B 5588b40460af9033aca744440d5ce43db608b8dc188a33c6f317e5e36c32b5ee8b102761b2153365018dea3a3afad03b4b1a2720cafd98f62789de407deaaeeb SHA512 bdf585bdb6fe5738e253f631807965446f585a4ffed3747b2e147b3f39d474c3a9c6177c88e2cfa1c0ae0e46c0219f581171147393609f0ecd7fa4d6cccd369d +DIST anydesk-6.0.1-i386.tar.gz 5130077 BLAKE2B 9d0467cb24493458efdac6d835b06ef22bb6db3aaeb7277386ae0749c215c3640e722e2e7d17964e32a668d63826a68f3429d3425fb7aabe59a2718648bd2b88 SHA512 58cf2ca8bb67f672ec2ac988216ab593479f09d32e8e6ace93b0d92640197f9d13a637480421be8b038f8840d91a89f97b937c9e3b3f115bc49a5fa852b2c064 diff --git a/net-misc/anydesk/anydesk-6.0.1.ebuild b/net-misc/anydesk/anydesk-6.0.1.ebuild new file mode 100644 index 0000000..6b1d45e --- /dev/null +++ b/net-misc/anydesk/anydesk-6.0.1.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 +} |