Disable unavailable option to specific arch

This commit is contained in:
Luis Guzman 2021-07-31 09:36:05 -05:00
parent 5f284f142f
commit 530d4e17cb

View file

@ -68,8 +68,14 @@ sed '/Google API/,/google-api-keyfile/ d' debian/config/mozconfig.in -i
# Org branding # Org branding
sed 's/com.ubuntu/org.trisquel/' -i debian/config/mozconfig.in sed 's/com.ubuntu/org.trisquel/' -i debian/config/mozconfig.in
# Disable DRM support # Disable DRM support, armhf has no such option.
echo ac_add_options --disable-eme >> debian/config/mozconfig.in ## 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 sed '/gmp-clearkey/d' -i ./debian/firefox.install.in
# Locale packages should provide firefox-locale-$LANG # Locale packages should provide firefox-locale-$LANG