Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/
Date: Mon, 03 Aug 2020 18:26:23
Message-Id: 1596479171.9864bcce9388fe47ce97b67d23c6638b555f7a52.jmbsvicetto@gentoo
1 commit: 9864bcce9388fe47ce97b67d23c6638b555f7a52
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 18:25:52 2020 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 18:26:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9864bcce
7
8 net-misc/anydesk: 6.0.0 version bump.
9
10 Closes: https://bugs.gentoo.org/711850
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
13
14 net-misc/anydesk/Manifest | 2 +
15 net-misc/anydesk/anydesk-6.0.0.ebuild | 116 ++++++++++++++++++++++++++++++++++
16 2 files changed, 118 insertions(+)
17
18 diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
19 index 1ba5e9c956d..d72d548d2d8 100644
20 --- a/net-misc/anydesk/Manifest
21 +++ b/net-misc/anydesk/Manifest
22 @@ -6,3 +6,5 @@ DIST anydesk-5.5.4-amd64.tar.gz 4886562 BLAKE2B f8a754de375db95ae5af728e0433cd25
23 DIST anydesk-5.5.4-i386.tar.gz 4796401 BLAKE2B 35b89fcbc1565a548e3631fbd476bb5516405a62db537d1b5b76a18d3a4e912fe2be7fb92a451d1dcd11c3d16be5e012b53842a40811687320e4d806d0723509 SHA512 d6d14eed83c5b48fb02bbfe25b12c7875d984ab27ef713645aab4a4f63f5a54253da63133699a559ef4b827c9f56b3055efe0e08a4c31334247928f21c5539db
24 DIST anydesk-5.5.6-amd64.tar.gz 5054062 BLAKE2B a131fe5e10def7017cf29e8cc175e2b448be7fe3e9fa7257dc0cb470f31f6fdc78e510b5e377bc10528f0eb7f264572bf4c334c9d412f8f7404aaf85d4babbb9 SHA512 32527532fb769dccc6df8208c18e391ac6537e38f7d6c5acfd3280dbbc7cf0c545ec55416eb798ad8a6d3b0e958778d87696c9d721dd1739c17b935f1046c29d
25 DIST anydesk-5.5.6-i386.tar.gz 4970197 BLAKE2B b656071498784052ce1c81f32c0ae333039930b26487d204dc5f55e8352f263878437ab3a4e2ac8469745ece75a29056f553f12f33fe96c9c2bc54d3d4644941 SHA512 3b561e014cc4c149f4d77b43c4e5427266604679dfdf9253bb76689ee6c6ac5b274cc5ac58147bdc136c20f616c9f9d8dbc2c11b5b85d0f184a0251ece2ad265
26 +DIST anydesk-6.0.0-amd64.tar.gz 5195378 BLAKE2B b967e063cff609ff9a93f3946c6f555987526d2fd163130dc74d0e69d720972a483e0b7df04b1e39c9096156a7161ab46b160b243e249fca4ce7c6c565ae104e SHA512 f41e1fd7dc505166a21b0b7a16ad295e75b55ba73646564c8f1531f3ea659f58868294e694479a518f8692f1eb14918fa6a62c7b1e115f81da478bf8d268e07c
27 +DIST anydesk-6.0.0-i386.tar.gz 5116771 BLAKE2B 074907ac1976a3b9df7df0acf29663039e0b56466c417cb40b6c2d5d643fa4f207af529ee89a278f26ede330e8bc6fc3b32e9e5a451811ff2d8e6e1b2ccd9065 SHA512 09bc0b0ae0f9d2ca764e9feee81c38a9890e710908265c35c181657a13eb5d326cde52d01b7ba68132aac1784b6422df33c904b130f025967e9375332a350414
28
29 diff --git a/net-misc/anydesk/anydesk-6.0.0.ebuild b/net-misc/anydesk/anydesk-6.0.0.ebuild
30 new file mode 100644
31 index 00000000000..6b1d45ed053
32 --- /dev/null
33 +++ b/net-misc/anydesk/anydesk-6.0.0.ebuild
34 @@ -0,0 +1,116 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI="7"
39 +
40 +inherit desktop eutils systemd xdg-utils
41 +
42 +DESCRIPTION="Feature rich multi-platform remote desktop application"
43 +HOMEPAGE="https://anydesk.com"
44 +SRC_URI="amd64? (
45 + https://download.anydesk.com/linux/${P}-amd64.tar.gz
46 + https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz
47 + )
48 + x86? (
49 + https://download.anydesk.com/linux/${P}-i386.tar.gz
50 + https://download.anydesk.com/linux/generic-linux/${P}-i386.tar.gz
51 + )"
52 +
53 +# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash
54 +LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB"
55 +SLOT="0"
56 +KEYWORDS="-* ~amd64 ~x86"
57 +
58 +RDEPEND="
59 + dev-libs/atk
60 + dev-libs/glib:2
61 + media-libs/fontconfig:1.0
62 + media-libs/freetype:2
63 + media-libs/glu
64 + media-libs/mesa[X(+)]
65 + sys-auth/polkit
66 + x11-libs/cairo
67 + x11-libs/gdk-pixbuf:2
68 + x11-libs/gtk+:2
69 + x11-libs/gtkglext
70 + x11-libs/libICE
71 + x11-libs/libSM
72 + x11-libs/libX11
73 + x11-libs/libxcb
74 + x11-libs/libXdamage
75 + x11-libs/libXext
76 + x11-libs/libXfixes
77 + x11-libs/libXi
78 + x11-libs/libxkbfile
79 + x11-libs/libXmu
80 + x11-libs/libXrandr
81 + x11-libs/libXrender
82 + x11-libs/libXt
83 + x11-libs/libXtst
84 + x11-libs/pango
85 + x11-libs/pangox-compat
86 +"
87 +
88 +RESTRICT="bindist mirror"
89 +
90 +QA_PREBUILT="opt/${PN}/*"
91 +
92 +src_install() {
93 + local dst="/opt/${PN}"
94 +
95 + dodir ${dst}
96 + exeinto ${dst}
97 + doexe ${PN}
98 +
99 + dodir /opt/bin
100 + dosym ${dst}/${PN} /opt/bin/${PN}
101 +
102 + newinitd "${FILESDIR}"/anydesk.init anydesk
103 + systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
104 +
105 + insinto /usr/share/polkit-1/actions
106 + doins polkit-1/com.philandro.anydesk.policy
107 +
108 + insinto /usr/share
109 + doins -r icons
110 +
111 + domenu "${FILESDIR}"/anydesk.desktop
112 +
113 + keepdir /etc/${PN}
114 +
115 + dodoc copyright README
116 +}
117 +
118 +pkg_postinst() {
119 + xdg_desktop_database_update
120 + xdg_icon_cache_update
121 +
122 + if [[ -z ${REPLACING_VERSIONS} ]]; then
123 + elog "To run AnyDesk as background service use:"
124 + elog
125 + elog "OpenRC:"
126 + elog "# rc-service anydesk start"
127 + elog "# rc-update add anydesk default"
128 + elog
129 + elog "Systemd:"
130 + elog "# systemctl start anydesk.service"
131 + elog "# systemctl enable anydesk.service"
132 + elog
133 + elog "Please see README at /usr/share/doc/${PF}/README.bz2 for"
134 + elog "further information about the linux version of AnyDesk."
135 + elog
136 + fi
137 +
138 + elog "For querying information about the host PC AnyDesk calls"
139 + elog "the following commands. Feel free to install them, but it"
140 + elog "should run without as well."
141 + elog
142 + optfeature "lsb_release" sys-apps/lsb-release
143 + optfeature "lspci" sys-apps/pciutils
144 + optfeature "lsusb" sys-apps/usbutils
145 +}
146 +
147 +pkg_postrm() {
148 + xdg_desktop_database_update
149 + xdg_icon_cache_update
150 +}