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