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: Thu, 13 Oct 2016 16:00:52
Message-Id: 1476374434.4ae3820ffa40e093465d4759191b80efefbc991a.floppym@gentoo
1 commit: 4ae3820ffa40e093465d4759191b80efefbc991a
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 13 16:00:16 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 13 16:00:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ae3820f
7
8 www-plugins/chrome-binary-plugins: drop flash from stable
9
10 Package-Manager: portage-2.3.2
11
12 .../chrome-binary-plugins-54.0.2840.59.ebuild | 20 ++------------------
13 www-plugins/chrome-binary-plugins/metadata.xml | 1 -
14 2 files changed, 2 insertions(+), 19 deletions(-)
15
16 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
17 index 2757b38..c293b43 100644
18 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
19 +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
20 @@ -34,7 +34,7 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
21 KEYWORDS="-* amd64"
22
23 LICENSE="google-chrome"
24 -IUSE="+flash +widevine"
25 +IUSE="+widevine"
26 RESTRICT="bindist mirror strip"
27
28 for x in 0 beta stable unstable; do
29 @@ -51,29 +51,13 @@ pkg_nofetch() {
30 }
31
32 src_install() {
33 - local version flapper
34 + local version
35
36 insinto /usr/$(get_libdir)/chromium
37 -
38 if use widevine; then
39 doins libwidevinecdm.so libwidevinecdmadapter.so
40 dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
41 strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
42 doins widevine.version
43 fi
44 -
45 - if use flash; then
46 - doins -r PepperFlash
47 -
48 - # Since this is a live ebuild, we're forced to, unfortuantely,
49 - # dynamically construct the command line args for Chromium.
50 - version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
51 - flapper="${EPREFIX}/usr/$(get_libdir)/chromium/PepperFlash/libpepflashplayer.so"
52 - echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
53 - echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
54 - echo "--ppapi-flash-version=$version\"" >> pepper-flash
55 -
56 - insinto /etc/chromium/
57 - doins pepper-flash
58 - fi
59 }
60
61 diff --git a/www-plugins/chrome-binary-plugins/metadata.xml b/www-plugins/chrome-binary-plugins/metadata.xml
62 index db13e56..0612d37 100644
63 --- a/www-plugins/chrome-binary-plugins/metadata.xml
64 +++ b/www-plugins/chrome-binary-plugins/metadata.xml
65 @@ -14,7 +14,6 @@
66 <name>Chromium in Gentoo Project</name>
67 </maintainer>
68 <use>
69 - <flag name="flash">Install Chrome's native Pepper Flash</flag>
70 <flag name="widevine">Install the Widevine DRM library</flag>
71 </use>
72 </pkgmetadata>