summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-07-13 01:27:21 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-07-13 01:31:54 +0200
commitb020d4974728afe189d4f03d65fb97609b47ddb5 (patch)
tree388ca87d74fea67cf8c0974c1b90af95b9edf38a /www-client
parentwww-client/firefox-bin: bump to v90.0 (diff)
downloadgentoo-b020d4974728afe189d4f03d65fb97609b47ddb5.tar.gz
gentoo-b020d4974728afe189d4f03d65fb97609b47ddb5.tar.bz2
gentoo-b020d4974728afe189d4f03d65fb97609b47ddb5.zip
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@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox-bin/firefox-bin-78.12.0.ebuild9
-rw-r--r--www-client/firefox-bin/firefox-bin-90.0.ebuild9
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 ec5fd743a588..1068c1c84a26 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 fba7f7e757f5..ecadc88f7e5b 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