package/gcr/gcr.mk: enable gtk backend for wayland

gcr has supported wayland since commit
685e1da9642b7a3fb0dbe1afda482f7bd5b05f33.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adam Duskett 2021-11-03 17:36:04 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2dd2f3751f
commit 6379da58bf

View file

@ -30,10 +30,12 @@ else
GCR_CONF_OPTS += -Dintrospection=false
endif
# Only the X11 backend is supported for the simple GUI
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
GCR_DEPENDENCIES += libgtk3
GCR_CONF_OPTS += -Dgtk=true
else ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y)
GCR_DEPENDENCIES += libgtk3
GCR_CONF_OPTS += -Dgtk=true
else
GCR_CONF_OPTS += -Dgtk=false
endif