commit: b020d4974728afe189d4f03d65fb97609b47ddb5 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Jul 12 23:27:21 2021 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Mon Jul 12 23:31:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b020d497
www-client/firefox-bin: check for SECCOMP support in kernel Closes: https://bugs.gentoo.org/790398 Package-Manager: Portage-3.0.21, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> www-client/firefox-bin/firefox-bin-78.12.0.ebuild | 9 ++++++++- www-client/firefox-bin/firefox-bin-90.0.ebuild | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/www-client/firefox-bin/firefox-bin-78.12.0.ebuild b/www-client/firefox-bin/firefox-bin-78.12.0.ebuild index ec5fd743a58..1068c1c84a2 100644 --- a/www-client/firefox-bin/firefox-bin-78.12.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-78.12.0.ebuild @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}" MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" -inherit desktop pax-utils xdg +inherit desktop linux-info pax-utils xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" @@ -165,6 +165,13 @@ moz_install_xpi() { done } +pkg_setup() { + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + + linux-info_pkg_setup +} + src_unpack() { local _lp_dir="${WORKDIR}/language_packs" local _src_file diff --git a/www-client/firefox-bin/firefox-bin-90.0.ebuild b/www-client/firefox-bin/firefox-bin-90.0.ebuild index fba7f7e757f..ecadc88f7e5 100644 --- a/www-client/firefox-bin/firefox-bin-90.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-90.0.ebuild @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}" MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" -inherit desktop pax-utils xdg +inherit desktop linux-info pax-utils xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" @@ -164,6 +164,13 @@ moz_install_xpi() { done } +pkg_setup() { + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + + linux-info_pkg_setup +} + src_unpack() { local _lp_dir="${WORKDIR}/language_packs" local _src_file