commit:     f98e001ece9533f84a8e18983a4ae88506f5c61c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 16:57:23 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 17:30:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98e001e

mail-client/thunderbird-bin: drop USE=gmp-autoupdate

Not used by thunderbird.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird-bin/metadata.xml           |  4 ----
 .../thunderbird-bin/thunderbird-bin-78.3.1.ebuild  | 28 +---------------------
 2 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/mail-client/thunderbird-bin/metadata.xml 
b/mail-client/thunderbird-bin/metadata.xml
index e679043a413..ef031ce2dfa 100644
--- a/mail-client/thunderbird-bin/metadata.xml
+++ b/mail-client/thunderbird-bin/metadata.xml
@@ -11,9 +11,5 @@
        </maintainer>
        <use>
                <flag name="crashreporter">Enable crash reporter for bugs</flag>
-               <flag name="gmp-autoupdate">
-                       Allow Gecko Media Plugins (binary blobs) to be 
automatically
-                       downloaded and kept up-to-date in user profiles
-               </flag>
        </use>
 </pkgmetadata>

diff --git a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild 
b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
index 4c93b125747..e74b8ec605e 100644
--- a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
+++ b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
@@ -31,7 +31,7 @@ HOMEPAGE="https://www.thunderbird.net/";
 KEYWORDS="-* amd64 x86"
 SLOT="0/$(ver_cut 1)"
 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="+alsa +ffmpeg +gmp-autoupdate +pulseaudio selinux startup-notification 
wayland"
+IUSE="+alsa +ffmpeg +pulseaudio selinux startup-notification wayland"
 
 RESTRICT="strip"
 
@@ -77,12 +77,6 @@ RDEPEND="${CDEPEND}
 
 QA_PREBUILT="opt/${MOZ_PN}/*"
 
-# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
-# overridden in the enviromnent (advanced hackers only)
-if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
-       MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
-fi
-
 MOZ_LANGS=(
        af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US
        es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM
@@ -198,16 +192,6 @@ src_install() {
 
        local GENTOO_PREFS="${ED}${PREFS_DIR}/all-gentoo.js"
 
-       if ! use gmp-autoupdate ; then
-               local plugin
-               for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
-                       einfo "Disabling auto-update for ${plugin} plugin ..."
-                       cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to 
disable autoupdate for ${plugin} media plugin"
-                       pref("media.${plugin}.autoupdate",   false);
-                       EOF
-               done
-       fi
-
        # Install language packs
        local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name 
'*.xpi') )
        if [[ -n "${langpacks}" ]] ; then
@@ -310,16 +294,6 @@ src_install() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       if ! use gmp-autoupdate ; then
-               elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
-               elog "installing into new profiles:"
-               local plugin
-               for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
-                       elog "\t ${plugin}"
-               done
-               elog
-       fi
-
        if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' 
\
                || ! has_version 'net-misc/curl'; then
                einfo

Reply via email to