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-39.0.2171.42_beta1.ebuild chrome-binary-plugins-40.0.2202.3_alpha1.ebuild ChangeLog chrome-binary-plugins-40.0.2194.2_alpha1.ebuild chrome-binary-plugins-39.0.2171.36_beta1.ebuild
Date: Wed, 29 Oct 2014 20:12:35
Message-Id: 20141029201231.B5A5A9050@oystercatcher.gentoo.org
1 floppym 14/10/29 20:12:31
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-39.0.2171.42_beta1.ebuild
5 chrome-binary-plugins-40.0.2202.3_alpha1.ebuild
6 Removed: chrome-binary-plugins-40.0.2194.2_alpha1.ebuild
7 chrome-binary-plugins-39.0.2171.36_beta1.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.194 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.194&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.194&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.193&r2=1.194
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.193
24 retrieving revision 1.194
25 diff -u -r1.193 -r1.194
26 --- ChangeLog 28 Oct 2014 01:01:24 -0000 1.193
27 +++ ChangeLog 29 Oct 2014 20:12:31 -0000 1.194
28 @@ -1,6 +1,16 @@
29 # ChangeLog for www-plugins/chrome-binary-plugins
30 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.193 2014/10/28 01:01:24 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.194 2014/10/29 20:12:31 floppym Exp $
33 +
34 +*chrome-binary-plugins-40.0.2202.3_alpha1 (29 Oct 2014)
35 +*chrome-binary-plugins-39.0.2171.42_beta1 (29 Oct 2014)
36 +
37 + 29 Oct 2014; Mike Gilbert <floppym@g.o>
38 + +chrome-binary-plugins-39.0.2171.42_beta1.ebuild,
39 + +chrome-binary-plugins-40.0.2202.3_alpha1.ebuild,
40 + -chrome-binary-plugins-39.0.2171.36_beta1.ebuild,
41 + -chrome-binary-plugins-40.0.2194.2_alpha1.ebuild:
42 + Automated update.
43
44 *chrome-binary-plugins-38.0.2125.111_p1 (28 Oct 2014)
45
46
47
48
49 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-39.0.2171.42_beta1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-39.0.2171.42_beta1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-39.0.2171.42_beta1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: chrome-binary-plugins-39.0.2171.42_beta1.ebuild
55 ===================================================================
56 # Copyright 1999-2014 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-39.0.2171.42_beta1.ebuild,v 1.1 2014/10/29 20:12:31 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"
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 flash; then
135 doins -r PepperFlash
136
137 # Since this is a live ebuild, we're forced to, unfortuantely,
138 # dynamically construct the command line args for Chromium.
139 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
140 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
141 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
142 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
143 echo "--ppapi-flash-version=$version\"" >> pepper-flash
144
145 insinto /etc/chromium/
146 doins pepper-flash
147 fi
148 }
149
150
151
152 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2202.3_alpha1.ebuild
153
154 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2202.3_alpha1.ebuild?rev=1.1&view=markup
155 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2202.3_alpha1.ebuild?rev=1.1&content-type=text/plain
156
157 Index: chrome-binary-plugins-40.0.2202.3_alpha1.ebuild
158 ===================================================================
159 # Copyright 1999-2014 Gentoo Foundation
160 # Distributed under the terms of the GNU General Public License v2
161 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2202.3_alpha1.ebuild,v 1.1 2014/10/29 20:12:31 floppym Exp $
162
163 EAPI=5
164
165 inherit multilib unpacker
166
167 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
168 HOMEPAGE="http://www.google.com/chrome"
169
170 case ${PV} in
171 *_alpha*|9999*)
172 SLOT="unstable"
173 CHROMEDIR="opt/google/chrome-${SLOT}"
174 MY_PV=${PV/_alpha/-}
175 ;;
176 *_beta*)
177 SLOT="beta"
178 CHROMEDIR="opt/google/chrome-${SLOT}"
179 MY_PV=${PV/_beta/-}
180 ;;
181 *_p*)
182 SLOT="stable"
183 CHROMEDIR="opt/google/chrome"
184 MY_PV=${PV/_p/-}
185 ;;
186 *)
187 die "Invalid value for \${PV}: ${PV}"
188 ;;
189 esac
190
191 MY_PN="google-chrome-${SLOT}"
192 MY_P="${MY_PN}_${MY_PV}"
193
194 if [[ ${PV} != 9999* ]]; then
195 SRC_URI="
196 amd64? (
197 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
198 )
199 x86? (
200 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
201 )
202 "
203 KEYWORDS="~amd64 ~x86"
204 fi
205
206 LICENSE="google-chrome"
207 IUSE="+flash"
208 RESTRICT="bindist mirror strip"
209
210 for x in 0 beta stable unstable; do
211 if [[ ${SLOT} != ${x} ]]; then
212 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
213 fi
214 done
215
216 S="${WORKDIR}/${CHROMEDIR}"
217 QA_PREBUILT="*"
218
219 pkg_nofetch() {
220 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
221 }
222
223 if [[ ${PV} == 9999* ]]; then
224 src_unpack() {
225 local base="https://dl.google.com/linux/direct"
226 local debarch=${ARCH/x86/i386}
227 wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die
228 unpack_deb ./google-chrome.deb
229 }
230 fi
231
232 src_install() {
233 local version flapper
234
235 insinto /usr/$(get_libdir)/chromium-browser/
236
237 if use flash; then
238 doins -r PepperFlash
239
240 # Since this is a live ebuild, we're forced to, unfortuantely,
241 # dynamically construct the command line args for Chromium.
242 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
243 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
244 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
245 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
246 echo "--ppapi-flash-version=$version\"" >> pepper-flash
247
248 insinto /etc/chromium/
249 doins pepper-flash
250 fi
251 }