kumquat-buildroot/package/gcr/gcr.mk
Adam Duskett 6379da58bf 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>
2021-11-23 00:06:22 +01:00

44 lines
1.1 KiB
Makefile

################################################################################
#
# gcr
#
################################################################################
GCR_VERSION_MAJOR = 3.40
GCR_VERSION = $(GCR_VERSION_MAJOR).0
GCR_SITE = http://ftp.acc.umu.se/pub/gnome/sources/gcr/$(GCR_VERSION_MAJOR)
GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz
GCR_DEPENDENCIES = \
host-pkgconf \
libgcrypt \
libglib2 \
p11-kit \
$(TARGET_NLS_DEPENDENCIES)
GCR_INSTALL_STAGING = YES
GCR_CONF_OPTS = \
-Dgpg_path=/usr/bin/gpg2 \
-Dgtk_doc=false
# Even though COPYING is v2 the code states v2.1+
GCR_LICENSE = LGPL-2.1+
GCR_LICENSE_FILES = COPYING
GCR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GCR_DEPENDENCIES += gobject-introspection host-libxslt host-vala
GCR_CONF_OPTS += -Dintrospection=true
else
GCR_CONF_OPTS += -Dintrospection=false
endif
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
$(eval $(meson-package))