kumquat-buildroot/package/libfribidi/libfribidi.mk
Fabio Porcedda c2eca9eb90 package/libfribidi: add optional dependency on libglib2
Fix the following message when libglib2 is enabled but not already
built:
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
No package 'glib-2.0' found

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 22:02:31 +01:00

25 lines
738 B
Makefile

################################################################################
#
# libfribidi
#
################################################################################
LIBFRIBIDI_VERSION = 0.19.6
LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2
LIBFRIBIDI_SITE = http://www.fribidi.org/download
LIBFRIBIDI_LICENSE = LGPLv2.1+
LIBFRIBIDI_LICENSE_FILES = COPYING
LIBFRIBIDI_INSTALL_STAGING = YES
# Ships a beta libtool version hence our patch doesn't apply.
# Run autoreconf to regenerate ltmain.sh.
LIBFRIBIDI_AUTORECONF = YES
LIBFRIBIDI_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
LIBFRIBIDI_DEPENDENCIES += libglib2
else
LIBFRIBIDI_CONF_OPTS += --with-glib=no
endif
$(eval $(autotools-package))