From: Mike Gilbert Date: Fri, 23 Sep 2016 14:53:35 +0000 (-0400) Subject: www-client/chromium: fix proprietary-codecs logic X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d68f62dac22d0158765f43613469174377254a81;p=gentoo.git www-client/chromium: fix proprietary-codecs logic Bug: https://bugs.gentoo.org/593434#c13 Package-Manager: portage-2.3.0_p43 --- diff --git a/www-client/chromium/chromium-54.0.2840.34.ebuild b/www-client/chromium/chromium-54.0.2840.34.ebuild index 89048ea8ed5c..80636469b683 100644 --- a/www-client/chromium/chromium-54.0.2840.34.ebuild +++ b/www-client/chromium/chromium-54.0.2840.34.ebuild @@ -455,7 +455,8 @@ src_configure() { ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" myconf_gyp+=" -Dproprietary_codecs=1 -Dffmpeg_branding=${ffmpeg_branding}" - myconf_gn+=" proprietary_codecs=true ffmpeg_branding=\"${ffmpeg_branding}\"" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for Gentoo use ONLY. For your own distribution, diff --git a/www-client/chromium/chromium-55.0.2859.0.ebuild b/www-client/chromium/chromium-55.0.2859.0.ebuild index 7dc37fecc1e5..8997a371b4af 100644 --- a/www-client/chromium/chromium-55.0.2859.0.ebuild +++ b/www-client/chromium/chromium-55.0.2859.0.ebuild @@ -455,7 +455,8 @@ src_configure() { ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" myconf_gyp+=" -Dproprietary_codecs=1 -Dffmpeg_branding=${ffmpeg_branding}" - myconf_gn+=" proprietary_codecs=true ffmpeg_branding=\"${ffmpeg_branding}\"" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for Gentoo use ONLY. For your own distribution,