2015-11-13 20:41:37 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gcr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_VERSION_MAJOR = 3.40
|
2020-01-01 21:59:01 +01:00
|
|
|
GCR_VERSION = $(GCR_VERSION_MAJOR).0
|
2015-11-13 20:41:37 +01:00
|
|
|
GCR_SITE = http://ftp.acc.umu.se/pub/gnome/sources/gcr/$(GCR_VERSION_MAJOR)
|
|
|
|
GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz
|
2020-01-01 21:59:01 +01:00
|
|
|
GCR_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
|
|
|
libgcrypt \
|
|
|
|
libglib2 \
|
|
|
|
p11-kit \
|
|
|
|
$(TARGET_NLS_DEPENDENCIES)
|
2015-11-13 20:41:37 +01:00
|
|
|
GCR_INSTALL_STAGING = YES
|
2022-05-19 06:55:49 +02:00
|
|
|
GCR_CONF_OPTS = -Dgtk_doc=false
|
2015-11-13 20:41:37 +01:00
|
|
|
# Even though COPYING is v2 the code states v2.1+
|
2017-03-30 15:43:34 +02:00
|
|
|
GCR_LICENSE = LGPL-2.1+
|
2015-11-13 20:41:37 +01:00
|
|
|
GCR_LICENSE_FILES = COPYING
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
2015-11-13 20:41:37 +01:00
|
|
|
|
2022-05-19 06:55:49 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUPG2),y)
|
|
|
|
GCR_CONF_OPTS += -Dgpg_path=/usr/bin/gpg2
|
|
|
|
else
|
|
|
|
GCR_CONF_OPTS += -Dgpg_path=/usr/bin/gpg
|
|
|
|
endif
|
|
|
|
|
2020-04-01 02:21:28 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_DEPENDENCIES += gobject-introspection host-libxslt host-vala
|
|
|
|
GCR_CONF_OPTS += -Dintrospection=true
|
2020-04-01 02:21:28 +02:00
|
|
|
else
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_CONF_OPTS += -Dintrospection=false
|
2020-04-01 02:21:28 +02:00
|
|
|
endif
|
|
|
|
|
2015-11-13 20:41:37 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
|
|
|
GCR_DEPENDENCIES += libgtk3
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_CONF_OPTS += -Dgtk=true
|
2021-11-04 01:36:04 +01:00
|
|
|
else ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y)
|
|
|
|
GCR_DEPENDENCIES += libgtk3
|
|
|
|
GCR_CONF_OPTS += -Dgtk=true
|
2015-11-13 20:41:37 +01:00
|
|
|
else
|
2021-07-14 23:31:15 +02:00
|
|
|
GCR_CONF_OPTS += -Dgtk=false
|
2015-11-13 20:41:37 +01:00
|
|
|
endif
|
|
|
|
|
2021-07-14 23:31:15 +02:00
|
|
|
$(eval $(meson-package))
|