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.2017.2_alpha1.ebuild ChangeLog chrome-binary-plugins-37.0.2008.2_alpha1.ebuild
Date: Wed, 28 May 2014 22:46:31
Message-Id: 20140528224628.0CAF52004E@flycatcher.gentoo.org
1 floppym 14/05/28 22:46:27
2
3 Modified: ChangeLog
4 Added: chrome-binary-plugins-37.0.2017.2_alpha1.ebuild
5 Removed: chrome-binary-plugins-37.0.2008.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.142 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.142&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.142&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.141&r2=1.142
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
21 retrieving revision 1.141
22 retrieving revision 1.142
23 diff -u -r1.141 -r1.142
24 --- ChangeLog 28 May 2014 02:12:04 -0000 1.141
25 +++ ChangeLog 28 May 2014 22:46:27 -0000 1.142
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.141 2014/05/28 02:12:04 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.142 2014/05/28 22:46:27 floppym Exp $
31 +
32 +*chrome-binary-plugins-37.0.2017.2_alpha1 (28 May 2014)
33 +
34 + 28 May 2014; Mike Gilbert <floppym@g.o>
35 + +chrome-binary-plugins-37.0.2017.2_alpha1.ebuild,
36 + -chrome-binary-plugins-37.0.2008.2_alpha1.ebuild:
37 + Automated update.
38
39 28 May 2014; Mike Gilbert <floppym@g.o>
40 chrome-binary-plugins-37.0.2008.2_alpha1.ebuild:
41
42
43
44 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2017.2_alpha1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-37.0.2017.2_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.2017.2_alpha1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: chrome-binary-plugins-37.0.2017.2_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.2017.2_alpha1.ebuild,v 1.1 2014/05/28 22:46:27 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 RDEPEND="=www-client/chromium-${PV%%.*}*"
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 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 }