1 |
commit: 8bb01fb1de3bf1e528158e3cb9deacb083c3d55d |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 04:16:19 2020 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 04:17:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb01fb1 |
7 |
|
8 |
net-misc/chrome-remote-desktop: version bump to 80.0.3987.18 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704782 |
11 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
12 |
|
13 |
net-misc/chrome-remote-desktop/Manifest | 1 + |
14 |
.../chrome-remote-desktop-80.0.3987.18.ebuild | 137 +++++++++++++++++++++ |
15 |
2 files changed, 138 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest |
18 |
index ace541f20a6..0ef12519ee3 100644 |
19 |
--- a/net-misc/chrome-remote-desktop/Manifest |
20 |
+++ b/net-misc/chrome-remote-desktop/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST chrome-remote-desktop_63.0.3239.17_amd64.deb 19026074 BLAKE2B 9a62d317768d6c0ab3cf3c6e7c5dea074133cc7c5d2b04ffdc1e0f9877f5f606c044ebab7b230914eba2ade51d2805fb1267f7b1731fa36235495a8192eb3c48 SHA512 2843deb7817217c8b8e41931b1e9ef0fdfb40c6a4ceb1bc69499aed16cc729d7ed64f88200c9bb2366a768f294a164da2360ed2b9654d1626696bcf0403e347a |
23 |
DIST chrome-remote-desktop_77.0.3865.32_amd64.deb 35724698 BLAKE2B 25828e144d88072fde7a7e50cd278df1a90b94e0281038239d67e2369eaf93e82897cbda4624cffe34f045b185437a892671541eeb685b80a912733380e3afb8 SHA512 1181592536b9313ca136ce280c8349e3d7325b2bfa116714adc4fcb4d4b4f8659cb53cba134d2476b696fa73f55eefbc0a255f6cc76fb1a93eecfff42eb1d425 |
24 |
+DIST chrome-remote-desktop_80.0.3987.18_amd64.deb 27188594 BLAKE2B 10dbb9364195da2d648d1087360ad7d2845b51d2517eef7e793f6b004d27a4a4331c6b7138db0dcee6d220ca2758549562ddbb1ab176a30dae8ae35744fceb31 SHA512 6aee7482ee9dbbc46dabf132c3ab4f610a568de7bb476e1dfdfd19a3ae30fa5d3ac8b9469699e5f0ecea436a3d565252d0a86818f27c7c095d9c6db5859d35a6 |
25 |
|
26 |
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1811ba66f48 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild |
31 |
@@ -0,0 +1,137 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
36 |
+# Fetch the Release file: |
37 |
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
38 |
+# Which gives you the Packages file: |
39 |
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
40 |
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
41 |
+# And finally gives you the file name: |
42 |
+# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
43 |
+# |
44 |
+# Use curl to find the answer: |
45 |
+# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename |
46 |
+ |
47 |
+EAPI="7" |
48 |
+ |
49 |
+PYTHON_COMPAT=( python2_7 ) |
50 |
+PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" |
51 |
+ |
52 |
+inherit unpacker eutils python-single-r1 l10n |
53 |
+ |
54 |
+DESCRIPTION="access remote computers via Chrome!" |
55 |
+PLUGIN_URL="https://chrome.google.com/remotedesktop" |
56 |
+HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" |
57 |
+BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
58 |
+SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" |
59 |
+ |
60 |
+LICENSE="google-chrome" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="-* ~amd64" |
63 |
+IUSE="xrandr" |
64 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
65 |
+RESTRICT="bindist mirror" |
66 |
+ |
67 |
+# All the libs this package links against. |
68 |
+RDEPEND="app-admin/sudo |
69 |
+ ${PYTHON_DEPS} |
70 |
+ >=dev-libs/expat-2 |
71 |
+ dev-libs/glib:2 |
72 |
+ dev-libs/nspr |
73 |
+ dev-libs/nss |
74 |
+ dev-python/psutil |
75 |
+ gnome-base/gconf:2 |
76 |
+ media-libs/fontconfig |
77 |
+ media-libs/freetype:2 |
78 |
+ sys-devel/gcc |
79 |
+ sys-libs/glibc |
80 |
+ sys-libs/pam |
81 |
+ x11-apps/xdpyinfo |
82 |
+ x11-apps/setxkbmap |
83 |
+ x11-libs/cairo |
84 |
+ x11-libs/gtk+:2 |
85 |
+ x11-libs/libX11 |
86 |
+ x11-libs/libXdamage |
87 |
+ x11-libs/libXext |
88 |
+ x11-libs/libXfixes |
89 |
+ x11-libs/libXi |
90 |
+ x11-libs/libXrandr |
91 |
+ x11-libs/libXtst |
92 |
+ x11-libs/pango" |
93 |
+# Settings we just need at runtime. |
94 |
+# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. |
95 |
+# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked. |
96 |
+# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. |
97 |
+# - The config takes over the active display in addition to starting up a virtual one. |
98 |
+RDEPEND+=" |
99 |
+ xrandr? ( x11-apps/xrandr ) |
100 |
+ x11-base/xorg-server[xvfb]" |
101 |
+DEPEND="" |
102 |
+ |
103 |
+S=${WORKDIR} |
104 |
+ |
105 |
+QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
106 |
+ |
107 |
+PATCHES=( |
108 |
+ "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 |
109 |
+) |
110 |
+ |
111 |
+src_prepare() { |
112 |
+ default |
113 |
+ |
114 |
+ gunzip usr/share/doc/${PN}/*.gz || die |
115 |
+ |
116 |
+ cd opt/google/chrome-remote-desktop |
117 |
+ python_fix_shebang chrome-remote-desktop |
118 |
+ |
119 |
+ cd remoting_locales |
120 |
+ rm fake-bidi* || die |
121 |
+ PLOCALES=${PLOCALES//_/-} l10n_find_plocales_changes "${PWD}" '' '.pak' |
122 |
+} |
123 |
+ |
124 |
+src_install() { |
125 |
+ pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die |
126 |
+ rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } |
127 |
+ l10n_for_each_disabled_locale_do rm_pak |
128 |
+ popd >/dev/null |
129 |
+ |
130 |
+ insinto /etc |
131 |
+ doins -r etc/opt |
132 |
+ dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754 |
133 |
+ |
134 |
+ insinto /opt |
135 |
+ doins -r opt/google |
136 |
+ chmod a+rx "${ED}"/opt/google/${PN}/* || die |
137 |
+ fperms +s /opt/google/${PN}/user-session |
138 |
+ |
139 |
+ dodir /etc/pam.d |
140 |
+ dosym system-remote-login /etc/pam.d/${PN} |
141 |
+ |
142 |
+ dodoc usr/share/doc/${PN}/changelog* |
143 |
+ |
144 |
+ newinitd "${FILESDIR}"/${PN}.rc ${PN} |
145 |
+ newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
146 |
+} |
147 |
+ |
148 |
+pkg_postinst() { |
149 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
150 |
+ elog "Two ways to launch the server:" |
151 |
+ elog "(1) access an existing desktop" |
152 |
+ elog " (a) install the Chrome plugin on the server & client:" |
153 |
+ elog " ${PLUGIN_URL}" |
154 |
+ elog " (b) on the server, run the Chrome plugin & enable remote access" |
155 |
+ elog " (c) on the client, connect to the server" |
156 |
+ elog "(2) headless system" |
157 |
+ elog " (a) install the Chrome plugin on the client:" |
158 |
+ elog " ${PLUGIN_URL}" |
159 |
+ elog " (b) run ${EPREFIX}opt/google/chrome-remote-desktop/start-host --help to get the auth URL" |
160 |
+ elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" |
161 |
+ elog " (d) run start-host again, and past the code when asked for an authorization code" |
162 |
+ elog " (e) on the client, connect to the server" |
163 |
+ elog |
164 |
+ elog "Configuration settings you might want to be aware of:" |
165 |
+ elog " ~/.${PN}-session - shell script to start your session" |
166 |
+ elog " /etc/init.d/${PN} - script to auto-restart server" |
167 |
+ fi |
168 |
+} |