Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/chrome-binary-plugins: chrome-binary-plugins-42.0.2311.135_p1.ebuild chrome-binary-plugins-44.0.2383.0_alpha1.ebuild ChangeLog chrome-binary-plugins-44.0.2376.0_alpha1.ebuild chrome-binary-plugins-42.0.2311.90_p1.ebuild
Date: Wed, 29 Apr 2015 00:48:29
Message-Id: 20150429004823.64241998@oystercatcher.gentoo.org
1 floppym 15/04/29 00:48:22
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-42.0.2311.135_p1.ebuild
5 chrome-binary-plugins-44.0.2383.0_alpha1.ebuild
6 Removed: chrome-binary-plugins-44.0.2376.0_alpha1.ebuild
7 chrome-binary-plugins-42.0.2311.90_p1.ebuild
8 Log:
9 Bump.
10
11 (Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.246 www-plugins/chrome-binary-plugins/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.246&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.246&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.245&r2=1.246
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.245
24 retrieving revision 1.246
25 diff -u -r1.245 -r1.246
26 --- ChangeLog 22 Apr 2015 17:34:56 -0000 1.245
27 +++ ChangeLog 29 Apr 2015 00:48:22 -0000 1.246
28 @@ -1,6 +1,16 @@
29 # ChangeLog for www-plugins/chrome-binary-plugins
30 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.245 2015/04/22 17:34:56 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.246 2015/04/29 00:48:22 floppym Exp $
33 +
34 +*chrome-binary-plugins-42.0.2311.135_p1 (29 Apr 2015)
35 +*chrome-binary-plugins-44.0.2383.0_alpha1 (29 Apr 2015)
36 +
37 + 29 Apr 2015; Mike Gilbert <floppym@g.o>
38 + +chrome-binary-plugins-42.0.2311.135_p1.ebuild,
39 + +chrome-binary-plugins-44.0.2383.0_alpha1.ebuild,
40 + -chrome-binary-plugins-42.0.2311.90_p1.ebuild,
41 + -chrome-binary-plugins-44.0.2376.0_alpha1.ebuild:
42 + Bump.
43
44 *chrome-binary-plugins-43.0.2357.37_beta1 (22 Apr 2015)
45
46
47
48
49 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2311.135_p1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2311.135_p1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2311.135_p1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: chrome-binary-plugins-42.0.2311.135_p1.ebuild
55 ===================================================================
56 # Copyright 1999-2015 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2311.135_p1.ebuild,v 1.1 2015/04/29 00:48:22 floppym Exp $
59
60 EAPI=5
61
62 inherit multilib unpacker
63
64 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
65 HOMEPAGE="http://www.google.com/chrome"
66
67 case ${PV} in
68 *_alpha*|9999*)
69 SLOT="unstable"
70 CHROMEDIR="opt/google/chrome-${SLOT}"
71 MY_PV=${PV/_alpha/-}
72 ;;
73 *_beta*)
74 SLOT="beta"
75 CHROMEDIR="opt/google/chrome-${SLOT}"
76 MY_PV=${PV/_beta/-}
77 ;;
78 *_p*)
79 SLOT="stable"
80 CHROMEDIR="opt/google/chrome"
81 MY_PV=${PV/_p/-}
82 ;;
83 *)
84 die "Invalid value for \${PV}: ${PV}"
85 ;;
86 esac
87
88 MY_PN="google-chrome-${SLOT}"
89 MY_P="${MY_PN}_${MY_PV}"
90
91 if [[ ${PV} != 9999* ]]; then
92 SRC_URI="
93 amd64? (
94 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
95 )
96 x86? (
97 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
98 )
99 "
100 KEYWORDS="amd64 x86"
101 fi
102
103 LICENSE="google-chrome"
104 IUSE="+flash +widevine"
105 RESTRICT="bindist mirror strip"
106
107 for x in 0 beta stable unstable; do
108 if [[ ${SLOT} != ${x} ]]; then
109 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
110 fi
111 done
112
113 S="${WORKDIR}/${CHROMEDIR}"
114 QA_PREBUILT="*"
115
116 pkg_nofetch() {
117 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
118 }
119
120 if [[ ${PV} == 9999* ]]; then
121 src_unpack() {
122 local base="https://dl.google.com/linux/direct"
123 local debarch=${ARCH/x86/i386}
124 wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die
125 unpack_deb ./google-chrome.deb
126 }
127 fi
128
129 src_install() {
130 local version flapper
131
132 insinto /usr/$(get_libdir)/chromium-browser/
133
134 if use widevine; then
135 doins libwidevinecdm.so
136 strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
137 doins widevine.version
138 einfo "Please note that if you intend to use this with www-clients/chromium,"
139 einfo "you'll need to enable the widevine USE flag there as well, in order to"
140 einfo "utilize the widevine USE flag that's been used here."
141 fi
142
143 if use flash; then
144 doins -r PepperFlash
145
146 # Since this is a live ebuild, we're forced to, unfortuantely,
147 # dynamically construct the command line args for Chromium.
148 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
149 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
150 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
151 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
152 echo "--ppapi-flash-version=$version\"" >> pepper-flash
153
154 insinto /etc/chromium/
155 doins pepper-flash
156 fi
157 }
158
159
160
161 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2383.0_alpha1.ebuild
162
163 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2383.0_alpha1.ebuild?rev=1.1&view=markup
164 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2383.0_alpha1.ebuild?rev=1.1&content-type=text/plain
165
166 Index: chrome-binary-plugins-44.0.2383.0_alpha1.ebuild
167 ===================================================================
168 # Copyright 1999-2015 Gentoo Foundation
169 # Distributed under the terms of the GNU General Public License v2
170 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2383.0_alpha1.ebuild,v 1.1 2015/04/29 00:48:22 floppym Exp $
171
172 EAPI=5
173
174 inherit multilib unpacker
175
176 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
177 HOMEPAGE="http://www.google.com/chrome"
178
179 case ${PV} in
180 *_alpha*|9999*)
181 SLOT="unstable"
182 CHROMEDIR="opt/google/chrome-${SLOT}"
183 MY_PV=${PV/_alpha/-}
184 ;;
185 *_beta*)
186 SLOT="beta"
187 CHROMEDIR="opt/google/chrome-${SLOT}"
188 MY_PV=${PV/_beta/-}
189 ;;
190 *_p*)
191 SLOT="stable"
192 CHROMEDIR="opt/google/chrome"
193 MY_PV=${PV/_p/-}
194 ;;
195 *)
196 die "Invalid value for \${PV}: ${PV}"
197 ;;
198 esac
199
200 MY_PN="google-chrome-${SLOT}"
201 MY_P="${MY_PN}_${MY_PV}"
202
203 if [[ ${PV} != 9999* ]]; then
204 SRC_URI="
205 amd64? (
206 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
207 )
208 x86? (
209 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
210 )
211 "
212 KEYWORDS="~amd64 ~x86"
213 fi
214
215 LICENSE="google-chrome"
216 IUSE="+flash +widevine"
217 RESTRICT="bindist mirror strip"
218
219 for x in 0 beta stable unstable; do
220 if [[ ${SLOT} != ${x} ]]; then
221 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
222 fi
223 done
224
225 S="${WORKDIR}/${CHROMEDIR}"
226 QA_PREBUILT="*"
227
228 pkg_nofetch() {
229 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
230 }
231
232 if [[ ${PV} == 9999* ]]; then
233 src_unpack() {
234 local base="https://dl.google.com/linux/direct"
235 local debarch=${ARCH/x86/i386}
236 wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die
237 unpack_deb ./google-chrome.deb
238 }
239 fi
240
241 src_install() {
242 local version flapper
243
244 insinto /usr/$(get_libdir)/chromium-browser/
245
246 if use widevine; then
247 doins libwidevinecdm.so
248 strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
249 doins widevine.version
250 einfo "Please note that if you intend to use this with www-clients/chromium,"
251 einfo "you'll need to enable the widevine USE flag there as well, in order to"
252 einfo "utilize the widevine USE flag that's been used here."
253 fi
254
255 if use flash; then
256 doins -r PepperFlash
257
258 # Since this is a live ebuild, we're forced to, unfortuantely,
259 # dynamically construct the command line args for Chromium.
260 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
261 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
262 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
263 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
264 echo "--ppapi-flash-version=$version\"" >> pepper-flash
265
266 insinto /etc/chromium/
267 doins pepper-flash
268 fi
269 }