blob: d5e6b9f47cab8a141df591050dc95c718596f837 [file] [log] [blame]
################################################################################
#
# granite
#
################################################################################
GRANITE_VERSION = 6.2.0
GRANITE_SITE = $(call github,elementary,granite,$(GRANITE_VERSION))
GRANITE_DEPENDENCIES = \
host-pkgconf \
host-vala \
libgee \
libglib2 \
libgtk3 \
$(TARGET_NLS_DEPENDENCIES)
GRANITE_INSTALL_STAGING = YES
GRANITE_LICENSE = LGPL-3.0+
GRANITE_LICENSE_FILES = COPYING
GRANITE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GRANITE_CONF_OPTS += -Dintrospection=true
GRANITE_DEPENDENCIES += gobject-introspection
else
GRANITE_CONF_OPTS += -Dintrospection=false
endif
$(eval $(meson-package))