From: | Mike Frysinger <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: net-misc/chrome-remote-desktop/ |
Date: | Thu, 04 Aug 2016 19:45:51 |
Message-Id: | 1470339932.e5c2f79690a72580537e40570a243952e26c14b5.vapier@gentoo |
1 | commit: e5c2f79690a72580537e40570a243952e26c14b5 |
2 | Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 | AuthorDate: Thu Aug 4 19:40:03 2016 +0000 |
4 | Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 | CommitDate: Thu Aug 4 19:45:32 2016 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c2f796 |
7 | |
8 | net-misc/chrome-remote-desktop: version bump to 52.0.2743.74 |
9 | |
10 | net-misc/chrome-remote-desktop/Manifest | 1 + |
11 | .../chrome-remote-desktop-52.0.2743.74.ebuild | 107 +++++++++++++++++++++ |
12 | 2 files changed, 108 insertions(+) |
13 | |
14 | diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest |
15 | index 37c69b3..caa4622 100644 |
16 | --- a/net-misc/chrome-remote-desktop/Manifest |
17 | +++ b/net-misc/chrome-remote-desktop/Manifest |
18 | @@ -1,3 +1,4 @@ |
19 | DIST chrome-remote-desktop_49.0.2623.40_amd64.deb 20315570 SHA256 2f3cb883e1ff2465db47d5aadf773efb49c5f11b0bfe3dfba973608e4db45047 SHA512 d936885a986a749a0b4ebb1bb68fe0bc14d10d21363a409abbbb224b4f3ee048ef030ee81469be9bbb8c3852d7c6793fcab1f51d52fcaf5b02cda07550b72330 WHIRLPOOL 6662bfc8a8c298b7c062e4a10752aa3dfe910c7602a0bc20dc64533195d61ceb414dbc411c7f872e085dd13c46372ee46b33904d68bb5aae13698a04442e3905 |
20 | DIST chrome-remote-desktop_49.0.2623.40_i386.deb 20941574 SHA256 00e480a90b3ed3545ea762d7501b323f2471eb06b11f87882c046598b8f38df7 SHA512 00cf6641ee993fb8c295ca99cb57cde42eb3dd6cc34ae4684f858279615695d5b1a257081e8988293f94e887986492e112bc0276f572cd592d9879dec88eace8 WHIRLPOOL effd2650ee7d5b97f87ede0ac79bc1818ddc06e3eb742a080b12a4ef67283f5ba20495d5a5b4f5a5923d2a9a574a711513344b08abac3938ad142f27af48ed88 |
21 | DIST chrome-remote-desktop_50.0.2661.22_amd64.deb 21082544 SHA256 6d17cfee5cf74c98ecbfabbd9b049837c9954495707c2961f8f567afa436e4c5 SHA512 747d0661efbf3957605b0323ad59e7a5c704c45f5da9b32def75723cbe292b5448425871864c126774a8b715e2b57122529f64302df857f1f9bb6bf8eb9eaa6a WHIRLPOOL d160e320d97ecd33cde4e5e86dd8a1f5f3f590ee231a2fbf52a23ff3fa9bb856178a4ae1833ec352b93340a98e4917aea82e33de2a3b9a9f3f188743e9c7d3e1 |
22 | +DIST chrome-remote-desktop_52.0.2743.74_amd64.deb 21581666 SHA256 495735e4fb28473a3f6103dfb1b02141863faa74911345a8b39447ce7ff6ff83 SHA512 9006a4cd6260af0191f7a72c6c6d95d6487e6fb757dfa8bc146b3224041d70f6f5db121d482a115760fe2dac982cec3ca8084eb4e3c5b08c2fef8e35e99766a2 WHIRLPOOL dd368941f79a107e1d45e4ec9254dd38beee568ffb5de2bb681ef10d12c935abe14af09315364547fe58206f7e851bd16cfcefaba70cf9852d78c770c59e2f4c |
23 | |
24 | diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-52.0.2743.74.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-52.0.2743.74.ebuild |
25 | new file mode 100644 |
26 | index 0000000..01fc564 |
27 | --- /dev/null |
28 | +++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-52.0.2743.74.ebuild |
29 | @@ -0,0 +1,107 @@ |
30 | +# Copyright 1999-2016 Gentoo Foundation |
31 | +# Distributed under the terms of the GNU General Public License v2 |
32 | + |
33 | +# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
34 | +# Fetch the Release file: |
35 | +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
36 | +# Which gives you the Packages file: |
37 | +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
38 | +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
39 | +# And finally gives you the file name: |
40 | +# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
41 | +# |
42 | +# Use curl to find the answer: |
43 | +# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages | grep ^Filename |
44 | + |
45 | +EAPI="5" |
46 | + |
47 | +PYTHON_COMPAT=( python2_7 ) |
48 | + |
49 | +inherit unpacker eutils python-single-r1 |
50 | + |
51 | +DESCRIPTION="access remote computers via Chrome!" |
52 | +PLUGIN_URL="https://chrome.google.com/remotedesktop" |
53 | +HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" |
54 | +BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
55 | +SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" |
56 | + |
57 | +LICENSE="google-chrome" |
58 | +SLOT="0" |
59 | +KEYWORDS="-* ~amd64" |
60 | +IUSE="" |
61 | + |
62 | +# All the libs this package links against. |
63 | +RDEPEND="app-admin/sudo |
64 | + ${PYTHON_DEPS} |
65 | + >=dev-libs/expat-2 |
66 | + dev-libs/glib:2 |
67 | + dev-libs/nspr |
68 | + dev-libs/nss |
69 | + dev-python/psutil |
70 | + gnome-base/gconf:2 |
71 | + media-libs/fontconfig |
72 | + media-libs/freetype:2 |
73 | + sys-devel/gcc |
74 | + sys-libs/glibc |
75 | + sys-libs/pam |
76 | + x11-libs/cairo |
77 | + x11-libs/gtk+:2 |
78 | + x11-libs/libX11 |
79 | + x11-libs/libXdamage |
80 | + x11-libs/libXext |
81 | + x11-libs/libXfixes |
82 | + x11-libs/libXi |
83 | + x11-libs/libXrandr |
84 | + x11-libs/libXtst |
85 | + x11-libs/pango" |
86 | +# Settings we just need at runtime. |
87 | +RDEPEND+=" |
88 | + x11-base/xorg-server[xvfb]" |
89 | +DEPEND="" |
90 | + |
91 | +S=${WORKDIR} |
92 | + |
93 | +QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
94 | + |
95 | +src_prepare() { |
96 | + epatch "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 |
97 | + python_fix_shebang opt/google/chrome-remote-desktop/chrome-remote-desktop |
98 | +} |
99 | + |
100 | +src_install() { |
101 | + insinto /etc |
102 | + doins -r etc/opt |
103 | + |
104 | + insinto /opt |
105 | + doins -r opt/google |
106 | + chmod a+rx "${ED}"/opt/google/${PN}/* || die |
107 | + |
108 | + dodir /etc/pam.d |
109 | + dosym system-remote-login /etc/pam.d/${PN} |
110 | + |
111 | + dodoc usr/share/doc/${PN}/changelog* |
112 | + |
113 | + newinitd "${FILESDIR}"/${PN}.rc ${PN} |
114 | + newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
115 | +} |
116 | + |
117 | +pkg_postinst() { |
118 | + if [[ -z ${REPLACING_VERSIONS} ]] ; then |
119 | + elog "Two ways to launch the server:" |
120 | + elog "(1) access an existing desktop" |
121 | + elog " (a) install the Chrome plugin on the server & client:" |
122 | + elog " ${PLUGIN_URL}" |
123 | + elog " (b) on the server, run the Chrome plugin & enable remote access" |
124 | + elog " (c) on the client, connect to the server" |
125 | + elog "(2) headless system" |
126 | + elog " (a) install the Chrome plugin on the client:" |
127 | + elog " ${PLUGIN_URL}" |
128 | + elog " (b) visit https://accounts.google.com/o/oauth2/auth?response_type=code&scope=https://www.googleapis.com/auth/chromoting+https://www.googleapis.com/auth/googletalk+https://www.googleapis.com/auth/userinfo.email&access_type=offline&redirect_uri=https://chromoting-auth.googleplex.com/auth&approval_prompt=force&client_id=440925447803-avn2sj1kc099s0r7v62je5s339mu0am1.apps.googleusercontent.com&hl=en&from_login=1&as=-760f476eeaec11b8&pli=1&authuser=0" |
129 | + elog " (c) run the command mentioned on the server" |
130 | + elog " (d) on the client, connect to the server" |
131 | + elog |
132 | + elog "Configuration settings you might want to be aware of:" |
133 | + elog " ~/.${PN}-session - shell script to start your session" |
134 | + elog " /etc/init.d/${PN} - script to auto-restart server" |
135 | + fi |
136 | +} |