mkimage-profiles/features.in/browser/config.mk
Michael Shigorin ce7b912782 browser: archdep tweaks
chromium is pretty popular to say the least,
and falkon should be used in lxqt starterkit;
both are unavailable on e2k as of today.
2020-09-07 20:26:00 +03:00

61 lines
2.1 KiB
Makefile

use/browser:
@$(call add_feature)
@$(call add,THE_PACKAGES,$$(THE_BROWSER))
@$(call try,THE_BROWSER,elinks) # X11-less fallback
# amend as neccessary; firefox is treated separately due to its flavours
BROWSERS_i586 = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_x86_64 := $(BROWSERS_i586)
BROWSERS_ppc64el = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_aarch64 = chromium netsurf epiphany falkon otter-browser elinks links2
BROWSERS_armh = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_mipsel = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_riscv64 = netsurf elinks
BROWSERS_e2k = netsurf elinks links2
BROWSERS_e2kv4 := $(BROWSERS_e2k)
BROWSERS := $(BROWSERS_$(ARCH))
$(addprefix use/browser/,$(BROWSERS)): use/browser/%: use/browser
@$(call set,THE_BROWSER,$*)
ifneq (,$(filter-out x86_64 i586 aarch64 mipsel,$(ARCH)))
use/browser/chromium: use/browser/firefox use/browser/firefox/esr; @:
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
use/browser/falkon: use/browser/firefox use/browser/firefox/esr; @:
endif
# support both firefox and firefox-esr
use/browser/firefox: use/browser
@$(call set,THE_BROWSER,firefox$$(FX_FLAVOUR))
# the complete lack of dependencies is intentional
use/browser/firefox/esr:
@$(call set,FX_FLAVOUR,-esr)
use/browser/firefox/h264: use/browser/firefox
@$(call add,THE_BROWSER,gst-libav)
@$(call add,THE_BROWSER,gst-plugins-base1.0 gst-plugins-good1.0)
use/browser/firefox/live: use/browser/firefox
@$(call add,THE_BROWSER,livecd-firefox)
# scarey, and will have to be done otherwise when l10n feature is there
use/browser/firefox/i18n: use/browser/firefox
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-kk)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-ru)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-uk)
use/browser/seamonkey/i18n: use/browser/seamonkey
@$(call add,THE_BROWSER,seamonkey-ru)
# inherently insecure, NPAPI only
use/browser/plugin/flash: use/browser
@$(call add,THE_PACKAGES,mozilla-plugin-adobe-flash)
use/browser/plugin/java: use/browser
@$(call add,THE_PACKAGES,mozilla-plugin-java-1.8.0-openjdk)