Initial Commit
- initial default booting image
This commit is contained in:
20
package/libqrencode/Config.in
Normal file
20
package/libqrencode/Config.in
Normal 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.
|
||||
|
||||
https://fukuchi.org/en/works/qrencode/
|
||||
|
||||
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
|
||||
5
package/libqrencode/libqrencode.hash
Normal file
5
package/libqrencode/libqrencode.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c libqrencode-4.1.1.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
|
||||
34
package/libqrencode/libqrencode.mk
Normal file
34
package/libqrencode/libqrencode.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user