</upstream>
<use>
<flag name="bmp">BMP bitmap image support (media-libs/libnsbmp)</flag>
- <flag name="fbcon_frontend_sdl">Use framebuffer frontend sdl</flag>
- <flag name="fbcon_frontend_vnc">Use framebuffer frontend vnc</flag>
- <flag name="fbcon_frontend_x">Use framebuffer frontend X</flag>
+ <flag name="duktape">Use duktape.org javascript engine</flag>
+ <flag name="gtk">Build GTK3 GUI</flag>
+ <flag name="gtk2">Build GTK2 GUI</flag>
<flag name="pdf-writer">PDF output support (media-libs/libharu)</flag>
+ <flag name="psl">Use public suffix list via media-libs/libnspsl</flag>
<flag name="rosprite">RISC OS Sprite bitmap image support (media-libs/librosprite)</flag>
<flag name="svgtiny">SVG image support via media-libs/svgatiny instead of gnome-base/librsvg</flag>
- <flag name="psl">Use public suffix list via media-libs/libnspsl</flag>
- <flag name="gtk">Build GTK3 GUI</flag>
- <flag name="gtk2">Build GTK2 GUI</flag>
- <flag name="duktape">Use duktape.org javascript engine</flag>
</use>
<longdescription lang="en">
NetSurf is a free, open source web browser. It is written in C, has its own layout and rendering engine entirely written from scratch. It is small and capable of handling many of the web standards in use today.
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
IUSE="+bmp +duktape fbcon truetype +gif gtk gtk2 +javascript +jpeg +mng
- pdf-writer +png +psl +rosprite +svg +svgtiny +webp fbcon_frontend_sdl
- fbcon_frontend_vnc fbcon_frontend_x"
+ pdf-writer +png +psl +rosprite +svg +svgtiny +webp"
REQUIRED_USE="|| ( fbcon gtk gtk2 )
- fbcon? ( || ( fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x ) )
duktape? ( javascript )"
RDEPEND="
elog "framebuffer binary has been installed as netsurf-fb"
make_desktop_entry "${EROOT}"/usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
fi
- if use fbcon_frontend_sdl; then
- elog "To be able to use netsurf without X, don't forget to enable the "
- elog "proper USE flags in libsdl (fbcon). Also, make /dev/input/mice "
- elog "readable to the account using netsurf-fb. Either use chmod a+r "
- elog "/dev/input/mice (security!!!) or use a group."
- fi
if use gtk2 ; then
_emake TARGET=gtk DESTDIR="${ED}" install
elog "netsurf gtk2 version has been installed as netsurf-gtk"