The qrencode release archive is no longer distributed at [1]. This url now shows a HTTP/404 not found error. The qrencode homepage [2] states: "You can download the source packages at Releases[3] page at GitHub." This commit updates the package download url to use github. The github archive is not the same as the old release archive: it does not contain the autotools configure script. For this reason, the hash archive is updated and "_AUTORECONF = YES" is also added. This commit also fixes the zbar runtime test [4] which is using libqrencode to generate a qrcode to test zbar. Fixes: [4] [1] http://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz [2] https://fukuchi.org/en/works/qrencode/ [3] https://github.com/fukuchi/libqrencode/releases [4] https://gitlab.com/buildroot.org/buildroot/-/jobs/9774022888 Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
917 B
Makefile
35 lines
917 B
Makefile
################################################################################
|
|
#
|
|
# libqrencode
|
|
#
|
|
################################################################################
|
|
|
|
LIBQRENCODE_VERSION = 4.1.1
|
|
LIBQRENCODE_SITE = $(call github,fukuchi,libqrencode,v$(LIBQRENCODE_VERSION))
|
|
LIBQRENCODE_DEPENDENCIES = host-pkgconf
|
|
LIBQRENCODE_INSTALL_STAGING = YES
|
|
LIBQRENCODE_LICENSE = LGPL-2.1+
|
|
LIBQRENCODE_LICENSE_FILES = COPYING
|
|
LIBQRENCODE_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
|
else
|
|
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
LIBQRENCODE_CONF_OPTS += --with-png
|
|
LIBQRENCODE_DEPENDENCIES += libpng
|
|
else
|
|
LIBQRENCODE_CONF_OPTS += --without-png
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=yes
|
|
else
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|