2014-05-23 16:30:18 +04:00
use/browser :
@$( call add_feature)
2017-08-21 21:20:18 +03:00
@$( call add,THE_PACKAGES,$$ ( THE_BROWSER) )
2016-12-05 20:36:03 +03:00
@$( call try,THE_BROWSER,elinks) # X11-less fallback
2014-05-23 16:30:18 +04:00
2020-08-21 21:26:49 +03:00
# 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,$* )
2020-09-06 21:43:43 +03:00
i f n e q ( , $( filter -out x 86_ 64 i 586 aarch 64 mipsel ,$ ( ARCH ) ) )
use/browser/chromium : use /browser /firefox use /browser /firefox /esr ; @:
e n d i f
i f e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
use/browser/falkon : use /browser /firefox use /browser /firefox /esr ; @:
e n d i f
2015-09-08 20:11:45 +03:00
# 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
2019-04-02 19:19:40 +03:00
use/browser/firefox/esr :
2015-09-08 20:11:45 +03:00
@$( call set,FX_FLAVOUR,-esr)
2014-05-23 16:30:18 +04:00
use/browser/firefox/live : use /browser /firefox
@$( call add,THE_BROWSER,livecd-firefox)