From 09b804516320eee06930303870cd68008aac8a8a Mon Sep 17 00:00:00 2001 From: "Gregory M. Turner" Date: Tue, 8 May 2018 12:27:31 -0700 Subject: [PATCH] www-client/chromium: widevine rehabilitation >chromium-66 ebuilds dropped the widevine useflag because upstream decided (again! but only "for now") to add code to induce build failure when linux builds request widevine. However, it seems that if we just add linux to the whitelist, everything works as before (but buckle up, there may be turbulent skies ahead). nb: ninja no longer copies the widevine .so to out/ (so we needn't remove it anymore in src_install). Signed-off-by: Gregory M. Turner Closes: https://github.com/gentoo/gentoo/pull/8323 --- .../chromium/chromium-67.0.3396.18.ebuild | 5 ++- .../chromium/chromium-67.0.3396.30.ebuild | 5 ++- .../chromium/chromium-68.0.3409.2.ebuild | 5 ++- .../chromium/files/chromium-widevine-r2.patch | 39 +++++++++++++++++++ 4 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 www-client/chromium/files/chromium-widevine-r2.patch diff --git a/www-client/chromium/chromium-67.0.3396.18.ebuild b/www-client/chromium/chromium-67.0.3396.18.ebuild index ececa654c8c9..fe48e8dc8ec4 100644 --- a/www-client/chromium/chromium-67.0.3396.18.ebuild +++ b/www-client/chromium/chromium-67.0.3396.18.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="component-build cups gnome-keyring +hangouts jumbo-build kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc" +IUSE="component-build cups gnome-keyring +hangouts jumbo-build kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" COMMON_DEPEND=" @@ -85,6 +85,7 @@ RDEPEND="${COMMON_DEPEND} virtual/ttf-fonts selinux? ( sec-policy/selinux-chromium ) tcmalloc? ( !