2015-11-13 20:41:37 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gcr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-01-01 21:59:01 +01:00
|
|
|
GCR_VERSION_MAJOR = 3.34
|
|
|
|
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
|
|
|
|
GCR_CONF_ENV = ac_cv_path_GNUPG=/usr/bin/gpg2
|
|
|
|
GCR_CONF_OPTS = \
|
|
|
|
--disable-gtk-doc \
|
|
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
|
|
|
# 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
|
|
|
|
|
2020-04-01 02:21:28 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
|
|
GCR_DEPENDENCIES += gobject-introspection
|
|
|
|
GCR_CONF_OPTS += --with-introspection
|
|
|
|
else
|
|
|
|
GCR_CONF_OPTS += --without-introspection
|
|
|
|
endif
|
|
|
|
|
2015-11-13 20:41:37 +01:00
|
|
|
# Only the X11 backend is supported for the simple GUI
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
|
|
|
GCR_DEPENDENCIES += libgtk3
|
|
|
|
GCR_CONF_OPTS += --with-gtk
|
|
|
|
else
|
|
|
|
GCR_CONF_OPTS += --without-gtk
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|