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-30.0.1581.2_alpha1.ebuild chrome-binary-plugins-28.0.1500.95_p213514.ebuild ChangeLog chrome-binary-plugins-28.0.1500.71_p209842.ebuild chrome-binary-plugins-30.0.1573.2_alpha1.ebuild
Date: Tue, 30 Jul 2013 22:22:15
Message-Id: 20130730222205.3E9AB2171C@flycatcher.gentoo.org
1 floppym 13/07/30 22:22:05
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-30.0.1581.2_alpha1.ebuild
5 chrome-binary-plugins-28.0.1500.95_p213514.ebuild
6 Removed: chrome-binary-plugins-28.0.1500.71_p209842.ebuild
7 chrome-binary-plugins-30.0.1573.2_alpha1.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.42 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.42&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.42&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.41&r2=1.42
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.41
24 retrieving revision 1.42
25 diff -u -r1.41 -r1.42
26 --- ChangeLog 25 Jul 2013 01:50:39 -0000 1.41
27 +++ ChangeLog 30 Jul 2013 22:22:05 -0000 1.42
28 @@ -1,6 +1,16 @@
29 # ChangeLog for www-plugins/chrome-binary-plugins
30 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.41 2013/07/25 01:50:39 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.42 2013/07/30 22:22:05 floppym Exp $
33 +
34 +*chrome-binary-plugins-30.0.1581.2_alpha1 (30 Jul 2013)
35 +*chrome-binary-plugins-28.0.1500.95_p213514 (30 Jul 2013)
36 +
37 + 30 Jul 2013; Mike Gilbert <floppym@g.o>
38 + +chrome-binary-plugins-28.0.1500.95_p213514.ebuild,
39 + +chrome-binary-plugins-30.0.1581.2_alpha1.ebuild,
40 + -chrome-binary-plugins-28.0.1500.71_p209842.ebuild,
41 + -chrome-binary-plugins-30.0.1573.2_alpha1.ebuild:
42 + Automated update.
43
44 *chrome-binary-plugins-29.0.1547.32_beta213282 (25 Jul 2013)
45
46
47
48
49 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-30.0.1581.2_alpha1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-30.0.1581.2_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-30.0.1581.2_alpha1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: chrome-binary-plugins-30.0.1581.2_alpha1.ebuild
55 ===================================================================
56 # Copyright 1999-2013 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-30.0.1581.2_alpha1.ebuild,v 1.1 2013/07/30 22:22:05 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 +pdf"
100 RESTRICT="bindist mirror strip"
101
102 RDEPEND="www-client/chromium"
103
104 for x in 0 beta stable unstable; do
105 if [[ ${SLOT} != ${x} ]]; then
106 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
107 fi
108 done
109
110 S="${WORKDIR}/opt/google/chrome"
111 QA_PREBUILT="*"
112
113 src_install() {
114 local version flapper
115
116 insinto /usr/$(get_libdir)/chromium-browser/
117
118 use pdf && doins libpdf.so
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 pkg_postinst() {
137 use flash || return
138
139 einfo
140 einfo "To enable Flash for Chromium, source ${ROOT}etc/chromium/pepper-flash"
141 einfo "inside ${ROOT}etc/chromium/default. You may run this as root:"
142 einfo
143 einfo " # echo . ${ROOT}etc/chromium/pepper-flash >> ${ROOT}etc/chromium/default"
144 einfo
145 }
146
147
148
149 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-28.0.1500.95_p213514.ebuild
150
151 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-28.0.1500.95_p213514.ebuild?rev=1.1&view=markup
152 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-28.0.1500.95_p213514.ebuild?rev=1.1&content-type=text/plain
153
154 Index: chrome-binary-plugins-28.0.1500.95_p213514.ebuild
155 ===================================================================
156 # Copyright 1999-2013 Gentoo Foundation
157 # Distributed under the terms of the GNU General Public License v2
158 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-28.0.1500.95_p213514.ebuild,v 1.1 2013/07/30 22:22:05 floppym Exp $
159
160 EAPI=4
161
162 inherit multilib unpacker
163
164 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
165 HOMEPAGE="http://www.google.com/chrome"
166
167 case ${PV} in
168 *_alpha*)
169 SLOT="unstable"
170 MY_PV=${PV/_alpha/-r}
171 ;;
172 *_beta*)
173 SLOT="beta"
174 MY_PV=${PV/_beta/-r}
175 ;;
176 *_p*)
177 SLOT="stable"
178 MY_PV=${PV/_p/-r}
179 ;;
180 *)
181 die "Invalid value for \${PV}: ${PV}"
182 ;;
183 esac
184
185 MY_PN="google-chrome-${SLOT}"
186 MY_P="${MY_PN}_${MY_PV}"
187
188 SRC_URI="
189 amd64? (
190 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
191 )
192 x86? (
193 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
194 )
195 "
196
197 LICENSE="google-chrome"
198 KEYWORDS="~amd64 ~x86"
199 IUSE="+flash +pdf"
200 RESTRICT="bindist mirror strip"
201
202 RDEPEND="www-client/chromium"
203
204 for x in 0 beta stable unstable; do
205 if [[ ${SLOT} != ${x} ]]; then
206 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
207 fi
208 done
209
210 S="${WORKDIR}/opt/google/chrome"
211 QA_PREBUILT="*"
212
213 src_install() {
214 local version flapper
215
216 insinto /usr/$(get_libdir)/chromium-browser/
217
218 use pdf && doins libpdf.so
219
220 if use flash; then
221 doins -r PepperFlash
222
223 # Since this is a live ebuild, we're forced to, unfortuantely,
224 # dynamically construct the command line args for Chromium.
225 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
226 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
227 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
228 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
229 echo "--ppapi-flash-version=$version\"" >> pepper-flash
230
231 insinto /etc/chromium/
232 doins pepper-flash
233 fi
234 }
235
236 pkg_postinst() {
237 use flash || return
238
239 einfo
240 einfo "To enable Flash for Chromium, source ${ROOT}etc/chromium/pepper-flash"
241 einfo "inside ${ROOT}etc/chromium/default. You may run this as root:"
242 einfo
243 einfo " # echo . ${ROOT}etc/chromium/pepper-flash >> ${ROOT}etc/chromium/default"
244 einfo
245 }