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-36.0.1964.2_alpha1.ebuild chrome-binary-plugins-35.0.1916.86_beta1.ebuild ChangeLog chrome-binary-plugins-35.0.1916.69_beta1.ebuild chrome-binary-plugins-36.0.1951.5_alpha1.ebuild
Date: Wed, 30 Apr 2014 22:57:37
Message-Id: 20140430225733.7CECE2004B@flycatcher.gentoo.org
1 floppym 14/04/30 22:57:33
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-36.0.1964.2_alpha1.ebuild
5 chrome-binary-plugins-35.0.1916.86_beta1.ebuild
6 Removed: chrome-binary-plugins-35.0.1916.69_beta1.ebuild
7 chrome-binary-plugins-36.0.1951.5_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.132 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.132&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.132&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.131&r2=1.132
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.131
24 retrieving revision 1.132
25 diff -u -r1.131 -r1.132
26 --- ChangeLog 24 Apr 2014 23:55:04 -0000 1.131
27 +++ ChangeLog 30 Apr 2014 22:57:33 -0000 1.132
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.131 2014/04/24 23:55:04 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.132 2014/04/30 22:57:33 floppym Exp $
33 +
34 +*chrome-binary-plugins-36.0.1964.2_alpha1 (30 Apr 2014)
35 +*chrome-binary-plugins-35.0.1916.86_beta1 (30 Apr 2014)
36 +
37 + 30 Apr 2014; Mike Gilbert <floppym@g.o>
38 + +chrome-binary-plugins-35.0.1916.86_beta1.ebuild,
39 + +chrome-binary-plugins-36.0.1964.2_alpha1.ebuild,
40 + -chrome-binary-plugins-35.0.1916.69_beta1.ebuild,
41 + -chrome-binary-plugins-36.0.1951.5_alpha1.ebuild:
42 + Automated update.
43
44 *chrome-binary-plugins-36.0.1951.5_alpha1 (24 Apr 2014)
45
46
47
48
49 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-36.0.1964.2_alpha1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-36.0.1964.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-36.0.1964.2_alpha1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: chrome-binary-plugins-36.0.1964.2_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-36.0.1964.2_alpha1.ebuild,v 1.1 2014/04/30 22:57:33 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-${SLOT}"
111 QA_PREBUILT="*"
112
113 pkg_nofetch() {
114 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
115 }
116
117 src_install() {
118 local version flapper
119
120 insinto /usr/$(get_libdir)/chromium-browser/
121
122 use pdf && doins libpdf.so
123
124 if use flash; then
125 doins -r PepperFlash
126
127 # Since this is a live ebuild, we're forced to, unfortuantely,
128 # dynamically construct the command line args for Chromium.
129 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
130 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
131 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
132 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
133 echo "--ppapi-flash-version=$version\"" >> pepper-flash
134
135 insinto /etc/chromium/
136 doins pepper-flash
137 fi
138 }
139
140
141
142 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.86_beta1.ebuild
143
144 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.86_beta1.ebuild?rev=1.1&view=markup
145 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.86_beta1.ebuild?rev=1.1&content-type=text/plain
146
147 Index: chrome-binary-plugins-35.0.1916.86_beta1.ebuild
148 ===================================================================
149 # Copyright 1999-2014 Gentoo Foundation
150 # Distributed under the terms of the GNU General Public License v2
151 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.86_beta1.ebuild,v 1.1 2014/04/30 22:57:33 floppym Exp $
152
153 EAPI=4
154
155 inherit multilib unpacker
156
157 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
158 HOMEPAGE="http://www.google.com/chrome"
159
160 case ${PV} in
161 *_alpha*)
162 SLOT="unstable"
163 MY_PV=${PV/_alpha/-}
164 ;;
165 *_beta*)
166 SLOT="beta"
167 MY_PV=${PV/_beta/-}
168 ;;
169 *_p*)
170 SLOT="stable"
171 MY_PV=${PV/_p/-}
172 ;;
173 *)
174 die "Invalid value for \${PV}: ${PV}"
175 ;;
176 esac
177
178 MY_PN="google-chrome-${SLOT}"
179 MY_P="${MY_PN}_${MY_PV}"
180
181 SRC_URI="
182 amd64? (
183 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
184 )
185 x86? (
186 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
187 )
188 "
189
190 LICENSE="google-chrome"
191 KEYWORDS="~amd64 ~x86"
192 IUSE="+flash +pdf"
193 RESTRICT="bindist mirror strip"
194
195 RDEPEND="www-client/chromium"
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}/opt/google/chrome-${SLOT}"
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 use pdf && doins libpdf.so
216
217 if use flash; then
218 doins -r PepperFlash
219
220 # Since this is a live ebuild, we're forced to, unfortuantely,
221 # dynamically construct the command line args for Chromium.
222 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
223 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
224 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
225 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
226 echo "--ppapi-flash-version=$version\"" >> pepper-flash
227
228 insinto /etc/chromium/
229 doins pepper-flash
230 fi
231 }