From 530d4e17cb9b5f9997de66e207e1a30bd47de6e4 Mon Sep 17 00:00:00 2001 From: Luis Guzman <ark@switnet.org> Date: Sat, 31 Jul 2021 09:36:05 -0500 Subject: [PATCH] Disable unavailable option to specific arch --- helpers/make-firefox | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/helpers/make-firefox b/helpers/make-firefox index fe71461bf..7d7b99acd 100644 --- a/helpers/make-firefox +++ b/helpers/make-firefox @@ -68,8 +68,14 @@ sed '/Google API/,/google-api-keyfile/ d' debian/config/mozconfig.in -i # Org branding sed 's/com.ubuntu/org.trisquel/' -i debian/config/mozconfig.in -# Disable DRM support -echo ac_add_options --disable-eme >> debian/config/mozconfig.in +# Disable DRM support, armhf has no such option. +## Add other archs that might present the same lack of disable-eme option +cat << ARCH >> debian/config/mozconfig.in +%%if DEB_HOST_ARCH != armhf +ac_add_options --disable-eme +%%endif +ARCH + sed '/gmp-clearkey/d' -i ./debian/firefox.install.in # Locale packages should provide firefox-locale-$LANG -- GitLab