From: Francois Perrad Date: Wed, 12 Dec 2018 07:14:54 +0000 (+0100) Subject: package/netsurf: add GTK+ 3 frontend X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=436ed9d5475531b8ac49d83a178611e443e59a4d;p=buildroot.git package/netsurf: add GTK+ 3 frontend Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/netsurf/Config.in b/package/netsurf/Config.in index 21a3a992a7..ca28a16688 100644 --- a/package/netsurf/Config.in +++ b/package/netsurf/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_NETSURF help NetSurf is a compact graphical web browser which aims for HTML5, CSS and JavaScript support. - Frontends: GTK+ 2 (X11), SDL 1.2 (framebuffer) + Frontends: GTK (X11), SDL 1.2 (framebuffer) http://www.netsurf-browser.org/ @@ -26,10 +26,16 @@ config BR2_PACKAGE_NETSURF_SDL Select SDL 1.2 frontend. config BR2_PACKAGE_NETSURF_GTK - bool "gtk frontend" + bool "gtk2 frontend" depends on BR2_PACKAGE_LIBGTK2 help - Select GTK frontend. + Select GTK+ 2 frontend. + +config BR2_PACKAGE_NETSURF_GTK3 + bool "gtk3 frontend" + depends on BR2_PACKAGE_LIBGTK3 + help + Select GTK+ 3 frontend. endchoice diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 004d582562..8d29c5acc8 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -15,6 +15,14 @@ NETSURF_DEPENDENCIES = expat jpeg libcurl libpng openssl \ ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk +endif + +ifeq ($(BR2_PACKAGE_NETSURF_GTK3),y) +NETSURF_DEPENDENCIES += libgtk3 +NETSURF_FRONTEND = gtk3 +endif + +ifeq ($(BR2_PACKAGE_NETSURF_GTK)$(BR2_PACKAGE_NETSURF_GTK3),y) ifeq ($(BR2_PACKAGE_LIBRSVG),y) NETSURF_DEPENDENCIES += librsvg define NETSURF_SVG_CONFIGURE_CMDS