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