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-35.0.1916.6_alpha1.ebuild ChangeLog chrome-binary-plugins-35.0.1912.2_alpha1.ebuild
Date: Wed, 02 Apr 2014 01:42:27
Message-Id: 20140402014224.616502005E@flycatcher.gentoo.org
1 floppym 14/04/02 01:42:24
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-35.0.1916.6_alpha1.ebuild
5 Removed: chrome-binary-plugins-35.0.1912.2_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.122 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.122&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.122&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.121&r2=1.122
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
21 retrieving revision 1.121
22 retrieving revision 1.122
23 diff -u -r1.121 -r1.122
24 --- ChangeLog 27 Mar 2014 23:38:26 -0000 1.121
25 +++ ChangeLog 2 Apr 2014 01:42:24 -0000 1.122
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.121 2014/03/27 23:38:26 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.122 2014/04/02 01:42:24 floppym Exp $
31 +
32 +*chrome-binary-plugins-35.0.1916.6_alpha1 (02 Apr 2014)
33 +
34 + 02 Apr 2014; Mike Gilbert <floppym@g.o>
35 + +chrome-binary-plugins-35.0.1916.6_alpha1.ebuild,
36 + -chrome-binary-plugins-35.0.1912.2_alpha1.ebuild:
37 + Automated update.
38
39 27 Mar 2014; Mike Gilbert <floppym@g.o>
40 chrome-binary-plugins-33.0.1750.152_p1.ebuild,
41
42
43
44 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.6_alpha1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-35.0.1916.6_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-35.0.1916.6_alpha1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: chrome-binary-plugins-35.0.1916.6_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-35.0.1916.6_alpha1.ebuild,v 1.1 2014/04/02 01:42:24 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 +pdf"
95 RESTRICT="bindist mirror strip"
96
97 RDEPEND="www-client/chromium"
98
99 for x in 0 beta stable unstable; do
100 if [[ ${SLOT} != ${x} ]]; then
101 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
102 fi
103 done
104
105 S="${WORKDIR}/opt/google/chrome-${SLOT}"
106 QA_PREBUILT="*"
107
108 pkg_nofetch() {
109 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
110 }
111
112 src_install() {
113 local version flapper
114
115 insinto /usr/$(get_libdir)/chromium-browser/
116
117 use pdf && doins libpdf.so
118
119 if use flash; then
120 doins -r PepperFlash
121
122 # Since this is a live ebuild, we're forced to, unfortuantely,
123 # dynamically construct the command line args for Chromium.
124 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
125 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
126 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
127 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
128 echo "--ppapi-flash-version=$version\"" >> pepper-flash
129
130 insinto /etc/chromium/
131 doins pepper-flash
132 fi
133 }