www-client/chromium: fix proprietary-codecs logic
authorMike Gilbert <floppym@gentoo.org>
Fri, 23 Sep 2016 14:53:35 +0000 (10:53 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 23 Sep 2016 14:53:52 +0000 (10:53 -0400)
Bug: https://bugs.gentoo.org/593434#c13

Package-Manager: portage-2.3.0_p43

www-client/chromium/chromium-54.0.2840.34.ebuild
www-client/chromium/chromium-55.0.2859.0.ebuild

index 89048ea8ed5c4abf792f8dfb862cb96dbb93e38b..80636469b6831e152df6ad31ed0a6e2a864c7f20 100644 (file)
@@ -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,
index 7dc37fecc1e5fc640a29671d9dd0d579b4a48a63..8997a371b4afd89a9b4bbb15558a1c690f46acb7 100644 (file)
@@ -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,