ec069dcf54
[Thomas: add explicit --with-gtk when gtk is available.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
886 B
Makefile
30 lines
886 B
Makefile
################################################################################
|
|
#
|
|
# gcr
|
|
#
|
|
################################################################################
|
|
|
|
GCR_VERSION_MAJOR = 3.18
|
|
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
|
|
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+
|
|
GCR_LICENSE = LGPLv2.1+
|
|
GCR_LICENSE_FILES = COPYING
|
|
|
|
# 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))
|