2013-06-14 10:47:46 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libqrencode
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-20 23:16:38 +02:00
|
|
|
LIBQRENCODE_VERSION = 4.1.1
|
2013-06-14 10:47:46 +02:00
|
|
|
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
|
|
|
|
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
|
2014-09-15 00:31:02 +02:00
|
|
|
LIBQRENCODE_DEPENDENCIES = host-pkgconf
|
2013-06-14 10:47:46 +02:00
|
|
|
LIBQRENCODE_INSTALL_STAGING = YES
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBQRENCODE_LICENSE = LGPL-2.1+
|
2013-06-14 10:47:46 +02:00
|
|
|
LIBQRENCODE_LICENSE_FILES = COPYING
|
|
|
|
|
2014-09-14 16:14:51 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
|
2014-09-14 16:14:51 +02:00
|
|
|
endif
|
|
|
|
|
2018-05-29 19:22:37 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
|
|
LIBQRENCODE_CONF_OPTS += --with-png
|
|
|
|
LIBQRENCODE_DEPENDENCIES += libpng
|
|
|
|
else
|
|
|
|
LIBQRENCODE_CONF_OPTS += --without-png
|
|
|
|
endif
|
|
|
|
|
2013-06-14 10:47:46 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=yes
|
2013-06-14 10:47:46 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=no
|
2013-06-14 10:47:46 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|