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-29.0.1547.41_beta214871.ebuild ChangeLog chrome-binary-plugins-29.0.1547.32_beta213282.ebuild
Date: Fri, 02 Aug 2013 01:22:27
Message-Id: 20130802012223.D39BD2171C@flycatcher.gentoo.org
1 floppym 13/08/02 01:22:23
2
3 Modified: ChangeLog
4 Added:
5 chrome-binary-plugins-29.0.1547.41_beta214871.ebuild
6 Removed:
7 chrome-binary-plugins-29.0.1547.32_beta213282.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.43 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.43&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.43&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.42&r2=1.43
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
23 retrieving revision 1.42
24 retrieving revision 1.43
25 diff -u -r1.42 -r1.43
26 --- ChangeLog 30 Jul 2013 22:22:05 -0000 1.42
27 +++ ChangeLog 2 Aug 2013 01:22:23 -0000 1.43
28 @@ -1,6 +1,13 @@
29 # ChangeLog for www-plugins/chrome-binary-plugins
30 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.42 2013/07/30 22:22:05 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.43 2013/08/02 01:22:23 floppym Exp $
33 +
34 +*chrome-binary-plugins-29.0.1547.41_beta214871 (02 Aug 2013)
35 +
36 + 02 Aug 2013; Mike Gilbert <floppym@g.o>
37 + +chrome-binary-plugins-29.0.1547.41_beta214871.ebuild,
38 + -chrome-binary-plugins-29.0.1547.32_beta213282.ebuild:
39 + Automated update.
40
41 *chrome-binary-plugins-30.0.1581.2_alpha1 (30 Jul 2013)
42 *chrome-binary-plugins-28.0.1500.95_p213514 (30 Jul 2013)
43
44
45
46 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-29.0.1547.41_beta214871.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-29.0.1547.41_beta214871.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-29.0.1547.41_beta214871.ebuild?rev=1.1&content-type=text/plain
50
51 Index: chrome-binary-plugins-29.0.1547.41_beta214871.ebuild
52 ===================================================================
53 # Copyright 1999-2013 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-29.0.1547.41_beta214871.ebuild,v 1.1 2013/08/02 01:22:23 floppym Exp $
56
57 EAPI=4
58
59 inherit multilib unpacker
60
61 DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium."
62 HOMEPAGE="http://www.google.com/chrome"
63
64 case ${PV} in
65 *_alpha*)
66 SLOT="unstable"
67 MY_PV=${PV/_alpha/-r}
68 ;;
69 *_beta*)
70 SLOT="beta"
71 MY_PV=${PV/_beta/-r}
72 ;;
73 *_p*)
74 SLOT="stable"
75 MY_PV=${PV/_p/-r}
76 ;;
77 *)
78 die "Invalid value for \${PV}: ${PV}"
79 ;;
80 esac
81
82 MY_PN="google-chrome-${SLOT}"
83 MY_P="${MY_PN}_${MY_PV}"
84
85 SRC_URI="
86 amd64? (
87 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
88 )
89 x86? (
90 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
91 )
92 "
93
94 LICENSE="google-chrome"
95 KEYWORDS="~amd64 ~x86"
96 IUSE="+flash +pdf"
97 RESTRICT="bindist mirror strip"
98
99 RDEPEND="www-client/chromium"
100
101 for x in 0 beta stable unstable; do
102 if [[ ${SLOT} != ${x} ]]; then
103 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
104 fi
105 done
106
107 S="${WORKDIR}/opt/google/chrome"
108 QA_PREBUILT="*"
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 }
132
133 pkg_postinst() {
134 use flash || return
135
136 einfo
137 einfo "To enable Flash for Chromium, source ${ROOT}etc/chromium/pepper-flash"
138 einfo "inside ${ROOT}etc/chromium/default. You may run this as root:"
139 einfo
140 einfo " # echo . ${ROOT}etc/chromium/pepper-flash >> ${ROOT}etc/chromium/default"
141 einfo
142 }