Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/chrome-binary-plugins/
Date: Sat, 03 Sep 2016 04:21:37
Message-Id: 1472876486.5df1a7c258f407fd09c320e8789c783bdbdab396.floppym@gentoo
1 commit: 5df1a7c258f407fd09c320e8789c783bdbdab396
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 04:21:11 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 04:21:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df1a7c2
7
8 www-plugins/chrome-binary-plugins: drop flash support
9
10 Package-Manager: portage-2.3.0_p24
11
12 .../chrome-binary-plugins-54.0.2840.8_alpha.ebuild | 19 ++-----------------
13 1 file changed, 2 insertions(+), 17 deletions(-)
14
15 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
16 index 07c207f..d7fd45a 100644
17 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
18 +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
19 @@ -34,7 +34,7 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
20 KEYWORDS="-* ~amd64"
21
22 LICENSE="google-chrome"
23 -IUSE="+flash +widevine"
24 +IUSE="+widevine"
25 RESTRICT="bindist mirror strip"
26
27 for x in 0 beta stable unstable; do
28 @@ -51,7 +51,7 @@ pkg_nofetch() {
29 }
30
31 src_install() {
32 - local version flapper
33 + local version
34
35 insinto /usr/$(get_libdir)/chromium-browser/
36
37 @@ -60,19 +60,4 @@ src_install() {
38 strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
39 doins widevine.version
40 fi
41 -
42 - if use flash; then
43 - doins -r PepperFlash
44 -
45 - # Since this is a live ebuild, we're forced to, unfortuantely,
46 - # dynamically construct the command line args for Chromium.
47 - version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
48 - flapper="${EPREFIX}/usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
49 - echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
50 - echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
51 - echo "--ppapi-flash-version=$version\"" >> pepper-flash
52 -
53 - insinto /etc/chromium/
54 - doins pepper-flash
55 - fi
56 }