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.1985.103_beta1.ebuild ChangeLog chrome-binary-plugins-36.0.1985.97_beta1.ebuild
Date: Tue, 01 Jul 2014 16:18:18
Message-Id: 20140701161815.61A582004E@flycatcher.gentoo.org
1 floppym 14/07/01 16:18:15
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-36.0.1985.103_beta1.ebuild
5 Removed: chrome-binary-plugins-36.0.1985.97_beta1.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.153 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.153&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.153&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.152&r2=1.153
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
21 retrieving revision 1.152
22 retrieving revision 1.153
23 diff -u -r1.152 -r1.153
24 --- ChangeLog 26 Jun 2014 23:23:46 -0000 1.152
25 +++ ChangeLog 1 Jul 2014 16:18:15 -0000 1.153
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.152 2014/06/26 23:23:46 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.153 2014/07/01 16:18:15 floppym Exp $
31 +
32 +*chrome-binary-plugins-36.0.1985.103_beta1 (01 Jul 2014)
33 +
34 + 01 Jul 2014; Mike Gilbert <floppym@g.o>
35 + +chrome-binary-plugins-36.0.1985.103_beta1.ebuild,
36 + -chrome-binary-plugins-36.0.1985.97_beta1.ebuild:
37 + Automated update.
38
39 *chrome-binary-plugins-37.0.2062.3_alpha1 (26 Jun 2014)
40
41
42
43
44 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-36.0.1985.103_beta1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-36.0.1985.103_beta1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-36.0.1985.103_beta1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: chrome-binary-plugins-36.0.1985.103_beta1.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-36.0.1985.103_beta1.ebuild,v 1.1 2014/07/01 16:18:15 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 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 use pdf && doins libpdf.so
116
117 if use flash; then
118 doins -r PepperFlash
119
120 # Since this is a live ebuild, we're forced to, unfortuantely,
121 # dynamically construct the command line args for Chromium.
122 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
123 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
124 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
125 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
126 echo "--ppapi-flash-version=$version\"" >> pepper-flash
127
128 insinto /etc/chromium/
129 doins pepper-flash
130 fi
131 }