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