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-37.0.2062.58_beta1.ebuild chrome-binary-plugins-38.0.2107.2_alpha1.ebuild ChangeLog chrome-binary-plugins-37.0.2062.44_beta1.ebuild chrome-binary-plugins-38.0.2101.0_alpha1.ebuild
Date: Thu, 31 Jul 2014 02:27:48
Message-Id: 20140731022745.854A92004F@flycatcher.gentoo.org
1 floppym 14/07/31 02:27:45
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-37.0.2062.58_beta1.ebuild
5 chrome-binary-plugins-38.0.2107.2_alpha1.ebuild
6 Removed: chrome-binary-plugins-37.0.2062.44_beta1.ebuild
7 chrome-binary-plugins-38.0.2101.0_alpha1.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.161 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.161&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.161&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.160&r2=1.161
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.160
24 retrieving revision 1.161
25 diff -u -r1.160 -r1.161
26 --- ChangeLog 25 Jul 2014 18:08:47 -0000 1.160
27 +++ ChangeLog 31 Jul 2014 02:27:45 -0000 1.161
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.160 2014/07/25 18:08:47 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.161 2014/07/31 02:27:45 floppym Exp $
33 +
34 +*chrome-binary-plugins-37.0.2062.58_beta1 (31 Jul 2014)
35 +*chrome-binary-plugins-38.0.2107.2_alpha1 (31 Jul 2014)
36 +
37 + 31 Jul 2014; Mike Gilbert <floppym@g.o>
38 + +chrome-binary-plugins-37.0.2062.58_beta1.ebuild,
39 + +chrome-binary-plugins-38.0.2107.2_alpha1.ebuild,
40 + -chrome-binary-plugins-37.0.2062.44_beta1.ebuild,
41 + -chrome-binary-plugins-38.0.2101.0_alpha1.ebuild:
42 + Automated update.
43
44 *chrome-binary-plugins-37.0.2062.44_beta1 (25 Jul 2014)
45
46
47
48
49 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.58_beta1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.58_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-37.0.2062.58_beta1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: chrome-binary-plugins-37.0.2062.58_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-37.0.2062.58_beta1.ebuild,v 1.1 2014/07/31 02:27:45 floppym Exp $
59
60 EAPI=4
61
62 inherit multilib unpacker
63
64 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
65 HOMEPAGE="http://www.google.com/chrome"
66
67 case ${PV} in
68 *_alpha*)
69 SLOT="unstable"
70 MY_PV=${PV/_alpha/-}
71 ;;
72 *_beta*)
73 SLOT="beta"
74 MY_PV=${PV/_beta/-}
75 ;;
76 *_p*)
77 SLOT="stable"
78 MY_PV=${PV/_p/-}
79 ;;
80 *)
81 die "Invalid value for \${PV}: ${PV}"
82 ;;
83 esac
84
85 MY_PN="google-chrome-${SLOT}"
86 MY_P="${MY_PN}_${MY_PV}"
87
88 SRC_URI="
89 amd64? (
90 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
91 )
92 x86? (
93 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
94 )
95 "
96
97 LICENSE="google-chrome"
98 KEYWORDS="~amd64 ~x86"
99 IUSE="+flash"
100 RESTRICT="bindist mirror strip"
101
102 for x in 0 beta stable unstable; do
103 if [[ ${SLOT} != ${x} ]]; then
104 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
105 fi
106 done
107
108 S="${WORKDIR}/opt/google/chrome-${SLOT}"
109 QA_PREBUILT="*"
110
111 pkg_nofetch() {
112 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
113 }
114
115 src_install() {
116 local version flapper
117
118 insinto /usr/$(get_libdir)/chromium-browser/
119
120 if use flash; then
121 doins -r PepperFlash
122
123 # Since this is a live ebuild, we're forced to, unfortuantely,
124 # dynamically construct the command line args for Chromium.
125 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
126 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
127 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
128 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
129 echo "--ppapi-flash-version=$version\"" >> pepper-flash
130
131 insinto /etc/chromium/
132 doins pepper-flash
133 fi
134 }
135
136
137
138 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-38.0.2107.2_alpha1.ebuild
139
140 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-38.0.2107.2_alpha1.ebuild?rev=1.1&view=markup
141 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-38.0.2107.2_alpha1.ebuild?rev=1.1&content-type=text/plain
142
143 Index: chrome-binary-plugins-38.0.2107.2_alpha1.ebuild
144 ===================================================================
145 # Copyright 1999-2014 Gentoo Foundation
146 # Distributed under the terms of the GNU General Public License v2
147 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-38.0.2107.2_alpha1.ebuild,v 1.1 2014/07/31 02:27:45 floppym Exp $
148
149 EAPI=4
150
151 inherit multilib unpacker
152
153 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
154 HOMEPAGE="http://www.google.com/chrome"
155
156 case ${PV} in
157 *_alpha*)
158 SLOT="unstable"
159 MY_PV=${PV/_alpha/-}
160 ;;
161 *_beta*)
162 SLOT="beta"
163 MY_PV=${PV/_beta/-}
164 ;;
165 *_p*)
166 SLOT="stable"
167 MY_PV=${PV/_p/-}
168 ;;
169 *)
170 die "Invalid value for \${PV}: ${PV}"
171 ;;
172 esac
173
174 MY_PN="google-chrome-${SLOT}"
175 MY_P="${MY_PN}_${MY_PV}"
176
177 SRC_URI="
178 amd64? (
179 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
180 )
181 x86? (
182 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
183 )
184 "
185
186 LICENSE="google-chrome"
187 KEYWORDS="~amd64 ~x86"
188 IUSE="+flash"
189 RESTRICT="bindist mirror strip"
190
191 for x in 0 beta stable unstable; do
192 if [[ ${SLOT} != ${x} ]]; then
193 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
194 fi
195 done
196
197 S="${WORKDIR}/opt/google/chrome-${SLOT}"
198 QA_PREBUILT="*"
199
200 pkg_nofetch() {
201 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
202 }
203
204 src_install() {
205 local version flapper
206
207 insinto /usr/$(get_libdir)/chromium-browser/
208
209 if use flash; then
210 doins -r PepperFlash
211
212 # Since this is a live ebuild, we're forced to, unfortuantely,
213 # dynamically construct the command line args for Chromium.
214 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
215 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
216 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
217 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
218 echo "--ppapi-flash-version=$version\"" >> pepper-flash
219
220 insinto /etc/chromium/
221 doins pepper-flash
222 fi
223 }