[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,20 @@
config BR2_PACKAGE_LIBQRENCODE
bool "libqrencode"
help
libqrencode is a C library for encoding data in a QR Code
symbol, a kind of 2D symbology that can be scanned by handy
terminals such as a mobile phone with CCD. The capacity of
QR Code is up to 7000 digits or 4000 characters, and is
highly robust.
http://fukuchi.org/works/qrencode/index.html
if BR2_PACKAGE_LIBQRENCODE
config BR2_PACKAGE_LIBQRENCODE_TOOLS
bool "libqrencode tools"
select BR2_PACKAGE_LIBPNG
help
Build command-line tools
endif #BR2_PACKAGE_LIBQRENCODE

View File

@ -0,0 +1,5 @@
# From http://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz.sha
sha512 209bb656ae3f391b03c7b3ceb03e34f7320b0105babf48b619e7a299528b8828449e0e7696f0b5db0d99170a81709d0518e34835229a748701e7df784e58a9ce qrencode-4.1.1.tar.gz
# Hash for license file:
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING

View File

@ -0,0 +1,34 @@
################################################################################
#
# libqrencode
#
################################################################################
LIBQRENCODE_VERSION = 4.1.1
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
LIBQRENCODE_DEPENDENCIES = host-pkgconf
LIBQRENCODE_INSTALL_STAGING = YES
LIBQRENCODE_LICENSE = LGPL-2.1+
LIBQRENCODE_LICENSE_FILES = COPYING
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))