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.3_alpha1.ebuild ChangeLog chrome-binary-plugins-37.0.2062.0_alpha1.ebuild
Date: Thu, 26 Jun 2014 23:23:56
Message-Id: 20140626232346.D42F72004E@flycatcher.gentoo.org
1 floppym 14/06/26 23:23:46
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-37.0.2062.3_alpha1.ebuild
5 Removed: chrome-binary-plugins-37.0.2062.0_alpha1.ebuild
6 Log:
7 Automated update.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
10
11 Revision Changes Path
12 1.152 www-plugins/chrome-binary-plugins/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.152&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.152&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.151&r2=1.152
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
21 retrieving revision 1.151
22 retrieving revision 1.152
23 diff -u -r1.151 -r1.152
24 --- ChangeLog 26 Jun 2014 23:22:20 -0000 1.151
25 +++ ChangeLog 26 Jun 2014 23:23:46 -0000 1.152
26 @@ -1,6 +1,13 @@
27 # ChangeLog for www-plugins/chrome-binary-plugins
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.151 2014/06/26 23:22:20 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.152 2014/06/26 23:23:46 floppym Exp $
31 +
32 +*chrome-binary-plugins-37.0.2062.3_alpha1 (26 Jun 2014)
33 +
34 + 26 Jun 2014; Mike Gilbert <floppym@g.o>
35 + +chrome-binary-plugins-37.0.2062.3_alpha1.ebuild,
36 + -chrome-binary-plugins-37.0.2062.0_alpha1.ebuild:
37 + Automated update.
38
39 26 Jun 2014; Mike Gilbert <floppym@g.o>
40 chrome-binary-plugins-35.0.1916.153_p1.ebuild,
41
42
43
44 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.3_alpha1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.3_alpha1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.3_alpha1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: chrome-binary-plugins-37.0.2062.3_alpha1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2062.3_alpha1.ebuild,v 1.1 2014/06/26 23:23:46 floppym Exp $
54
55 EAPI=4
56
57 inherit multilib unpacker
58
59 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
60 HOMEPAGE="http://www.google.com/chrome"
61
62 case ${PV} in
63 *_alpha*)
64 SLOT="unstable"
65 MY_PV=${PV/_alpha/-}
66 ;;
67 *_beta*)
68 SLOT="beta"
69 MY_PV=${PV/_beta/-}
70 ;;
71 *_p*)
72 SLOT="stable"
73 MY_PV=${PV/_p/-}
74 ;;
75 *)
76 die "Invalid value for \${PV}: ${PV}"
77 ;;
78 esac
79
80 MY_PN="google-chrome-${SLOT}"
81 MY_P="${MY_PN}_${MY_PV}"
82
83 SRC_URI="
84 amd64? (
85 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
86 )
87 x86? (
88 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
89 )
90 "
91
92 LICENSE="google-chrome"
93 KEYWORDS="~amd64 ~x86"
94 IUSE="+flash"
95 RESTRICT="bindist mirror strip"
96
97 for x in 0 beta stable unstable; do
98 if [[ ${SLOT} != ${x} ]]; then
99 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
100 fi
101 done
102
103 S="${WORKDIR}/opt/google/chrome-${SLOT}"
104 QA_PREBUILT="*"
105
106 pkg_nofetch() {
107 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
108 }
109
110 src_install() {
111 local version flapper
112
113 insinto /usr/$(get_libdir)/chromium-browser/
114
115 if use flash; then
116 doins -r PepperFlash
117
118 # Since this is a live ebuild, we're forced to, unfortuantely,
119 # dynamically construct the command line args for Chromium.
120 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
121 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
122 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
123 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
124 echo "--ppapi-flash-version=$version\"" >> pepper-flash
125
126 insinto /etc/chromium/
127 doins pepper-flash
128 fi
129 }