Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/thunderbird-bin/
Date: Sun, 04 Oct 2020 17:30:44
Message-Id: 1601832616.f98e001ece9533f84a8e18983a4ae88506f5c61c.whissi@gentoo
1 commit: f98e001ece9533f84a8e18983a4ae88506f5c61c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 16:57:23 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 17:30:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98e001e
7
8 mail-client/thunderbird-bin: drop USE=gmp-autoupdate
9
10 Not used by thunderbird.
11
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 mail-client/thunderbird-bin/metadata.xml | 4 ----
15 .../thunderbird-bin/thunderbird-bin-78.3.1.ebuild | 28 +---------------------
16 2 files changed, 1 insertion(+), 31 deletions(-)
17
18 diff --git a/mail-client/thunderbird-bin/metadata.xml b/mail-client/thunderbird-bin/metadata.xml
19 index e679043a413..ef031ce2dfa 100644
20 --- a/mail-client/thunderbird-bin/metadata.xml
21 +++ b/mail-client/thunderbird-bin/metadata.xml
22 @@ -11,9 +11,5 @@
23 </maintainer>
24 <use>
25 <flag name="crashreporter">Enable crash reporter for bugs</flag>
26 - <flag name="gmp-autoupdate">
27 - Allow Gecko Media Plugins (binary blobs) to be automatically
28 - downloaded and kept up-to-date in user profiles
29 - </flag>
30 </use>
31 </pkgmetadata>
32
33 diff --git a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
34 index 4c93b125747..e74b8ec605e 100644
35 --- a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
36 +++ b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1.ebuild
37 @@ -31,7 +31,7 @@ HOMEPAGE="https://www.thunderbird.net/"
38 KEYWORDS="-* amd64 x86"
39 SLOT="0/$(ver_cut 1)"
40 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
41 -IUSE="+alsa +ffmpeg +gmp-autoupdate +pulseaudio selinux startup-notification wayland"
42 +IUSE="+alsa +ffmpeg +pulseaudio selinux startup-notification wayland"
43
44 RESTRICT="strip"
45
46 @@ -77,12 +77,6 @@ RDEPEND="${CDEPEND}
47
48 QA_PREBUILT="opt/${MOZ_PN}/*"
49
50 -# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
51 -# overridden in the enviromnent (advanced hackers only)
52 -if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
53 - MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
54 -fi
55 -
56 MOZ_LANGS=(
57 af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US
58 es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM
59 @@ -198,16 +192,6 @@ src_install() {
60
61 local GENTOO_PREFS="${ED}${PREFS_DIR}/all-gentoo.js"
62
63 - if ! use gmp-autoupdate ; then
64 - local plugin
65 - for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
66 - einfo "Disabling auto-update for ${plugin} plugin ..."
67 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin"
68 - pref("media.${plugin}.autoupdate", false);
69 - EOF
70 - done
71 - fi
72 -
73 # Install language packs
74 local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
75 if [[ -n "${langpacks}" ]] ; then
76 @@ -310,16 +294,6 @@ src_install() {
77 pkg_postinst() {
78 xdg_pkg_postinst
79
80 - if ! use gmp-autoupdate ; then
81 - elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or"
82 - elog "installing into new profiles:"
83 - local plugin
84 - for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
85 - elog "\t ${plugin}"
86 - done
87 - elog
88 - fi
89 -
90 if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' \
91 || ! has_version 'net-misc/curl'; then
92 einfo